#9CA02C#9CA02C
#9CA02C is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.1% C 0.134 H 111.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA02C |
|---|---|
| RGB | rgb(156, 160, 44) |
| HSL | hsl(62, 57%, 40%) |
| HSV | hsv(62, 73%, 63%) |
| CMYK | cmyk(2.5%, 0%, 72.5%, 37.3%) |
| CIE-LAB | lab(63.67, -15.77, 56.38) |
| CIE-LCH | lch(63.67, 58.55, 105.63°) |
| OKLab | oklab(68.14% -0.0491 0.1249) |
| OKLCH | oklch(68.14% 0.134 111.5) |
| XYZ | xyz(26.7366, 32.3921, 7.2263) |
| Luminance | 0.3239 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.66
Pea Soup
#929901
ΔE00 3.23
Baby Poop Green
#8F9805
ΔE00 3.54
Pea Soup Green
#94A617
ΔE00 3.65
Puke
#A5A502
ΔE00 3.75
Baby Shit Green
#889717
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA02C #302CA0
analogous
#A06A2C #9CA02C #62A02C
triadic
#9CA02C #2C9CA0 #A02C9C
tetradic
#9CA02C #2CA06A #302CA0 #A02C62
square
#9CA02C #2CA06A #302CA0 #A02C62
split-complementary
#9CA02C #2C62A0 #6A2CA0
monochromatic
#3E4012 #6D701F #9CA02C #C5CA3F #D4D76F
Accessibility & contrast
On white
2.81
#9CA02C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#9CA02C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA02C
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA02C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA02C | 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)
#AD9916
Deuteranopia (green-blind)
#AD9C35
Tritanopia (blue-blind)
#A7968A
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #9ca02c; /* rgb */ color: rgb(156, 160, 44); /* oklch */ color: oklch(68.1% 0.134 111.5);
Tailwind
colors: {
custom: {
50: '#bcbb6e',
500: '#9ca02c',
950: '#000000',
},
}SCSS
$custom: #9ca02c; $custom-light: #bcbb6e; $custom-dark: #000000;
JSON
{
"hex": "#9ca02c",
"rgb": {
"r": 156,
"g": 160,
"b": 44
},
"hsl": {
"h": 62.069,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.68136,
"c": 0.13418,
"h": 111.5
},
"luminance": 0.32391
}Semantic roles & 50–950 ramp
primary
#9CA02C
secondary
#6C69BF
accent
#48E04D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B