#898D14#898D14
#898D14 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 62.0% C 0.131 H 111.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #898D14 |
|---|---|
| RGB | rgb(137, 141, 20) |
| HSL | hsl(62, 75%, 32%) |
| HSV | hsv(62, 86%, 55%) |
| CMYK | cmyk(2.8%, 0%, 85.8%, 44.7%) |
| CIE-LAB | lab(56.51, -15.28, 56.78) |
| CIE-LCH | lch(56.51, 58.80, 105.07°) |
| OKLab | oklab(61.98% -0.0487 0.1221) |
| OKLCH | oklch(61.98% 0.131 111.7) |
| XYZ | xyz(19.9684, 24.4192, 4.3232) |
| Luminance | 0.2442 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.83
Baby Shit Green
#889717
ΔE00 3.86
Pea Soup
#929901
ΔE00 4.24
Olive
#808000
ΔE00 4.65
Swamp Green
#748500
ΔE00 5.07
Shit Green
#758000
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898D14 #18148D
analogous
#8D5514 #898D14 #4D8D14
triadic
#898D14 #14898D #8D1489
tetradic
#898D14 #148D55 #18148D #8D144D
square
#898D14 #148D55 #18148D #8D144D
split-complementary
#898D14 #144D8D #55148D
monochromatic
#212205 #55570C #898D14 #BDC31C #DDE339
Accessibility & contrast
On white
3.57
#898D14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#898D14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898D14
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898D14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898D14 | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#998921
Tritanopia (blue-blind)
#938478
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #898d14; /* rgb */ color: rgb(137, 141, 20); /* oklch */ color: oklch(62.0% 0.131 111.7);
Tailwind
colors: {
custom: {
50: '#afae60',
500: '#898d14',
950: '#000000',
},
}SCSS
$custom: #898d14; $custom-light: #afae60; $custom-dark: #000000;
JSON
{
"hex": "#898d14",
"rgb": {
"r": 137,
"g": 141,
"b": 20
},
"hsl": {
"h": 61.983,
"s": 75.155,
"l": 31.569
},
"oklch": {
"l": 0.61982,
"c": 0.13142,
"h": 111.7
},
"luminance": 0.24419
}Semantic roles & 50–950 ramp
primary
#898D14
secondary
#403CC1
accent
#36F23C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A