#989F16#989F16
#989F16 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.5% C 0.145 H 112.9°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #989F16 |
|---|---|
| RGB | rgb(152, 159, 22) |
| HSL | hsl(63, 76%, 35%) |
| HSV | hsv(63, 86%, 62%) |
| CMYK | cmyk(4.4%, 0%, 86.2%, 37.6%) |
| CIE-LAB | lab(62.95, -17.86, 62.19) |
| CIE-LCH | lch(62.95, 64.70, 106.03°) |
| OKLab | oklab(67.45% -0.0564 0.1335) |
| OKLCH | oklch(67.45% 0.145 112.9) |
| XYZ | xyz(25.4927, 31.5302, 5.5019) |
| Luminance | 0.3153 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.99
Vomit
#A2A415
ΔE00 2.34
Baby Poop Green
#8F9805
ΔE00 2.43
Pea Soup Green
#94A617
ΔE00 2.98
Puke
#A5A502
ΔE00 3.30
Baby Shit Green
#889717
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989F16 #1D169F
analogous
#9F6216 #989F16 #539F16
triadic
#989F16 #16989F #9F1698
tetradic
#989F16 #169F62 #1D169F #9F1653
square
#989F16 #169F62 #1D169F #9F1653
split-complementary
#989F16 #16539F #62169F
monochromatic
#313307 #65690F #989F16 #CBD51D #DEE64A
Accessibility & contrast
On white
2.87
#989F16 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#989F16 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989F16
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989F16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989F16 | 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)
#AC9A26
Tritanopia (blue-blind)
#A39587
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #989f16; /* rgb */ color: rgb(152, 159, 22); /* oklch */ color: oklch(67.5% 0.145 112.9);
Tailwind
colors: {
custom: {
50: '#babb64',
500: '#989f16',
950: '#000000',
},
}SCSS
$custom: #989f16; $custom-light: #babb64; $custom-dark: #000000;
JSON
{
"hex": "#989f16",
"rgb": {
"r": 152,
"g": 159,
"b": 22
},
"hsl": {
"h": 63.066,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.67452,
"c": 0.14491,
"h": 112.9
},
"luminance": 0.3153
}Semantic roles & 50–950 ramp
primary
#989F16
secondary
#504AC7
accent
#36F23F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A