#989F21#989F21
#989F21 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.5% C 0.140 H 112.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #989F21 |
|---|---|
| RGB | rgb(152, 159, 33) |
| HSL | hsl(63, 66%, 38%) |
| HSV | hsv(63, 79%, 62%) |
| CMYK | cmyk(4.4%, 0%, 79.2%, 37.6%) |
| CIE-LAB | lab(63.00, -17.50, 59.32) |
| CIE-LCH | lch(63.00, 61.85, 106.44°) |
| OKLab | oklab(67.5% -0.0546 0.1293) |
| OKLCH | oklch(67.5% 0.14 112.9) |
| XYZ | xyz(25.6224, 31.5821, 6.1848) |
| Luminance | 0.3158 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.32
Baby Poop Green
#8F9805
ΔE00 2.60
Vomit
#A2A415
ΔE00 2.70
Pea Soup Green
#94A617
ΔE00 2.99
Baby Shit Green
#889717
ΔE00 3.67
Puke
#A5A502
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989F21 #28219F
analogous
#9F6721 #989F21 #599F21
triadic
#989F21 #21989F #9F2198
tetradic
#989F21 #219F67 #28219F #9F2159
square
#989F21 #219F67 #28219F #9F2159
split-complementary
#989F21 #21599F #67219F
monochromatic
#373A0C #686C16 #989F21 #C8D22C #D6DD5D
Accessibility & contrast
On white
2.87
#989F21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#989F21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989F21
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989F21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989F21 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#A39588
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #989f21; /* rgb */ color: rgb(152, 159, 33); /* oklch */ color: oklch(67.5% 0.140 112.9);
Tailwind
colors: {
custom: {
50: '#babb68',
500: '#989f21',
950: '#000000',
},
}SCSS
$custom: #989f21; $custom-light: #babb68; $custom-dark: #000000;
JSON
{
"hex": "#989f21",
"rgb": {
"r": 152,
"g": 159,
"b": 33
},
"hsl": {
"h": 63.333,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.67501,
"c": 0.14032,
"h": 112.9
},
"luminance": 0.31581
}Semantic roles & 50–950 ramp
primary
#989F21
secondary
#605AC2
accent
#3FE949
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A