#898F18#898F18
#898F18 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.132 H 112.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #898F18 |
|---|---|
| RGB | rgb(137, 143, 24) |
| HSL | hsl(63, 71%, 33%) |
| HSV | hsv(63, 83%, 56%) |
| CMYK | cmyk(4.2%, 0%, 83.2%, 43.9%) |
| CIE-LAB | lab(57.10, -16.21, 56.26) |
| CIE-LCH | lch(57.10, 58.54, 106.07°) |
| OKLab | oklab(62.47% -0.051 0.1217) |
| OKLCH | oklch(62.47% 0.132 112.7) |
| XYZ | xyz(20.3046, 25.0297, 4.6256) |
| Luminance | 0.2503 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.08
Baby Poop Green
#8F9805
ΔE00 3.29
Pea Soup
#929901
ΔE00 3.78
Swamp Green
#748500
ΔE00 5.19
Olive
#808000
ΔE00 5.36
Ugly Green
#7A9703
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898F18 #1E188F
analogous
#8F5918 #898F18 #4E8F18
triadic
#898F18 #18898F #8F1889
tetradic
#898F18 #188F59 #1E188F #8F184E
square
#898F18 #188F59 #1E188F #8F184E
split-complementary
#898F18 #184E8F #59188F
monochromatic
#252606 #575B0F #898F18 #BBC321 #D7DF42
Accessibility & contrast
On white
3.50
#898F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#898F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898F18
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898F18 | 1.00 | 3.50 | 6.01 | 6.01 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9B8A24
Tritanopia (blue-blind)
#93867A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #898f18; /* rgb */ color: rgb(137, 143, 24); /* oklch */ color: oklch(62.5% 0.132 112.7);
Tailwind
colors: {
custom: {
50: '#afaf62',
500: '#898f18',
950: '#000000',
},
}SCSS
$custom: #898f18; $custom-light: #afaf62; $custom-dark: #000000;
JSON
{
"hex": "#898f18",
"rgb": {
"r": 137,
"g": 143,
"b": 24
},
"hsl": {
"h": 63.025,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.62467,
"c": 0.1319,
"h": 112.7
},
"luminance": 0.25029
}Semantic roles & 50–950 ramp
primary
#898F18
secondary
#4943C0
accent
#3AEE43
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A