#9CA42B#9CA42B
#9CA42B is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.0% C 0.139 H 113.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA42B |
|---|---|
| RGB | rgb(156, 164, 43) |
| HSL | hsl(64, 58%, 41%) |
| HSV | hsv(64, 74%, 64%) |
| CMYK | cmyk(4.9%, 0%, 73.8%, 35.7%) |
| CIE-LAB | lab(64.80, -17.88, 57.82) |
| CIE-LCH | lch(64.80, 60.53, 107.18°) |
| OKLab | oklab(69.04% -0.055 0.1278) |
| OKLCH | oklch(69.04% 0.139 113.3) |
| XYZ | xyz(27.4226, 33.7938, 7.3633) |
| Luminance | 0.3379 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.49
Vomit
#A2A415
ΔE00 2.58
Puke
#A5A502
ΔE00 3.67
Pea Soup
#929901
ΔE00 3.89
Puke Green
#9AAE07
ΔE00 4.07
Baby Poop Green
#8F9805
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA42B #332BA4
analogous
#A46F2B #9CA42B #5FA42B
triadic
#9CA42B #2B9CA4 #A42B9C
tetradic
#9CA42B #2BA46F #332BA4 #A42B5F
square
#9CA42B #2BA46F #332BA4 #A42B5F
split-complementary
#9CA42B #2B5FA4 #6F2BA4
monochromatic
#404312 #6E741E #9CA42B #C3CD3F #D3D970
Accessibility & contrast
On white
2.71
#9CA42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#9CA42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA42B
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA42B | 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)
#B09C12
Deuteranopia (green-blind)
#B09E35
Tritanopia (blue-blind)
#A79A8D
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9ca42b; /* rgb */ color: rgb(156, 164, 43); /* oklch */ color: oklch(69.0% 0.139 113.3);
Tailwind
colors: {
custom: {
50: '#bdbe6e',
500: '#9ca42b',
950: '#000000',
},
}SCSS
$custom: #9ca42b; $custom-light: #bdbe6e; $custom-dark: #000000;
JSON
{
"hex": "#9ca42b",
"rgb": {
"r": 156,
"g": 164,
"b": 43
},
"hsl": {
"h": 63.967,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.69041,
"c": 0.13911,
"h": 113.3
},
"luminance": 0.33793
}Semantic roles & 50–950 ramp
primary
#9CA42B
secondary
#706AC1
accent
#46E250
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B