#898D15#898D15
#898D15 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 | #898D15 |
|---|---|
| RGB | rgb(137, 141, 21) |
| HSL | hsl(62, 74%, 32%) |
| HSV | hsv(62, 85%, 55%) |
| CMYK | cmyk(2.8%, 0%, 85.1%, 44.7%) |
| CIE-LAB | lab(56.51, -15.25, 56.53) |
| CIE-LCH | lch(56.51, 58.56, 105.10°) |
| OKLab | oklab(61.99% -0.0485 0.1217) |
| OKLCH | oklch(61.99% 0.131 111.7) |
| XYZ | xyz(19.9775, 24.4228, 4.3710) |
| Luminance | 0.2442 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.85
Baby Shit Green
#889717
ΔE00 3.85
Pea Soup
#929901
ΔE00 4.26
Olive
#808000
ΔE00 4.65
Swamp Green
#748500
ΔE00 5.06
Shit Green
#758000
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898D15 #19158D
analogous
#8D5515 #898D15 #4D8D15
triadic
#898D15 #15898D #8D1589
tetradic
#898D15 #158D55 #19158D #8D154D
square
#898D15 #158D55 #19158D #8D154D
split-complementary
#898D15 #154D8D #55158D
monochromatic
#212205 #55580D #898D15 #BDC21D #DCE23B
Accessibility & contrast
On white
3.57
#898D15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#898D15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898D15
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898D15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898D15 | 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)
#998922
Tritanopia (blue-blind)
#938478
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #898d15; /* rgb */ color: rgb(137, 141, 21); /* oklch */ color: oklch(62.0% 0.131 111.7);
Tailwind
colors: {
custom: {
50: '#afae61',
500: '#898d15',
950: '#000000',
},
}SCSS
$custom: #898d15; $custom-light: #afae61; $custom-dark: #000000;
JSON
{
"hex": "#898d15",
"rgb": {
"r": 137,
"g": 141,
"b": 21
},
"hsl": {
"h": 62,
"s": 74.074,
"l": 31.765
},
"oklch": {
"l": 0.61986,
"c": 0.13104,
"h": 111.7
},
"luminance": 0.24422
}Semantic roles & 50–950 ramp
primary
#898D15
secondary
#413DC1
accent
#37F13D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A