#898420#898420
#898420 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.117 H 106.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #898420 |
|---|---|
| RGB | rgb(137, 132, 32) |
| HSL | hsl(57, 62%, 33%) |
| HSV | hsv(57, 77%, 54%) |
| CMYK | cmyk(0%, 3.6%, 76.6%, 46.3%) |
| CIE-LAB | lab(53.95, -10.03, 50.91) |
| CIE-LCH | lch(53.95, 51.89, 101.14°) |
| OKLab | oklab(59.96% -0.0331 0.1118) |
| OKLCH | oklch(59.96% 0.117 106.5) |
| XYZ | xyz(18.8293, 21.9259, 4.6065) |
| Luminance | 0.2193 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.89
Shit Green
#758000
ΔE00 5.29
Swamp Green
#748500
ΔE00 6.09
Baby Poop
#937C00
ΔE00 6.17
Drab
#828344
ΔE00 6.27
Poop Green
#6F7C00
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898420 #202589
analogous
#894F20 #898420 #598920
triadic
#898420 #208984 #842089
tetradic
#898420 #20894F #202589 #892059
square
#898420 #20894F #202589 #892059
split-complementary
#898420 #205989 #4F2089
monochromatic
#262409 #575414 #898420 #BBB42C #D6CF4E
Accessibility & contrast
On white
3.90
#898420 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#898420 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898420
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898420 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898420 | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F0A
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#937B71
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #898420; /* rgb */ color: rgb(137, 132, 32); /* oklch */ color: oklch(60.0% 0.117 106.5);
Tailwind
colors: {
custom: {
50: '#afa764',
500: '#898420',
950: '#000000',
},
}SCSS
$custom: #898420; $custom-light: #afa764; $custom-dark: #000000;
JSON
{
"hex": "#898420",
"rgb": {
"r": 137,
"g": 132,
"b": 32
},
"hsl": {
"h": 57.143,
"s": 62.13,
"l": 33.137
},
"oklch": {
"l": 0.59957,
"c": 0.11656,
"h": 106.5
},
"luminance": 0.21925
}Semantic roles & 50–950 ramp
primary
#898420
secondary
#4C51B9
accent
#4AE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A