#898C1D#898C1D
#898C1D is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.8% C 0.126 H 111.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #898C1D |
|---|---|
| RGB | rgb(137, 140, 29) |
| HSL | hsl(62, 66%, 33%) |
| HSV | hsv(62, 79%, 55%) |
| CMYK | cmyk(2.1%, 0%, 79.3%, 45.1%) |
| CIE-LAB | lab(56.25, -14.44, 54.03) |
| CIE-LCH | lch(56.25, 55.93, 104.97°) |
| OKLab | oklab(61.79% -0.0457 0.1178) |
| OKLCH | oklch(61.79% 0.126 111.2) |
| XYZ | xyz(19.9171, 24.1638, 4.7771) |
| Luminance | 0.2416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.28
Olive
#808000
ΔE00 4.44
Baby Poop Green
#8F9805
ΔE00 4.44
Pea Soup
#929901
ΔE00 4.85
Swamp Green
#748500
ΔE00 5.03
Shit Green
#758000
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898C1D #201D8C
analogous
#8C581D #898C1D #518C1D
triadic
#898C1D #1D898C #8C1D89
tetradic
#898C1D #1D8C58 #201D8C #8C1D51
square
#898C1D #1D8C58 #201D8C #8C1D51
split-complementary
#898C1D #1D518C #581D8C
monochromatic
#262708 #575912 #898C1D #BBBF28 #D6D94A
Accessibility & contrast
On white
3.60
#898C1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#898C1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898C1D
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898C1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898C1D | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#938378
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #898c1d; /* rgb */ color: rgb(137, 140, 29); /* oklch */ color: oklch(61.8% 0.126 111.2);
Tailwind
colors: {
custom: {
50: '#afad64',
500: '#898c1d',
950: '#000000',
},
}SCSS
$custom: #898c1d; $custom-light: #afad64; $custom-dark: #000000;
JSON
{
"hex": "#898c1d",
"rgb": {
"r": 137,
"g": 140,
"b": 29
},
"hsl": {
"h": 61.622,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.61791,
"c": 0.12637,
"h": 111.2
},
"luminance": 0.24163
}Semantic roles & 50–950 ramp
primary
#898C1D
secondary
#4C49BC
accent
#3FE944
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A