#9FB042#9FB042
#9FB042 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.2% C 0.136 H 117.4°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9FB042 |
|---|---|
| RGB | rgb(159, 176, 66) |
| HSL | hsl(69, 45%, 47%) |
| HSV | hsv(69, 63%, 69%) |
| CMYK | cmyk(9.7%, 0%, 62.5%, 31%) |
| CIE-LAB | lab(68.62, -21.27, 52.68) |
| CIE-LCH | lch(68.62, 56.81, 111.99°) |
| OKLab | oklab(72.21% -0.0624 0.1205) |
| OKLCH | oklch(72.21% 0.136 117.4) |
| XYZ | xyz(30.8074, 38.8153, 11.0224) |
| Luminance | 0.3881 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.20
Avocado (survey)
#90B134
ΔE00 3.39
Icky Green
#8FAE22
ΔE00 3.78
Sick Green
#9DB92C
ΔE00 3.80
Sickly Green
#94B21C
ΔE00 3.88
Puke Green
#9AAE07
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FB042 #5342B0
analogous
#B08A42 #9FB042 #68B042
triadic
#9FB042 #429FB0 #B0429F
tetradic
#9FB042 #42B08A #5342B0 #B04268
square
#9FB042 #42B08A #5342B0 #B04268
split-complementary
#9FB042 #4268B0 #8A42B0
monochromatic
#4F5721 #778331 #9FB042 #B8C769 #CDD795
Accessibility & contrast
On white
2.40
#9FB042 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#9FB042 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FB042
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FB042 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FB042 | 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)
#BBA735
Deuteranopia (green-blind)
#BAA849
Tritanopia (blue-blind)
#A8A799
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #9fb042; /* rgb */ color: rgb(159, 176, 66); /* oklch */ color: oklch(72.2% 0.136 117.4);
Tailwind
colors: {
custom: {
50: '#bec77b',
500: '#9fb042',
950: '#000000',
},
}SCSS
$custom: #9fb042; $custom-light: #bec77b; $custom-dark: #000000;
JSON
{
"hex": "#9fb042",
"rgb": {
"r": 159,
"g": 176,
"b": 66
},
"hsl": {
"h": 69.273,
"s": 45.455,
"l": 47.451
},
"oklch": {
"l": 0.72213,
"c": 0.1357,
"h": 117.4
},
"luminance": 0.38815
}Semantic roles & 50–950 ramp
primary
#9FB042
secondary
#948BC3
accent
#53D567
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C