#989E21#989E21
#989E21 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.139 H 112.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #989E21 |
|---|---|
| RGB | rgb(152, 158, 33) |
| HSL | hsl(63, 65%, 37%) |
| HSV | hsv(63, 79%, 62%) |
| CMYK | cmyk(3.8%, 0%, 79.1%, 38%) |
| CIE-LAB | lab(62.71, -16.99, 59.06) |
| CIE-LCH | lch(62.71, 61.46, 106.05°) |
| OKLab | oklab(67.27% -0.0532 0.1287) |
| OKLCH | oklch(67.27% 0.139 112.5) |
| XYZ | xyz(25.4511, 31.2395, 6.1277) |
| Luminance | 0.3124 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.13
Baby Poop Green
#8F9805
ΔE00 2.43
Vomit
#A2A415
ΔE00 2.79
Pea Soup Green
#94A617
ΔE00 3.33
Baby Shit Green
#889717
ΔE00 3.61
Puke
#A5A502
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989E21 #27219E
analogous
#9E6621 #989E21 #5A9E21
triadic
#989E21 #21989E #9E2198
tetradic
#989E21 #219E66 #27219E #9E215A
square
#989E21 #219E66 #27219E #9E215A
split-complementary
#989E21 #215A9E #66219E
monochromatic
#37390C #676B16 #989E21 #C9D12C #D7DD5C
Accessibility & contrast
On white
2.90
#989E21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#989E21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989E21
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989E21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989E21 | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#A39487
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #989e21; /* rgb */ color: rgb(152, 158, 33); /* oklch */ color: oklch(67.3% 0.139 112.5);
Tailwind
colors: {
custom: {
50: '#baba68',
500: '#989e21',
950: '#000000',
},
}SCSS
$custom: #989e21; $custom-light: #baba68; $custom-dark: #000000;
JSON
{
"hex": "#989e21",
"rgb": {
"r": 152,
"g": 158,
"b": 33
},
"hsl": {
"h": 62.88,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.67271,
"c": 0.13927,
"h": 112.5
},
"luminance": 0.31239
}Semantic roles & 50–950 ramp
primary
#989E21
secondary
#5E59C1
accent
#3FE848
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A