#9CAA21#9CAA21
#9CAA21 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.151 H 115.7°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9CAA21 |
|---|---|
| RGB | rgb(156, 170, 33) |
| HSL | hsl(66, 67%, 40%) |
| HSV | hsv(66, 81%, 67%) |
| CMYK | cmyk(8.2%, 0%, 80.6%, 33.3%) |
| CIE-LAB | lab(66.46, -21.34, 62.52) |
| CIE-LCH | lch(66.46, 66.06, 108.84°) |
| OKLab | oklab(70.36% -0.0654 0.1359) |
| OKLCH | oklch(70.36% 0.151 115.7) |
| XYZ | xyz(28.3604, 35.9276, 6.8793) |
| Luminance | 0.3593 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.68
Puke Green
#9AAE07
ΔE00 1.89
Barf Green
#94AC02
ΔE00 2.26
Pea Green
#8EAB12
ΔE00 3.17
Vomit
#A2A415
ΔE00 3.29
Sickly Green
#94B21C
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CAA21 #2F21AA
analogous
#AA7321 #9CAA21 #58AA21
triadic
#9CAA21 #219CAA #AA219C
tetradic
#9CAA21 #21AA73 #2F21AA #AA2158
square
#9CAA21 #21AA73 #2F21AA #AA2158
split-complementary
#9CAA21 #2158AA #7321AA
monochromatic
#3E430D #6D7717 #9CAA21 #C6D731 #D4E164
Accessibility & contrast
On white
2.57
#9CAA21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#9CAA21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CAA21
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CAA21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CAA21 | 1.00 | 2.57 | 8.19 | 8.19 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B5A32F
Tritanopia (blue-blind)
#A6A091
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9caa21; /* rgb */ color: rgb(156, 170, 33); /* oklch */ color: oklch(70.4% 0.151 115.7);
Tailwind
colors: {
custom: {
50: '#bdc36a',
500: '#9caa21',
950: '#000000',
},
}SCSS
$custom: #9caa21; $custom-light: #bdc36a; $custom-dark: #000000;
JSON
{
"hex": "#9caa21",
"rgb": {
"r": 156,
"g": 170,
"b": 33
},
"hsl": {
"h": 66.131,
"s": 67.488,
"l": 39.804
},
"oklch": {
"l": 0.70361,
"c": 0.15088,
"h": 115.7
},
"luminance": 0.35927
}Semantic roles & 50–950 ramp
primary
#9CAA21
secondary
#6B61C6
accent
#3DEA4F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A