#9CA72F#9CA72F
#9CA72F is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.8% C 0.140 H 114.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA72F |
|---|---|
| RGB | rgb(156, 167, 47) |
| HSL | hsl(66, 56%, 42%) |
| HSV | hsv(66, 72%, 65%) |
| CMYK | cmyk(6.6%, 0%, 71.9%, 34.5%) |
| CIE-LAB | lab(65.68, -19.20, 57.23) |
| CIE-LCH | lch(65.68, 60.37, 108.55°) |
| OKLab | oklab(69.75% -0.0583 0.1272) |
| OKLCH | oklch(69.75% 0.14 114.6) |
| XYZ | xyz(28.0429, 34.9111, 7.9500) |
| Luminance | 0.3491 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.19
Vomit
#A2A415
ΔE00 3.30
Puke Green
#9AAE07
ΔE00 3.47
Barf Green
#94AC02
ΔE00 3.59
Pea Green
#8EAB12
ΔE00 3.99
Vomit Green
#89A203
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA72F #3A2FA7
analogous
#A7762F #9CA72F #60A72F
triadic
#9CA72F #2F9CA7 #A72F9C
tetradic
#9CA72F #2FA776 #3A2FA7 #A72F60
square
#9CA72F #2FA776 #3A2FA7 #A72F60
split-complementary
#9CA72F #2F60A7 #762FA7
monochromatic
#434714 #6F7722 #9CA72F #BFCB48 #D0D978
Accessibility & contrast
On white
2.63
#9CA72F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#9CA72F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA72F
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA72F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA72F | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F19
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#A69D90
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #9ca72f; /* rgb */ color: rgb(156, 167, 47); /* oklch */ color: oklch(69.8% 0.140 114.6);
Tailwind
colors: {
custom: {
50: '#bcc170',
500: '#9ca72f',
950: '#000000',
},
}SCSS
$custom: #9ca72f; $custom-light: #bcc170; $custom-dark: #000000;
JSON
{
"hex": "#9ca72f",
"rgb": {
"r": 156,
"g": 167,
"b": 47
},
"hsl": {
"h": 65.5,
"s": 56.075,
"l": 41.961
},
"oklch": {
"l": 0.69754,
"c": 0.13995,
"h": 114.6
},
"luminance": 0.34911
}Semantic roles & 50–950 ramp
primary
#9CA72F
secondary
#7871C1
accent
#48DF56
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B