#9CAF2A#9CAF2A
#9CAF2A is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.6% C 0.152 H 117.7°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9CAF2A |
|---|---|
| RGB | rgb(156, 175, 42) |
| HSL | hsl(69, 61%, 43%) |
| HSV | hsv(69, 76%, 69%) |
| CMYK | cmyk(10.9%, 0%, 76%, 31.4%) |
| CIE-LAB | lab(67.94, -23.45, 61.13) |
| CIE-LCH | lch(67.94, 65.47, 110.99°) |
| OKLab | oklab(71.56% -0.0705 0.1346) |
| OKLCH | oklch(71.56% 0.152 117.7) |
| XYZ | xyz(29.4589, 37.8953, 7.9527) |
| Luminance | 0.3790 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.90
Barf Green
#94AC02
ΔE00 2.20
Sickly Green
#94B21C
ΔE00 2.25
Icky Green
#8FAE22
ΔE00 2.63
Booger
#9BB53C
ΔE00 2.71
Pea Green
#8EAB12
ΔE00 2.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CAF2A #3D2AAF
analogous
#AF7F2A #9CAF2A #5AAF2A
triadic
#9CAF2A #2A9CAF #AF2A9C
tetradic
#9CAF2A #2AAF7F #3D2AAF #AF2A5A
square
#9CAF2A #2AAF7F #3D2AAF #AF2A5A
split-complementary
#9CAF2A #2A5AAF #7F2AAF
monochromatic
#444C12 #707E1E #9CAF2A #BED244 #CFDE75
Accessibility & contrast
On white
2.45
#9CAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.58
#9CAF2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CAF2A
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CAF2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CAF2A | 1.00 | 2.45 | 8.58 | 8.58 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA508
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#A6A596
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9caf2a; /* rgb */ color: rgb(156, 175, 42); /* oklch */ color: oklch(71.6% 0.152 117.7);
Tailwind
colors: {
custom: {
50: '#bdc66e',
500: '#9caf2a',
950: '#000000',
},
}SCSS
$custom: #9caf2a; $custom-light: #bdc66e; $custom-dark: #000000;
JSON
{
"hex": "#9caf2a",
"rgb": {
"r": 156,
"g": 175,
"b": 42
},
"hsl": {
"h": 68.571,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.71563,
"c": 0.15193,
"h": 117.7
},
"luminance": 0.37895
}Semantic roles & 50–950 ramp
primary
#9CAF2A
secondary
#7C6FC6
accent
#43E45A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B