#9FB42F#9FB42F
#9FB42F is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.154 H 118.3°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9FB42F |
|---|---|
| RGB | rgb(159, 180, 47) |
| HSL | hsl(69, 59%, 45%) |
| HSV | hsv(69, 74%, 71%) |
| CMYK | cmyk(11.7%, 0%, 73.9%, 29.4%) |
| CIE-LAB | lab(69.63, -24.41, 61.12) |
| CIE-LCH | lch(69.63, 65.81, 111.77°) |
| OKLab | oklab(72.98% -0.0729 0.1353) |
| OKLCH | oklch(72.98% 0.154 118.3) |
| XYZ | xyz(31.1331, 40.2190, 8.8117) |
| Luminance | 0.4022 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.74
Booger
#9BB53C
ΔE00 1.96
Sickly Green
#94B21C
ΔE00 2.15
Booger Green
#96B403
ΔE00 2.53
Puke Green
#9AAE07
ΔE00 2.65
Icky Green
#8FAE22
ΔE00 3.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FB42F #442FB4
analogous
#B4872F #9FB42F #5CB42F
triadic
#9FB42F #2F9FB4 #B42F9F
tetradic
#9FB42F #2FB487 #442FB4 #B42F5C
square
#9FB42F #2FB487 #442FB4 #B42F5C
split-complementary
#9FB42F #2F5CB4 #872FB4
monochromatic
#495316 #748322 #9FB42F #BDD14F #CFDE80
Accessibility & contrast
On white
2.32
#9FB42F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#9FB42F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FB42F
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FB42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FB42F | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA13
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#A9AA9B
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #9fb42f; /* rgb */ color: rgb(159, 180, 47); /* oklch */ color: oklch(73.0% 0.154 118.3);
Tailwind
colors: {
custom: {
50: '#bfca71',
500: '#9fb42f',
950: '#000000',
},
}SCSS
$custom: #9fb42f; $custom-light: #bfca71; $custom-dark: #000000;
JSON
{
"hex": "#9fb42f",
"rgb": {
"r": 159,
"g": 180,
"b": 47
},
"hsl": {
"h": 69.474,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.7298,
"c": 0.15372,
"h": 118.3
},
"luminance": 0.40219
}Semantic roles & 50–950 ramp
primary
#9FB42F
secondary
#8578C7
accent
#46E25F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B