#9FBA2C#9FBA2C
#9FBA2C is a light, vivid yellow-green. Relative luminance 0.427; OKLCH L 74.3% C 0.162 H 120.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9FBA2C |
|---|---|
| RGB | rgb(159, 186, 44) |
| HSL | hsl(71, 62%, 45%) |
| HSV | hsv(71, 76%, 73%) |
| CMYK | cmyk(14.5%, 0%, 76.3%, 27.1%) |
| CIE-LAB | lab(71.33, -27.46, 63.72) |
| CIE-LCH | lch(71.33, 69.39, 113.32°) |
| OKLab | oklab(74.35% -0.0816 0.1403) |
| OKLCH | oklch(74.35% 0.162 120.2) |
| XYZ | xyz(32.3122, 42.6707, 8.9164) |
| Luminance | 0.4267 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 0.42
Pea
#A4BF20
ΔE00 1.85
Bright Olive
#9CBB04
ΔE00 1.96
Gross Green
#A0BF16
ΔE00 2.02
Booger
#9BB53C
ΔE00 2.40
Booger Green
#96B403
ΔE00 2.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FBA2C #472CBA
analogous
#BA8E2C #9FBA2C #58BA2C
triadic
#9FBA2C #2C9FBA #BA2C9F
tetradic
#9FBA2C #2CBA8E #472CBA #BA2C58
square
#9FBA2C #2CBA8E #472CBA #BA2C58
split-complementary
#9FBA2C #2C58BA #8E2CBA
monochromatic
#4A5715 #758920 #9FBA2C #BBD54E #CEE180
Accessibility & contrast
On white
2.20
#9FBA2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#9FBA2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FBA2C
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FBA2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FBA2C | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF05
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#A8B09F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #9fba2c; /* rgb */ color: rgb(159, 186, 44); /* oklch */ color: oklch(74.3% 0.162 120.2);
Tailwind
colors: {
custom: {
50: '#bfce71',
500: '#9fba2c',
950: '#000000',
},
}SCSS
$custom: #9fba2c; $custom-light: #bfce71; $custom-dark: #000000;
JSON
{
"hex": "#9fba2c",
"rgb": {
"r": 159,
"g": 186,
"b": 44
},
"hsl": {
"h": 71.408,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.74349,
"c": 0.1623,
"h": 120.2
},
"luminance": 0.42671
}Semantic roles & 50–950 ramp
primary
#9FBA2C
secondary
#8878CA
accent
#43E562
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B