#9CA22A#9CA22A
#9CA22A 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.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA22A |
|---|---|
| RGB | rgb(156, 162, 42) |
| HSL | hsl(63, 59%, 40%) |
| HSV | hsv(63, 74%, 64%) |
| CMYK | cmyk(3.7%, 0%, 74.1%, 36.5%) |
| CIE-LAB | lab(64.22, -16.90, 57.63) |
| CIE-LCH | lch(64.22, 60.06, 106.35°) |
| OKLab | oklab(68.58% -0.0524 0.1272) |
| OKLCH | oklch(68.58% 0.138 112.4) |
| XYZ | xyz(27.0494, 33.0764, 7.1495) |
| Luminance | 0.3308 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.40
Pea Soup Green
#94A617
ΔE00 2.98
Pea Soup
#929901
ΔE00 3.42
Puke
#A5A502
ΔE00 3.52
Baby Poop Green
#8F9805
ΔE00 3.73
Vomit Green
#89A203
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA22A #302AA2
analogous
#A26C2A #9CA22A #60A22A
triadic
#9CA22A #2A9CA2 #A22A9C
tetradic
#9CA22A #2AA26C #302AA2 #A22A60
square
#9CA22A #2AA26C #302AA2 #A22A60
split-complementary
#9CA22A #2A60A2 #6C2AA2
monochromatic
#3E4111 #6D711D #9CA22A #C5CD3D #D4D96D
Accessibility & contrast
On white
2.76
#9CA22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#9CA22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA22A
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA22A | 1.00 | 2.76 | 7.62 | 7.62 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9A11
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#A7988B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9ca22a; /* rgb */ color: rgb(156, 162, 42); /* oklch */ color: oklch(68.6% 0.138 112.4);
Tailwind
colors: {
custom: {
50: '#bdbd6d',
500: '#9ca22a',
950: '#000000',
},
}SCSS
$custom: #9ca22a; $custom-light: #bdbd6d; $custom-dark: #000000;
JSON
{
"hex": "#9ca22a",
"rgb": {
"r": 156,
"g": 162,
"b": 42
},
"hsl": {
"h": 63,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.68578,
"c": 0.13754,
"h": 112.4
},
"luminance": 0.33076
}Semantic roles & 50–950 ramp
primary
#9CA22A
secondary
#6C68C0
accent
#46E24E
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A