#989F18#989F18
#989F18 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.5% C 0.144 H 112.9°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #989F18 |
|---|---|
| RGB | rgb(152, 159, 24) |
| HSL | hsl(63, 74%, 36%) |
| HSV | hsv(63, 85%, 62%) |
| CMYK | cmyk(4.4%, 0%, 84.9%, 37.6%) |
| CIE-LAB | lab(62.96, -17.81, 61.73) |
| CIE-LCH | lch(62.96, 64.24, 106.09°) |
| OKLab | oklab(67.46% -0.0561 0.1328) |
| OKLCH | oklch(67.46% 0.144 112.9) |
| XYZ | xyz(25.5128, 31.5382, 5.6075) |
| Luminance | 0.3154 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.02
Vomit
#A2A415
ΔE00 2.38
Baby Poop Green
#8F9805
ΔE00 2.44
Pea Soup Green
#94A617
ΔE00 2.97
Puke
#A5A502
ΔE00 3.37
Baby Shit Green
#889717
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989F18 #1F189F
analogous
#9F6218 #989F18 #549F18
triadic
#989F18 #18989F #9F1898
tetradic
#989F18 #189F62 #1F189F #9F1854
square
#989F18 #189F62 #1F189F #9F1854
split-complementary
#989F18 #18549F #62189F
monochromatic
#323508 #656A10 #989F18 #CBD420 #DCE44D
Accessibility & contrast
On white
2.87
#989F18 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#989F18 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989F18
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989F18 | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AC9A27
Tritanopia (blue-blind)
#A39587
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #989f18; /* rgb */ color: rgb(152, 159, 24); /* oklch */ color: oklch(67.5% 0.144 112.9);
Tailwind
colors: {
custom: {
50: '#babb65',
500: '#989f18',
950: '#000000',
},
}SCSS
$custom: #989f18; $custom-light: #babb65; $custom-dark: #000000;
JSON
{
"hex": "#989f18",
"rgb": {
"r": 152,
"g": 159,
"b": 24
},
"hsl": {
"h": 63.111,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.6746,
"c": 0.14419,
"h": 112.9
},
"luminance": 0.31538
}Semantic roles & 50–950 ramp
primary
#989F18
secondary
#534DC6
accent
#37F041
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A