#989B21#989B21
#989B21 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.6% C 0.136 H 111.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #989B21 |
|---|---|
| RGB | rgb(152, 155, 33) |
| HSL | hsl(61, 65%, 37%) |
| HSV | hsv(61, 79%, 61%) |
| CMYK | cmyk(1.9%, 0%, 78.7%, 39.2%) |
| CIE-LAB | lab(61.85, -15.44, 58.29) |
| CIE-LCH | lch(61.85, 60.30, 104.83°) |
| OKLab | oklab(66.58% -0.0489 0.1271) |
| OKLCH | oklch(66.58% 0.136 111) |
| XYZ | xyz(24.9456, 30.2286, 5.9592) |
| Luminance | 0.3023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.89
Baby Poop Green
#8F9805
ΔE00 2.24
Vomit
#A2A415
ΔE00 3.28
Baby Shit Green
#889717
ΔE00 3.63
Puke
#A5A502
ΔE00 4.19
Pea Soup Green
#94A617
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989B21 #24219B
analogous
#9B6121 #989B21 #5B9B21
triadic
#989B21 #21989B #9B2198
tetradic
#989B21 #219B61 #24219B #9B215B
square
#989B21 #219B61 #24219B #9B215B
split-complementary
#989B21 #215B9B #61219B
monochromatic
#35360C #676916 #989B21 #C9CD2C #D9DC5A
Accessibility & contrast
On white
2.98
#989B21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#989B21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989B21
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989B21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989B21 | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A8972C
Tritanopia (blue-blind)
#A39185
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #989b21; /* rgb */ color: rgb(152, 155, 33); /* oklch */ color: oklch(66.6% 0.136 111.0);
Tailwind
colors: {
custom: {
50: '#bab868',
500: '#989b21',
950: '#000000',
},
}SCSS
$custom: #989b21; $custom-light: #bab868; $custom-dark: #000000;
JSON
{
"hex": "#989b21",
"rgb": {
"r": 152,
"g": 155,
"b": 33
},
"hsl": {
"h": 61.475,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.66584,
"c": 0.13614,
"h": 111
},
"luminance": 0.30228
}Semantic roles & 50–950 ramp
primary
#989B21
secondary
#5A58C0
accent
#40E844
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A