#989E17#989E17
#989E17 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.2% C 0.144 H 112.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #989E17 |
|---|---|
| RGB | rgb(152, 158, 23) |
| HSL | hsl(63, 75%, 35%) |
| HSV | hsv(63, 85%, 62%) |
| CMYK | cmyk(3.8%, 0%, 85.4%, 38%) |
| CIE-LAB | lab(62.67, -17.32, 61.72) |
| CIE-LCH | lch(62.67, 64.10, 105.68°) |
| OKLab | oklab(67.23% -0.0548 0.1326) |
| OKLCH | oklch(67.23% 0.144 112.5) |
| XYZ | xyz(25.3313, 31.1916, 5.4966) |
| Luminance | 0.3119 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.78
Baby Poop Green
#8F9805
ΔE00 2.25
Vomit
#A2A415
ΔE00 2.46
Pea Soup Green
#94A617
ΔE00 3.32
Puke
#A5A502
ΔE00 3.40
Baby Shit Green
#889717
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989E17 #1D179E
analogous
#9E6117 #989E17 #549E17
triadic
#989E17 #17989E #9E1798
tetradic
#989E17 #179E61 #1D179E #9E1754
square
#989E17 #179E61 #1D179E #9E1754
split-complementary
#989E17 #17549E #61179E
monochromatic
#313307 #65690F #989E17 #CBD31F #DEE54B
Accessibility & contrast
On white
2.90
#989E17 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#989E17 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989E17
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989E17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989E17 | 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: #989e17; /* rgb */ color: rgb(152, 158, 23); /* oklch */ color: oklch(67.2% 0.144 112.5);
Tailwind
colors: {
custom: {
50: '#baba64',
500: '#989e17',
950: '#000000',
},
}SCSS
$custom: #989e17; $custom-light: #baba64; $custom-dark: #000000;
JSON
{
"hex": "#989e17",
"rgb": {
"r": 152,
"g": 158,
"b": 23
},
"hsl": {
"h": 62.667,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.67226,
"c": 0.14353,
"h": 112.5
},
"luminance": 0.31191
}Semantic roles & 50–950 ramp
primary
#989E17
secondary
#504AC6
accent
#37F13F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A