#9CA42A#9CA42A
#9CA42A is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.0% C 0.140 H 113.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA42A |
|---|---|
| RGB | rgb(156, 164, 42) |
| HSL | hsl(64, 59%, 40%) |
| HSV | hsv(64, 74%, 64%) |
| CMYK | cmyk(4.9%, 0%, 74.4%, 35.7%) |
| CIE-LAB | lab(64.79, -17.93, 58.17) |
| CIE-LCH | lch(64.79, 60.87, 107.13°) |
| OKLab | oklab(69.03% -0.0553 0.1283) |
| OKLCH | oklch(69.03% 0.14 113.3) |
| XYZ | xyz(27.4045, 33.7866, 7.2679) |
| Luminance | 0.3379 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.46
Vomit
#A2A415
ΔE00 2.50
Puke
#A5A502
ΔE00 3.60
Pea Soup
#929901
ΔE00 3.85
Puke Green
#9AAE07
ΔE00 4.02
Baby Poop Green
#8F9805
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA42A #322AA4
analogous
#A46F2A #9CA42A #5FA42A
triadic
#9CA42A #2A9CA4 #A42A9C
tetradic
#9CA42A #2AA46F #322AA4 #A42A5F
square
#9CA42A #2AA46F #322AA4 #A42A5F
split-complementary
#9CA42A #2A5FA4 #6F2AA4
monochromatic
#3F4311 #6E731E #9CA42A #C4CD3E #D3DA6E
Accessibility & contrast
On white
2.71
#9CA42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#9CA42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA42A
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA42A | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C10
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#A79A8D
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9ca42a; /* rgb */ color: rgb(156, 164, 42); /* oklch */ color: oklch(69.0% 0.140 113.3);
Tailwind
colors: {
custom: {
50: '#bdbe6d',
500: '#9ca42a',
950: '#000000',
},
}SCSS
$custom: #9ca42a; $custom-light: #bdbe6d; $custom-dark: #000000;
JSON
{
"hex": "#9ca42a",
"rgb": {
"r": 156,
"g": 164,
"b": 42
},
"hsl": {
"h": 63.934,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.69034,
"c": 0.13969,
"h": 113.3
},
"luminance": 0.33786
}Semantic roles & 50–950 ramp
primary
#9CA42A
secondary
#6F69C1
accent
#45E250
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B