#9FB431#9FB431
#9FB431 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.153 H 118.4°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9FB431 |
|---|---|
| RGB | rgb(159, 180, 49) |
| HSL | hsl(70, 57%, 45%) |
| HSV | hsv(70, 73%, 71%) |
| CMYK | cmyk(11.7%, 0%, 72.8%, 29.4%) |
| CIE-LAB | lab(69.64, -24.31, 60.43) |
| CIE-LCH | lch(69.64, 65.14, 111.91°) |
| OKLab | oklab(72.99% -0.0725 0.1342) |
| OKLCH | oklch(72.99% 0.153 118.4) |
| XYZ | xyz(31.1744, 40.2355, 9.0291) |
| Luminance | 0.4023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.77
Booger
#9BB53C
ΔE00 1.80
Sickly Green
#94B21C
ΔE00 2.22
Booger Green
#96B403
ΔE00 2.67
Puke Green
#9AAE07
ΔE00 2.80
Icky Green
#8FAE22
ΔE00 3.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FB431 #4631B4
analogous
#B48731 #9FB431 #5EB431
triadic
#9FB431 #319FB4 #B4319F
tetradic
#9FB431 #31B487 #4631B4 #B4315E
square
#9FB431 #31B487 #4631B4 #B4315E
split-complementary
#9FB431 #315EB4 #8731B4
monochromatic
#4A5417 #758424 #9FB431 #BCD052 #CFDD82
Accessibility & contrast
On white
2.32
#9FB431 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#9FB431 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FB431
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FB431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FB431 | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA18
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#A9AA9B
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #9fb431; /* rgb */ color: rgb(159, 180, 49); /* oklch */ color: oklch(73.0% 0.153 118.4);
Tailwind
colors: {
custom: {
50: '#bfca72',
500: '#9fb431',
950: '#000000',
},
}SCSS
$custom: #9fb431; $custom-light: #bfca72; $custom-dark: #000000;
JSON
{
"hex": "#9fb431",
"rgb": {
"r": 159,
"g": 180,
"b": 49
},
"hsl": {
"h": 69.618,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.72993,
"c": 0.15253,
"h": 118.4
},
"luminance": 0.40235
}Semantic roles & 50–950 ramp
primary
#9FB431
secondary
#877BC6
accent
#47E060
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B