#898C18#898C18
#898C18 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.129 H 111.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #898C18 |
|---|---|
| RGB | rgb(137, 140, 24) |
| HSL | hsl(62, 71%, 32%) |
| HSV | hsv(62, 83%, 55%) |
| CMYK | cmyk(2.1%, 0%, 82.9%, 45.1%) |
| CIE-LAB | lab(56.23, -14.63, 55.50) |
| CIE-LCH | lch(56.23, 57.40, 104.77°) |
| OKLab | oklab(61.77% -0.0466 0.12) |
| OKLCH | oklch(61.77% 0.129 111.2) |
| XYZ | xyz(19.8602, 24.1410, 4.4775) |
| Luminance | 0.2414 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.24
Baby Poop Green
#8F9805
ΔE00 4.27
Olive
#808000
ΔE00 4.35
Pea Soup
#929901
ΔE00 4.66
Swamp Green
#748500
ΔE00 5.02
Shit Green
#758000
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898C18 #1B188C
analogous
#8C5518 #898C18 #4F8C18
triadic
#898C18 #18898C #8C1889
tetradic
#898C18 #188C55 #1B188C #8C184F
square
#898C18 #188C55 #1B188C #8C184F
split-complementary
#898C18 #184F8C #55188C
monochromatic
#232406 #56580F #898C18 #BCC021 #DADE40
Accessibility & contrast
On white
3.60
#898C18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#898C18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898C18
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898C18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898C18 | 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)
#988823
Tritanopia (blue-blind)
#938377
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #898c18; /* rgb */ color: rgb(137, 140, 24); /* oklch */ color: oklch(61.8% 0.129 111.2);
Tailwind
colors: {
custom: {
50: '#afad62',
500: '#898c18',
950: '#000000',
},
}SCSS
$custom: #898c18; $custom-light: #afad62; $custom-dark: #000000;
JSON
{
"hex": "#898c18",
"rgb": {
"r": 137,
"g": 140,
"b": 24
},
"hsl": {
"h": 61.552,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.61765,
"c": 0.12876,
"h": 111.2
},
"luminance": 0.2414
}Semantic roles & 50–950 ramp
primary
#898C18
secondary
#4441BF
accent
#3AED3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A