#9CA431#9CA431
#9CA431 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.1% C 0.135 H 113.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA431 |
|---|---|
| RGB | rgb(156, 164, 49) |
| HSL | hsl(64, 54%, 42%) |
| HSV | hsv(64, 70%, 64%) |
| CMYK | cmyk(4.9%, 0%, 70.1%, 35.7%) |
| CIE-LAB | lab(64.84, -17.57, 55.65) |
| CIE-LCH | lch(64.84, 58.36, 107.52°) |
| OKLab | oklab(69.08% -0.0536 0.1242) |
| OKLCH | oklch(69.08% 0.135 113.3) |
| XYZ | xyz(27.5409, 33.8412, 7.9863) |
| Luminance | 0.3384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.81
Vomit
#A2A415
ΔE00 3.10
Puke
#A5A502
ΔE00 4.19
Pea Soup
#929901
ΔE00 4.22
Baby Poop Green
#8F9805
ΔE00 4.41
Puke Green
#9AAE07
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA431 #3931A4
analogous
#A47331 #9CA431 #63A431
triadic
#9CA431 #319CA4 #A4319C
tetradic
#9CA431 #31A473 #3931A4 #A43163
square
#9CA431 #31A473 #3931A4 #A43163
split-complementary
#9CA431 #3163A4 #7331A4
monochromatic
#424615 #6F7523 #9CA431 #C0C949 #D0D779
Accessibility & contrast
On white
2.70
#9CA431 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#9CA431 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA431
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA431 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C1E
Deuteranopia (green-blind)
#B09E3A
Tritanopia (blue-blind)
#A69A8D
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9ca431; /* rgb */ color: rgb(156, 164, 49); /* oklch */ color: oklch(69.1% 0.135 113.3);
Tailwind
colors: {
custom: {
50: '#bcbe71',
500: '#9ca431',
950: '#000000',
},
}SCSS
$custom: #9ca431; $custom-light: #bcbe71; $custom-dark: #000000;
JSON
{
"hex": "#9ca431",
"rgb": {
"r": 156,
"g": 164,
"b": 49
},
"hsl": {
"h": 64.174,
"s": 53.991,
"l": 41.765
},
"oklch": {
"l": 0.69083,
"c": 0.1353,
"h": 113.3
},
"luminance": 0.33841
}Semantic roles & 50–950 ramp
primary
#9CA431
secondary
#7772BF
accent
#4ADD55
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B