#9FB040#9FB040
#9FB040 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.2% C 0.137 H 117.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9FB040 |
|---|---|
| RGB | rgb(159, 176, 64) |
| HSL | hsl(69, 47%, 47%) |
| HSV | hsv(69, 64%, 69%) |
| CMYK | cmyk(9.7%, 0%, 63.6%, 31%) |
| CIE-LAB | lab(68.60, -21.41, 53.52) |
| CIE-LCH | lch(68.60, 57.64, 111.81°) |
| OKLab | oklab(72.19% -0.063 0.122) |
| OKLCH | oklch(72.19% 0.137 117.3) |
| XYZ | xyz(30.7494, 38.7921, 10.7172) |
| Luminance | 0.3879 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.15
Avocado (survey)
#90B134
ΔE00 3.36
Icky Green
#8FAE22
ΔE00 3.65
Sick Green
#9DB92C
ΔE00 3.65
Sickly Green
#94B21C
ΔE00 3.69
Puke Green
#9AAE07
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FB040 #5140B0
analogous
#B08940 #9FB040 #67B040
triadic
#9FB040 #409FB0 #B0409F
tetradic
#9FB040 #40B089 #5140B0 #B04067
square
#9FB040 #40B089 #5140B0 #B04067
split-complementary
#9FB040 #4067B0 #8940B0
monochromatic
#4E561F #768330 #9FB040 #B9C766 #CDD893
Accessibility & contrast
On white
2.40
#9FB040 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#9FB040 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FB040
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FB040 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FB040 | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA732
Deuteranopia (green-blind)
#BAA848
Tritanopia (blue-blind)
#A8A799
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #9fb040; /* rgb */ color: rgb(159, 176, 64); /* oklch */ color: oklch(72.2% 0.137 117.3);
Tailwind
colors: {
custom: {
50: '#bec77a',
500: '#9fb040',
950: '#000000',
},
}SCSS
$custom: #9fb040; $custom-light: #bec77a; $custom-dark: #000000;
JSON
{
"hex": "#9fb040",
"rgb": {
"r": 159,
"g": 176,
"b": 64
},
"hsl": {
"h": 69.107,
"s": 46.667,
"l": 47.059
},
"oklch": {
"l": 0.72194,
"c": 0.1373,
"h": 117.3
},
"luminance": 0.38792
}Semantic roles & 50–950 ramp
primary
#9FB040
secondary
#9289C3
accent
#51D666
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C