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