#898B20#898B20
#898B20 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.124 H 110.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #898B20 |
|---|---|
| RGB | rgb(137, 139, 32) |
| HSL | hsl(61, 63%, 34%) |
| HSV | hsv(61, 77%, 55%) |
| CMYK | cmyk(1.4%, 0%, 77%, 45.5%) |
| CIE-LAB | lab(55.98, -13.79, 52.80) |
| CIE-LCH | lch(55.98, 54.57, 104.64°) |
| OKLab | oklab(61.58% -0.0436 0.1158) |
| OKLCH | oklch(61.58% 0.124 110.6) |
| XYZ | xyz(19.8106, 23.8884, 4.9336) |
| Luminance | 0.2389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.22
Baby Shit Green
#889717
ΔE00 4.72
Baby Poop Green
#8F9805
ΔE00 4.91
Swamp Green
#748500
ΔE00 5.07
Pea Soup
#929901
ΔE00 5.30
Shit Green
#758000
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898B20 #22208B
analogous
#8B5720 #898B20 #538B20
triadic
#898B20 #20898B #8B2089
tetradic
#898B20 #208B57 #22208B #8B2053
square
#898B20 #208B57 #22208B #8B2053
split-complementary
#898B20 #20538B #57208B
monochromatic
#272809 #585915 #898B20 #BABD2B #D4D64F
Accessibility & contrast
On white
3.63
#898B20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#898B20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898B20
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898B20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898B20 | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968506
Deuteranopia (green-blind)
#978829
Tritanopia (blue-blind)
#938277
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #898b20; /* rgb */ color: rgb(137, 139, 32); /* oklch */ color: oklch(61.6% 0.124 110.6);
Tailwind
colors: {
custom: {
50: '#afac65',
500: '#898b20',
950: '#000000',
},
}SCSS
$custom: #898b20; $custom-light: #afac65; $custom-dark: #000000;
JSON
{
"hex": "#898b20",
"rgb": {
"r": 137,
"g": 139,
"b": 32
},
"hsl": {
"h": 61.121,
"s": 62.573,
"l": 33.529
},
"oklch": {
"l": 0.61575,
"c": 0.1237,
"h": 110.6
},
"luminance": 0.23888
}Semantic roles & 50–950 ramp
primary
#898B20
secondary
#4F4DBA
accent
#42E645
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A