#9CA52F#9CA52F
#9CA52F is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.3% C 0.138 H 113.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA52F |
|---|---|
| RGB | rgb(156, 165, 47) |
| HSL | hsl(65, 56%, 42%) |
| HSV | hsv(65, 72%, 65%) |
| CMYK | cmyk(5.5%, 0%, 71.5%, 35.3%) |
| CIE-LAB | lab(65.11, -18.19, 56.68) |
| CIE-LCH | lch(65.11, 59.52, 107.79°) |
| OKLab | oklab(69.3% -0.0555 0.126) |
| OKLCH | oklch(69.3% 0.138 113.8) |
| XYZ | xyz(27.6793, 34.1840, 7.8288) |
| Luminance | 0.3418 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.48
Vomit
#A2A415
ΔE00 3.01
Puke Green
#9AAE07
ΔE00 4.01
Puke
#A5A502
ΔE00 4.08
Barf Green
#94AC02
ΔE00 4.11
Vomit Green
#89A203
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA52F #382FA5
analogous
#A5732F #9CA52F #61A52F
triadic
#9CA52F #2F9CA5 #A52F9C
tetradic
#9CA52F #2FA573 #382FA5 #A52F61
square
#9CA52F #2FA573 #382FA5 #A52F61
split-complementary
#9CA52F #2F61A5 #732FA5
monochromatic
#424614 #6F7521 #9CA52F #C0CB47 #D1D876
Accessibility & contrast
On white
2.68
#9CA52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#9CA52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA52F
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA52F | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D1A
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#A69B8E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9ca52f; /* rgb */ color: rgb(156, 165, 47); /* oklch */ color: oklch(69.3% 0.138 113.8);
Tailwind
colors: {
custom: {
50: '#bcbf70',
500: '#9ca52f',
950: '#000000',
},
}SCSS
$custom: #9ca52f; $custom-light: #bcbf70; $custom-dark: #000000;
JSON
{
"hex": "#9ca52f",
"rgb": {
"r": 156,
"g": 165,
"b": 47
},
"hsl": {
"h": 64.576,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.69297,
"c": 0.13772,
"h": 113.8
},
"luminance": 0.34183
}Semantic roles & 50–950 ramp
primary
#9CA52F
secondary
#7670C0
accent
#49DF54
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B