#989C21#989C21
#989C21 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.8% C 0.137 H 111.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #989C21 |
|---|---|
| RGB | rgb(152, 156, 33) |
| HSL | hsl(62, 65%, 37%) |
| HSV | hsv(62, 79%, 61%) |
| CMYK | cmyk(2.6%, 0%, 78.8%, 38.8%) |
| CIE-LAB | lab(62.14, -15.96, 58.55) |
| CIE-LCH | lch(62.14, 60.68, 105.24°) |
| OKLab | oklab(66.81% -0.0503 0.1276) |
| OKLCH | oklch(66.81% 0.137 111.5) |
| XYZ | xyz(25.1128, 30.5628, 6.0149) |
| Luminance | 0.3056 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.91
Baby Poop Green
#8F9805
ΔE00 2.24
Vomit
#A2A415
ΔE00 3.08
Baby Shit Green
#889717
ΔE00 3.59
Pea Soup Green
#94A617
ΔE00 4.04
Puke
#A5A502
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989C21 #25219C
analogous
#9C6221 #989C21 #5B9C21
triadic
#989C21 #21989C #9C2198
tetradic
#989C21 #219C62 #25219C #9C215B
square
#989C21 #219C62 #25219C #9C215B
split-complementary
#989C21 #215B9C #62219C
monochromatic
#36370C #676916 #989C21 #C9CF2C #D8DC5B
Accessibility & contrast
On white
2.95
#989C21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#989C21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989C21
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989C21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989C21 | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A9982C
Tritanopia (blue-blind)
#A39285
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #989c21; /* rgb */ color: rgb(152, 156, 33); /* oklch */ color: oklch(66.8% 0.137 111.5);
Tailwind
colors: {
custom: {
50: '#bab968',
500: '#989c21',
950: '#000000',
},
}SCSS
$custom: #989c21; $custom-light: #bab968; $custom-dark: #000000;
JSON
{
"hex": "#989c21",
"rgb": {
"r": 152,
"g": 156,
"b": 33
},
"hsl": {
"h": 61.951,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.66813,
"c": 0.13718,
"h": 111.5
},
"luminance": 0.30562
}Semantic roles & 50–950 ramp
primary
#989C21
secondary
#5C58C1
accent
#40E845
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A