#9EAA21#9EAA21
#9EAA21 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.5% C 0.150 H 114.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9EAA21 |
|---|---|
| RGB | rgb(158, 170, 33) |
| HSL | hsl(65, 67%, 40%) |
| HSV | hsv(65, 81%, 67%) |
| CMYK | cmyk(7.1%, 0%, 80.6%, 33.3%) |
| CIE-LAB | lab(66.62, -20.47, 62.72) |
| CIE-LCH | lch(66.62, 65.97, 108.08°) |
| OKLab | oklab(70.52% -0.0631 0.1363) |
| OKLCH | oklch(70.52% 0.15 114.9) |
| XYZ | xyz(28.7507, 36.1289, 6.8976) |
| Luminance | 0.3613 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.05
Puke Green
#9AAE07
ΔE00 2.10
Barf Green
#94AC02
ΔE00 2.63
Vomit
#A2A415
ΔE00 2.89
Puke
#A5A502
ΔE00 3.59
Pea Green
#8EAB12
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EAA21 #2D21AA
analogous
#AA7121 #9EAA21 #5AAA21
triadic
#9EAA21 #219EAA #AA219E
tetradic
#9EAA21 #21AA71 #2D21AA #AA215A
square
#9EAA21 #21AA71 #2D21AA #AA215A
split-complementary
#9EAA21 #215AAA #7121AA
monochromatic
#3F430D #6E7717 #9EAA21 #C9D731 #D6E164
Accessibility & contrast
On white
2.55
#9EAA21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#9EAA21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EAA21
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EAA21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EAA21 | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#A9A091
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9eaa21; /* rgb */ color: rgb(158, 170, 33); /* oklch */ color: oklch(70.5% 0.150 114.9);
Tailwind
colors: {
custom: {
50: '#bec36a',
500: '#9eaa21',
950: '#000000',
},
}SCSS
$custom: #9eaa21; $custom-light: #bec36a; $custom-dark: #000000;
JSON
{
"hex": "#9eaa21",
"rgb": {
"r": 158,
"g": 170,
"b": 33
},
"hsl": {
"h": 65.255,
"s": 67.488,
"l": 39.804
},
"oklch": {
"l": 0.70523,
"c": 0.1502,
"h": 114.9
},
"luminance": 0.36128
}Semantic roles & 50–950 ramp
primary
#9EAA21
secondary
#6961C6
accent
#3DEA4D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A