#898B1A#898B1A
#898B1A 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 | #898B1A |
|---|---|
| RGB | rgb(137, 139, 26) |
| HSL | hsl(61, 68%, 32%) |
| HSV | hsv(61, 81%, 55%) |
| CMYK | cmyk(1.4%, 0%, 81.3%, 45.5%) |
| CIE-LAB | lab(55.95, -14.03, 54.68) |
| CIE-LCH | lch(55.95, 56.45, 104.39°) |
| OKLab | oklab(61.54% -0.0448 0.1186) |
| OKLCH | oklch(61.54% 0.127 110.7) |
| XYZ | xyz(19.7363, 23.8587, 4.5426) |
| Luminance | 0.2386 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.06
Baby Shit Green
#889717
ΔE00 4.65
Baby Poop Green
#8F9805
ΔE00 4.68
Swamp Green
#748500
ΔE00 5.03
Pea Soup
#929901
ΔE00 5.05
Shit Green
#758000
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898B1A #1C1A8B
analogous
#8B551A #898B1A #518B1A
triadic
#898B1A #1A898B #8B1A89
tetradic
#898B1A #1A8B55 #1C1A8B #8B1A51
square
#898B1A #1A8B55 #1C1A8B #8B1A51
split-complementary
#898B1A #1A518B #551A8B
monochromatic
#232407 #565710 #898B1A #BCBF24 #D9DC43
Accessibility & contrast
On white
3.64
#898B1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#898B1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898B1A
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898B1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898B1A | 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)
#978500
Deuteranopia (green-blind)
#988725
Tritanopia (blue-blind)
#938277
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #898b1a; /* rgb */ color: rgb(137, 139, 26); /* oklch */ color: oklch(61.5% 0.127 110.7);
Tailwind
colors: {
custom: {
50: '#afac62',
500: '#898b1a',
950: '#000000',
},
}SCSS
$custom: #898b1a; $custom-light: #afac62; $custom-dark: #000000;
JSON
{
"hex": "#898b1a",
"rgb": {
"r": 137,
"g": 139,
"b": 26
},
"hsl": {
"h": 61.062,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.61542,
"c": 0.12681,
"h": 110.7
},
"luminance": 0.23858
}Semantic roles & 50–950 ramp
primary
#898B1A
secondary
#4644BD
accent
#3CEB40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A