#989E18#989E18
#989E18 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.2% C 0.143 H 112.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #989E18 |
|---|---|
| RGB | rgb(152, 158, 24) |
| HSL | hsl(63, 74%, 36%) |
| HSV | hsv(63, 85%, 62%) |
| CMYK | cmyk(3.8%, 0%, 84.8%, 38%) |
| CIE-LAB | lab(62.67, -17.29, 61.49) |
| CIE-LCH | lch(62.67, 63.87, 105.71°) |
| OKLab | oklab(67.23% -0.0547 0.1323) |
| OKLCH | oklch(67.23% 0.143 112.5) |
| XYZ | xyz(25.3415, 31.1957, 5.5504) |
| Luminance | 0.3120 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.80
Baby Poop Green
#8F9805
ΔE00 2.26
Vomit
#A2A415
ΔE00 2.48
Pea Soup Green
#94A617
ΔE00 3.31
Puke
#A5A502
ΔE00 3.43
Baby Shit Green
#889717
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989E18 #1E189E
analogous
#9E6118 #989E18 #559E18
triadic
#989E18 #18989E #9E1898
tetradic
#989E18 #189E61 #1E189E #9E1855
square
#989E18 #189E61 #1E189E #9E1855
split-complementary
#989E18 #18559E #61189E
monochromatic
#323408 #656910 #989E18 #CBD320 #DDE44D
Accessibility & contrast
On white
2.90
#989E18 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#989E18 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989E18
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989E18 | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AB9926
Tritanopia (blue-blind)
#A39487
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #989e18; /* rgb */ color: rgb(152, 158, 24); /* oklch */ color: oklch(67.2% 0.143 112.5);
Tailwind
colors: {
custom: {
50: '#baba65',
500: '#989e18',
950: '#000000',
},
}SCSS
$custom: #989e18; $custom-light: #baba65; $custom-dark: #000000;
JSON
{
"hex": "#989e18",
"rgb": {
"r": 152,
"g": 158,
"b": 24
},
"hsl": {
"h": 62.687,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.6723,
"c": 0.14316,
"h": 112.5
},
"luminance": 0.31195
}Semantic roles & 50–950 ramp
primary
#989E18
secondary
#514CC6
accent
#38F040
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A