#898C15#898C15
#898C15 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.130 H 111.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #898C15 |
|---|---|
| RGB | rgb(137, 140, 21) |
| HSL | hsl(62, 74%, 32%) |
| HSV | hsv(62, 85%, 55%) |
| CMYK | cmyk(2.1%, 0%, 85%, 45.1%) |
| CIE-LAB | lab(56.22, -14.73, 56.29) |
| CIE-LCH | lch(56.22, 58.18, 104.66°) |
| OKLab | oklab(61.75% -0.0471 0.1212) |
| OKLCH | oklch(61.75% 0.13 111.2) |
| XYZ | xyz(19.8307, 24.1292, 4.3221) |
| Luminance | 0.2413 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.20
Baby Shit Green
#889717
ΔE00 4.24
Olive
#808000
ΔE00 4.32
Pea Soup
#929901
ΔE00 4.58
Swamp Green
#748500
ΔE00 5.04
Shit Green
#758000
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898C15 #18158C
analogous
#8C5415 #898C15 #4E8C15
triadic
#898C15 #15898C #8C1589
tetradic
#898C15 #158C54 #18158C #8C154E
square
#898C15 #158C54 #18158C #8C154E
split-complementary
#898C15 #154E8C #54158C
monochromatic
#212205 #55570D #898C15 #BDC11D #DDE13A
Accessibility & contrast
On white
3.60
#898C15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#898C15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898C15
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898C15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898C15 | 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)
#988500
Deuteranopia (green-blind)
#988821
Tritanopia (blue-blind)
#938377
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #898c15; /* rgb */ color: rgb(137, 140, 21); /* oklch */ color: oklch(61.8% 0.130 111.2);
Tailwind
colors: {
custom: {
50: '#afad60',
500: '#898c15',
950: '#000000',
},
}SCSS
$custom: #898c15; $custom-light: #afad60; $custom-dark: #000000;
JSON
{
"hex": "#898c15",
"rgb": {
"r": 137,
"g": 140,
"b": 21
},
"hsl": {
"h": 61.513,
"s": 73.913,
"l": 31.569
},
"oklch": {
"l": 0.61752,
"c": 0.13,
"h": 111.2
},
"luminance": 0.24129
}Semantic roles & 50–950 ramp
primary
#898C15
secondary
#403DC0
accent
#37F13C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A