#9FBA2B#9FBA2B
#9FBA2B is a light, vivid yellow-green. Relative luminance 0.427; OKLCH L 74.3% C 0.163 H 120.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9FBA2B |
|---|---|
| RGB | rgb(159, 186, 43) |
| HSL | hsl(71, 62%, 45%) |
| HSV | hsv(71, 77%, 73%) |
| CMYK | cmyk(14.5%, 0%, 76.9%, 27.1%) |
| CIE-LAB | lab(71.33, -27.51, 64.03) |
| CIE-LCH | lch(71.33, 69.69, 113.25°) |
| OKLab | oklab(74.34% -0.0818 0.1408) |
| OKLCH | oklch(74.34% 0.163 120.2) |
| XYZ | xyz(32.2937, 42.6633, 8.8186) |
| Luminance | 0.4266 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 0.46
Pea
#A4BF20
ΔE00 1.80
Bright Olive
#9CBB04
ΔE00 1.88
Gross Green
#A0BF16
ΔE00 1.95
Booger Green
#96B403
ΔE00 2.38
Booger
#9BB53C
ΔE00 2.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FBA2B #462BBA
analogous
#BA8E2B #9FBA2B #57BA2B
triadic
#9FBA2B #2B9FBA #BA2B9F
tetradic
#9FBA2B #2BBA8E #462BBA #BA2B57
square
#9FBA2B #2BBA8E #462BBA #BA2B57
split-complementary
#9FBA2B #2B57BA #8E2BBA
monochromatic
#4A5714 #758820 #9FBA2B #BCD64C #CFE17E
Accessibility & contrast
On white
2.20
#9FBA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#9FBA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FBA2B
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FBA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FBA2B | 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)
#C6AF01
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#A8B09F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #9fba2b; /* rgb */ color: rgb(159, 186, 43); /* oklch */ color: oklch(74.3% 0.163 120.2);
Tailwind
colors: {
custom: {
50: '#bfce70',
500: '#9fba2b',
950: '#000000',
},
}SCSS
$custom: #9fba2b; $custom-light: #bfce70; $custom-dark: #000000;
JSON
{
"hex": "#9fba2b",
"rgb": {
"r": 159,
"g": 186,
"b": 43
},
"hsl": {
"h": 71.329,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.74343,
"c": 0.16282,
"h": 120.2
},
"luminance": 0.42663
}Semantic roles & 50–950 ramp
primary
#9FBA2B
secondary
#8777CA
accent
#42E661
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B