Color codes
- HEX
- #008000
- RGB
- rgb(0, 128, 0)
- HSL
- hsl(120 100% 25%)
- CMYK
- cmyk(100% 0% 100% 50%)
- OKLCH
- oklch(52% 0.177 142)
CSS named color
rgb(0, 128, 0)
5.14:1 on white
AA normal · AAA large text
4.09:1 on black
AA for large text only
green is written as #008000 in hex, rgb(0, 128, 0) in RGB and hsl(120 100% 25%) in HSL. Its lightness sits at 25%, which is why it reads aa normal · aaa large text against white.
Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.