#898B19#898B19
#898B19 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.127 H 110.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #898B19 |
|---|---|
| RGB | rgb(137, 139, 25) |
| HSL | hsl(61, 70%, 32%) |
| HSV | hsv(61, 82%, 55%) |
| CMYK | cmyk(1.4%, 0%, 82%, 45.5%) |
| CIE-LAB | lab(55.94, -14.07, 54.97) |
| CIE-LCH | lch(55.94, 56.74, 104.35°) |
| OKLab | oklab(61.54% -0.045 0.1191) |
| OKLCH | oklch(61.54% 0.127 110.7) |
| XYZ | xyz(19.7253, 23.8544, 4.4848) |
| Luminance | 0.2385 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.04
Baby Shit Green
#889717
ΔE00 4.64
Baby Poop Green
#8F9805
ΔE00 4.65
Pea Soup
#929901
ΔE00 5.02
Swamp Green
#748500
ΔE00 5.03
Shit Green
#758000
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898B19 #1B198B
analogous
#8B5419 #898B19 #508B19
triadic
#898B19 #19898B #8B1989
tetradic
#898B19 #198B54 #1B198B #8B1950
square
#898B19 #198B54 #1B198B #8B1950
split-complementary
#898B19 #19508B #54198B
monochromatic
#232306 #565710 #898B19 #BCBF22 #DADD41
Accessibility & contrast
On white
3.64
#898B19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#898B19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898B19
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898B19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898B19 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#988724
Tritanopia (blue-blind)
#938276
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #898b19; /* rgb */ color: rgb(137, 139, 25); /* oklch */ color: oklch(61.5% 0.127 110.7);
Tailwind
colors: {
custom: {
50: '#afac62',
500: '#898b19',
950: '#000000',
},
}SCSS
$custom: #898b19; $custom-light: #afac62; $custom-dark: #000000;
JSON
{
"hex": "#898b19",
"rgb": {
"r": 137,
"g": 139,
"b": 25
},
"hsl": {
"h": 61.053,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.61537,
"c": 0.12728,
"h": 110.7
},
"luminance": 0.23854
}Semantic roles & 50–950 ramp
primary
#898B19
secondary
#4442BE
accent
#3BEC3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A