#898416#898416
#898416 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.9% C 0.122 H 106.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #898416 |
|---|---|
| RGB | rgb(137, 132, 22) |
| HSL | hsl(57, 72%, 31%) |
| HSV | hsv(57, 84%, 54%) |
| CMYK | cmyk(0%, 3.6%, 83.9%, 46.3%) |
| CIE-LAB | lab(53.90, -10.41, 54.05) |
| CIE-LCH | lch(53.90, 55.04, 100.90°) |
| OKLab | oklab(59.9% -0.035 0.1165) |
| OKLCH | oklch(59.9% 0.122 106.7) |
| XYZ | xyz(18.7134, 21.8795, 3.9963) |
| Luminance | 0.2188 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.47
Shit Green
#758000
ΔE00 5.18
Baby Poop
#937C00
ΔE00 5.93
Swamp Green
#748500
ΔE00 6.00
Poop Green
#6F7C00
ΔE00 6.67
Drab
#828344
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898416 #161B89
analogous
#894A16 #898416 #548916
triadic
#898416 #168984 #841689
tetradic
#898416 #16894A #161B89 #891654
square
#898416 #16894A #161B89 #891654
split-complementary
#898416 #165489 #4A1689
monochromatic
#201E05 #54510E #898416 #BEB71E #DFD83A
Accessibility & contrast
On white
3.91
#898416 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#898416 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898416
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898416 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898416 | 1.00 | 3.91 | 5.38 | 5.38 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#928320
Tritanopia (blue-blind)
#947B70
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #898416; /* rgb */ color: rgb(137, 132, 22); /* oklch */ color: oklch(59.9% 0.122 106.7);
Tailwind
colors: {
custom: {
50: '#afa760',
500: '#898416',
950: '#000000',
},
}SCSS
$custom: #898416; $custom-light: #afa760; $custom-dark: #000000;
JSON
{
"hex": "#898416",
"rgb": {
"r": 137,
"g": 132,
"b": 22
},
"hsl": {
"h": 57.391,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.59902,
"c": 0.12166,
"h": 106.7
},
"luminance": 0.21879
}Semantic roles & 50–950 ramp
primary
#898416
secondary
#3E43BD
accent
#41EF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79