#9CAF2F#9CAF2F
#9CAF2F is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.6% C 0.149 H 117.8°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9CAF2F |
|---|---|
| RGB | rgb(156, 175, 47) |
| HSL | hsl(69, 58%, 44%) |
| HSV | hsv(69, 73%, 69%) |
| CMYK | cmyk(10.9%, 0%, 73.1%, 31.4%) |
| CIE-LAB | lab(67.97, -23.21, 59.46) |
| CIE-LCH | lch(67.97, 63.83, 111.32°) |
| OKLab | oklab(71.6% -0.0694 0.1319) |
| OKLCH | oklch(71.6% 0.149 117.8) |
| XYZ | xyz(29.5540, 37.9334, 8.4537) |
| Luminance | 0.3793 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.35
Sickly Green
#94B21C
ΔE00 2.39
Booger
#9BB53C
ΔE00 2.41
Barf Green
#94AC02
ΔE00 2.56
Icky Green
#8FAE22
ΔE00 2.60
Pea Green
#8EAB12
ΔE00 2.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CAF2F #422FAF
analogous
#AF822F #9CAF2F #5CAF2F
triadic
#9CAF2F #2F9CAF #AF2F9C
tetradic
#9CAF2F #2FAF82 #422FAF #AF2F5C
square
#9CAF2F #2FAF82 #422FAF #AF2F5C
split-complementary
#9CAF2F #2F5CAF #822FAF
monochromatic
#464F15 #717F22 #9CAF2F #BCCF4C #CEDC7C
Accessibility & contrast
On white
2.45
#9CAF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.59
#9CAF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CAF2F
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CAF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CAF2F | 1.00 | 2.45 | 8.59 | 8.59 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA516
Deuteranopia (green-blind)
#B9A63A
Tritanopia (blue-blind)
#A6A596
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9caf2f; /* rgb */ color: rgb(156, 175, 47); /* oklch */ color: oklch(71.6% 0.149 117.8);
Tailwind
colors: {
custom: {
50: '#bdc671',
500: '#9caf2f',
950: '#000000',
},
}SCSS
$custom: #9caf2f; $custom-light: #bdc671; $custom-dark: #000000;
JSON
{
"hex": "#9caf2f",
"rgb": {
"r": 156,
"g": 175,
"b": 47
},
"hsl": {
"h": 68.906,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.71595,
"c": 0.14907,
"h": 117.8
},
"luminance": 0.37933
}Semantic roles & 50–950 ramp
primary
#9CAF2F
secondary
#8175C4
accent
#47E15E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B