#9FB42E#9FB42E
#9FB42E 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 | #9FB42E |
|---|---|
| RGB | rgb(159, 180, 46) |
| HSL | hsl(69, 59%, 44%) |
| HSV | hsv(69, 74%, 71%) |
| CMYK | cmyk(11.7%, 0%, 74.4%, 29.4%) |
| CIE-LAB | lab(69.62, -24.46, 61.46) |
| CIE-LCH | lch(69.62, 66.14, 111.70°) |
| OKLab | oklab(72.97% -0.0732 0.1359) |
| OKLCH | oklch(72.97% 0.154 118.3) |
| XYZ | xyz(31.1132, 40.2110, 8.7067) |
| Luminance | 0.4021 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.74
Booger
#9BB53C
ΔE00 2.04
Sickly Green
#94B21C
ΔE00 2.13
Booger Green
#96B403
ΔE00 2.46
Puke Green
#9AAE07
ΔE00 2.58
Icky Green
#8FAE22
ΔE00 3.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FB42E #432EB4
analogous
#B4862E #9FB42E #5CB42E
triadic
#9FB42E #2E9FB4 #B42E9F
tetradic
#9FB42E #2EB486 #432EB4 #B42E5C
square
#9FB42E #2EB486 #432EB4 #B42E5C
split-complementary
#9FB42E #2E5CB4 #862EB4
monochromatic
#495315 #748322 #9FB42E #BDD24E #CFDE7E
Accessibility & contrast
On white
2.32
#9FB42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#9FB42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FB42E
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FB42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FB42E | 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)
#C0AA11
Deuteranopia (green-blind)
#BEAB3A
Tritanopia (blue-blind)
#A9AA9B
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #9fb42e; /* rgb */ color: rgb(159, 180, 46); /* oklch */ color: oklch(73.0% 0.154 118.3);
Tailwind
colors: {
custom: {
50: '#bfca71',
500: '#9fb42e',
950: '#000000',
},
}SCSS
$custom: #9fb42e; $custom-light: #bfca71; $custom-dark: #000000;
JSON
{
"hex": "#9fb42e",
"rgb": {
"r": 159,
"g": 180,
"b": 46
},
"hsl": {
"h": 69.403,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.72974,
"c": 0.1543,
"h": 118.3
},
"luminance": 0.40211
}Semantic roles & 50–950 ramp
primary
#9FB42E
secondary
#8477C7
accent
#45E25E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B