#9CA229#9CA229
#9CA229 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.138 H 112.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA229 |
|---|---|
| RGB | rgb(156, 162, 41) |
| HSL | hsl(63, 60%, 40%) |
| HSV | hsv(63, 75%, 64%) |
| CMYK | cmyk(3.7%, 0%, 74.7%, 36.5%) |
| CIE-LAB | lab(64.22, -16.95, 57.97) |
| CIE-LCH | lch(64.22, 60.40, 106.30°) |
| OKLab | oklab(68.57% -0.0526 0.1277) |
| OKLCH | oklch(68.57% 0.138 112.4) |
| XYZ | xyz(27.0317, 33.0693, 7.0564) |
| Luminance | 0.3307 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.32
Pea Soup Green
#94A617
ΔE00 2.95
Pea Soup
#929901
ΔE00 3.37
Puke
#A5A502
ΔE00 3.44
Baby Poop Green
#8F9805
ΔE00 3.69
Vomit Green
#89A203
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA229 #2F29A2
analogous
#A26B29 #9CA229 #60A229
triadic
#9CA229 #299CA2 #A2299C
tetradic
#9CA229 #29A26B #2F29A2 #A22960
square
#9CA229 #29A26B #2F29A2 #A22960
split-complementary
#9CA229 #2960A2 #6B29A2
monochromatic
#3E4010 #6D711D #9CA229 #C6CD3B #D4DA6C
Accessibility & contrast
On white
2.76
#9CA229 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#9CA229 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA229
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA229 | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9A0F
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#A7988B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9ca229; /* rgb */ color: rgb(156, 162, 41); /* oklch */ color: oklch(68.6% 0.138 112.4);
Tailwind
colors: {
custom: {
50: '#bdbd6c',
500: '#9ca229',
950: '#000000',
},
}SCSS
$custom: #9ca229; $custom-light: #bdbd6c; $custom-dark: #000000;
JSON
{
"hex": "#9ca229",
"rgb": {
"r": 156,
"g": 162,
"b": 41
},
"hsl": {
"h": 62.975,
"s": 59.606,
"l": 39.804
},
"oklch": {
"l": 0.68571,
"c": 0.13812,
"h": 112.4
},
"luminance": 0.33069
}Semantic roles & 50–950 ramp
primary
#9CA229
secondary
#6B67C0
accent
#45E34D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A