#9FB12F#9FB12F
#9FB12F is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.3% C 0.150 H 117.3°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9FB12F |
|---|---|
| RGB | rgb(159, 177, 47) |
| HSL | hsl(68, 58%, 44%) |
| HSV | hsv(68, 73%, 69%) |
| CMYK | cmyk(10.2%, 0%, 73.4%, 30.6%) |
| CIE-LAB | lab(68.77, -22.93, 60.30) |
| CIE-LCH | lch(68.77, 64.51, 110.82°) |
| OKLab | oklab(72.29% -0.0688 0.1336) |
| OKLCH | oklch(72.29% 0.15 117.3) |
| XYZ | xyz(30.5340, 39.0208, 8.6120) |
| Luminance | 0.3902 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.32
Booger
#9BB53C
ΔE00 2.44
Sickly Green
#94B21C
ΔE00 2.52
Sick Green
#9DB92C
ΔE00 2.67
Barf Green
#94AC02
ΔE00 2.81
Booger Green
#96B403
ΔE00 2.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FB12F #412FB1
analogous
#B1822F #9FB12F #5EB12F
triadic
#9FB12F #2F9FB1 #B12F9F
tetradic
#9FB12F #2FB182 #412FB1 #B12F5E
square
#9FB12F #2FB182 #412FB1 #B12F5E
split-complementary
#9FB12F #2F5EB1 #822FB1
monochromatic
#485015 #748122 #9FB12F #BED04D #D0DD7E
Accessibility & contrast
On white
2.39
#9FB12F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#9FB12F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FB12F
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FB12F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FB12F | 1.00 | 2.39 | 8.80 | 8.80 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA715
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#A9A798
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #9fb12f; /* rgb */ color: rgb(159, 177, 47); /* oklch */ color: oklch(72.3% 0.150 117.3);
Tailwind
colors: {
custom: {
50: '#bfc871',
500: '#9fb12f',
950: '#000000',
},
}SCSS
$custom: #9fb12f; $custom-light: #bfc871; $custom-dark: #000000;
JSON
{
"hex": "#9fb12f",
"rgb": {
"r": 159,
"g": 177,
"b": 47
},
"hsl": {
"h": 68.308,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.7229,
"c": 0.15028,
"h": 117.3
},
"luminance": 0.3902
}Semantic roles & 50–950 ramp
primary
#9FB12F
secondary
#8176C5
accent
#47E15C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B