#898E1A#898E1A
#898E1A is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.2% C 0.130 H 112.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #898E1A |
|---|---|
| RGB | rgb(137, 142, 26) |
| HSL | hsl(63, 69%, 33%) |
| HSV | hsv(63, 82%, 56%) |
| CMYK | cmyk(3.5%, 0%, 81.7%, 44.3%) |
| CIE-LAB | lab(56.82, -15.61, 55.45) |
| CIE-LCH | lch(56.82, 57.60, 105.73°) |
| OKLab | oklab(62.24% -0.0492 0.1203) |
| OKLCH | oklch(62.24% 0.13 112.2) |
| XYZ | xyz(20.1767, 24.7395, 4.6894) |
| Luminance | 0.2474 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.47
Baby Poop Green
#8F9805
ΔE00 3.67
Pea Soup
#929901
ΔE00 4.13
Olive
#808000
ΔE00 5.04
Swamp Green
#748500
ΔE00 5.10
Ugly Green
#7A9703
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898E1A #1F1A8E
analogous
#8E591A #898E1A #4F8E1A
triadic
#898E1A #1A898E #8E1A89
tetradic
#898E1A #1A8E59 #1F1A8E #8E1A4F
square
#898E1A #1A8E59 #1F1A8E #8E1A4F
split-complementary
#898E1A #1A4F8E #591A8E
monochromatic
#252707 #575A11 #898E1A #BBC223 #D6DD45
Accessibility & contrast
On white
3.53
#898E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#898E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898E1A
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898E1A | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9A8A25
Tritanopia (blue-blind)
#938579
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #898e1a; /* rgb */ color: rgb(137, 142, 26); /* oklch */ color: oklch(62.2% 0.130 112.2);
Tailwind
colors: {
custom: {
50: '#afae63',
500: '#898e1a',
950: '#000000',
},
}SCSS
$custom: #898e1a; $custom-light: #afae63; $custom-dark: #000000;
JSON
{
"hex": "#898e1a",
"rgb": {
"r": 137,
"g": 142,
"b": 26
},
"hsl": {
"h": 62.586,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.62242,
"c": 0.12995,
"h": 112.2
},
"luminance": 0.24739
}Semantic roles & 50–950 ramp
primary
#898E1A
secondary
#4B45BE
accent
#3CEC44
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A