#9FBA2F#9FBA2F
#9FBA2F is a light, vivid yellow-green. Relative luminance 0.427; OKLCH L 74.4% C 0.161 H 120.3°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9FBA2F |
|---|---|
| RGB | rgb(159, 186, 47) |
| HSL | hsl(72, 60%, 46%) |
| HSV | hsv(72, 75%, 73%) |
| CMYK | cmyk(14.5%, 0%, 74.7%, 27.1%) |
| CIE-LAB | lab(71.35, -27.32, 62.76) |
| CIE-LCH | lch(71.35, 68.45, 113.53°) |
| OKLab | oklab(74.37% -0.081 0.1388) |
| OKLCH | oklch(74.37% 0.161 120.3) |
| XYZ | xyz(32.3707, 42.6941, 9.2242) |
| Luminance | 0.4269 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 0.39
Pea
#A4BF20
ΔE00 2.04
Booger
#9BB53C
ΔE00 2.19
Bright Olive
#9CBB04
ΔE00 2.20
Gross Green
#A0BF16
ΔE00 2.21
Sickly Green
#94B21C
ΔE00 2.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FBA2F #4A2FBA
analogous
#BA902F #9FBA2F #59BA2F
triadic
#9FBA2F #2F9FBA #BA2F9F
tetradic
#9FBA2F #2FBA90 #4A2FBA #BA2F59
square
#9FBA2F #2FBA90 #4A2FBA #BA2F59
split-complementary
#9FBA2F #2F59BA #902FBA
monochromatic
#4B5816 #758923 #9FBA2F #BAD353 #CEE084
Accessibility & contrast
On white
2.20
#9FBA2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#9FBA2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FBA2F
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FBA2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FBA2F | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF0F
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#A8B0A0
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #9fba2f; /* rgb */ color: rgb(159, 186, 47); /* oklch */ color: oklch(74.4% 0.161 120.3);
Tailwind
colors: {
custom: {
50: '#bfce72',
500: '#9fba2f',
950: '#000000',
},
}SCSS
$custom: #9fba2f; $custom-light: #bfce72; $custom-dark: #000000;
JSON
{
"hex": "#9fba2f",
"rgb": {
"r": 159,
"g": 186,
"b": 47
},
"hsl": {
"h": 71.655,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.74367,
"c": 0.16067,
"h": 120.3
},
"luminance": 0.42694
}Semantic roles & 50–950 ramp
primary
#9FBA2F
secondary
#8B7CC9
accent
#45E364
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B