#9CA02A#9CA02A
#9CA02A is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.1% C 0.135 H 111.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA02A |
|---|---|
| RGB | rgb(156, 160, 42) |
| HSL | hsl(62, 58%, 40%) |
| HSV | hsv(62, 74%, 63%) |
| CMYK | cmyk(2.5%, 0%, 73.8%, 37.3%) |
| CIE-LAB | lab(63.65, -15.87, 57.09) |
| CIE-LCH | lch(63.65, 59.25, 105.54°) |
| OKLab | oklab(68.12% -0.0495 0.126) |
| OKLCH | oklch(68.12% 0.135 111.5) |
| XYZ | xyz(26.6999, 32.3774, 7.0330) |
| Luminance | 0.3238 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.50
Pea Soup
#929901
ΔE00 3.11
Baby Poop Green
#8F9805
ΔE00 3.44
Pea Soup Green
#94A617
ΔE00 3.58
Puke
#A5A502
ΔE00 3.59
Baby Shit Green
#889717
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA02A #2E2AA0
analogous
#A0692A #9CA02A #61A02A
triadic
#9CA02A #2A9CA0 #A02A9C
tetradic
#9CA02A #2AA069 #2E2AA0 #A02A61
square
#9CA02A #2AA069 #2E2AA0 #A02A61
split-complementary
#9CA02A #2A61A0 #692AA0
monochromatic
#3D3F11 #6D701D #9CA02A #C7CC3C #D5D86C
Accessibility & contrast
On white
2.81
#9CA02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#9CA02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA02A
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA02A | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9912
Deuteranopia (green-blind)
#AD9C33
Tritanopia (blue-blind)
#A79689
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #9ca02a; /* rgb */ color: rgb(156, 160, 42); /* oklch */ color: oklch(68.1% 0.135 111.5);
Tailwind
colors: {
custom: {
50: '#bdbb6d',
500: '#9ca02a',
950: '#000000',
},
}SCSS
$custom: #9ca02a; $custom-light: #bdbb6d; $custom-dark: #000000;
JSON
{
"hex": "#9ca02a",
"rgb": {
"r": 156,
"g": 160,
"b": 42
},
"hsl": {
"h": 62.034,
"s": 58.416,
"l": 39.608
},
"oklch": {
"l": 0.68122,
"c": 0.13541,
"h": 111.5
},
"luminance": 0.32377
}Semantic roles & 50–950 ramp
primary
#9CA02A
secondary
#6A67BF
accent
#46E24B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A