#9CAA31#9CAA31
#9CAA31 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.5% C 0.142 H 115.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9CAA31 |
|---|---|
| RGB | rgb(156, 170, 49) |
| HSL | hsl(67, 55%, 43%) |
| HSV | hsv(67, 71%, 67%) |
| CMYK | cmyk(8.2%, 0%, 71.2%, 33.3%) |
| CIE-LAB | lab(66.55, -20.61, 57.35) |
| CIE-LCH | lch(66.55, 60.94, 109.77°) |
| OKLab | oklab(70.46% -0.0621 0.1278) |
| OKLCH | oklch(70.46% 0.142 115.9) |
| XYZ | xyz(28.6401, 36.0395, 8.3527) |
| Luminance | 0.3604 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.26
Puke Green
#9AAE07
ΔE00 2.99
Barf Green
#94AC02
ΔE00 3.12
Pea Green
#8EAB12
ΔE00 3.42
Icky Green
#8FAE22
ΔE00 3.57
Booger
#9BB53C
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CAA31 #3F31AA
analogous
#AA7B31 #9CAA31 #5FAA31
triadic
#9CAA31 #319CAA #AA319C
tetradic
#9CAA31 #31AA7B #3F31AA #AA315F
square
#9CAA31 #31AA7B #3F31AA #AA315F
split-complementary
#9CAA31 #315FAA #7B31AA
monochromatic
#454B16 #707A23 #9CAA31 #BDCC4D #CED97C
Accessibility & contrast
On white
2.56
#9CAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#9CAA31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CAA31
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CAA31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CAA31 | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A11C
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#A6A092
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9caa31; /* rgb */ color: rgb(156, 170, 49); /* oklch */ color: oklch(70.5% 0.142 115.9);
Tailwind
colors: {
custom: {
50: '#bcc371',
500: '#9caa31',
950: '#000000',
},
}SCSS
$custom: #9caa31; $custom-light: #bcc371; $custom-dark: #000000;
JSON
{
"hex": "#9caa31",
"rgb": {
"r": 156,
"g": 170,
"b": 49
},
"hsl": {
"h": 66.942,
"s": 55.251,
"l": 42.941
},
"oklch": {
"l": 0.70457,
"c": 0.14207,
"h": 115.9
},
"luminance": 0.36039
}Semantic roles & 50–950 ramp
primary
#9CAA31
secondary
#7E75C2
accent
#49DF5B
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B