#9FBF31#9FBF31
#9FBF31 is a light, vivid yellow-green. Relative luminance 0.449; OKLCH L 75.5% C 0.165 H 121.8°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9FBF31 |
|---|---|
| RGB | rgb(159, 191, 49) |
| HSL | hsl(74, 59%, 47%) |
| HSV | hsv(74, 74%, 75%) |
| CMYK | cmyk(16.8%, 0%, 74.3%, 25.1%) |
| CIE-LAB | lab(72.80, -29.61, 63.47) |
| CIE-LCH | lch(72.80, 70.04, 115.01°) |
| OKLab | oklab(75.54% -0.0871 0.1406) |
| OKLCH | oklch(75.54% 0.165 121.8) |
| XYZ | xyz(33.4838, 44.8542, 9.7989) |
| Luminance | 0.4485 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.64
Gross Green
#A0BF16
ΔE00 1.92
Pea
#A4BF20
ΔE00 1.95
Snot Green
#9DC100
ΔE00 2.46
Bright Olive
#9CBB04
ΔE00 2.49
Booger
#9BB53C
ΔE00 3.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FBF31 #5131BF
analogous
#BF9831 #9FBF31 #58BF31
triadic
#9FBF31 #319FBF #BF319F
tetradic
#9FBF31 #31BF98 #5131BF #BF3158
square
#9FBF31 #31BF98 #5131BF #BF3158
split-complementary
#9FBF31 #3158BF #9831BF
monochromatic
#4E5E18 #768E25 #9FBF31 #B9D459 #CDE18A
Accessibility & contrast
On white
2.11
#9FBF31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.97
#9FBF31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FBF31
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FBF31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FBF31 | 1.00 | 2.11 | 9.97 | 9.97 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB312
Deuteranopia (green-blind)
#C7B33E
Tritanopia (blue-blind)
#A8B5A4
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #9fbf31; /* rgb */ color: rgb(159, 191, 49); /* oklch */ color: oklch(75.5% 0.165 121.8);
Tailwind
colors: {
custom: {
50: '#bfd274',
500: '#9fbf31',
950: '#000000',
},
}SCSS
$custom: #9fbf31; $custom-light: #bfd274; $custom-dark: #000000;
JSON
{
"hex": "#9fbf31",
"rgb": {
"r": 159,
"g": 191,
"b": 49
},
"hsl": {
"h": 73.521,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.75539,
"c": 0.16539,
"h": 121.8
},
"luminance": 0.44854
}Semantic roles & 50–950 ramp
primary
#9FBF31
secondary
#9281CB
accent
#45E269
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B