#9FB338#9FB338
#9FB338 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.8% C 0.147 H 118.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9FB338 |
|---|---|
| RGB | rgb(159, 179, 56) |
| HSL | hsl(70, 52%, 46%) |
| HSV | hsv(70, 69%, 70%) |
| CMYK | cmyk(11.2%, 0%, 68.7%, 29.8%) |
| CIE-LAB | lab(69.40, -23.42, 57.60) |
| CIE-LCH | lch(69.40, 62.18, 112.13°) |
| OKLab | oklab(72.81% -0.0694 0.1294) |
| OKLCH | oklch(72.81% 0.147 118.2) |
| XYZ | xyz(31.1326, 39.8969, 9.8014) |
| Luminance | 0.3990 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 1.47
Sick Green
#9DB92C
ΔE00 2.31
Sickly Green
#94B21C
ΔE00 2.66
Avocado (survey)
#90B134
ΔE00 3.02
Icky Green
#8FAE22
ΔE00 3.11
Puke Green
#9AAE07
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FB338 #4C38B3
analogous
#B38938 #9FB338 #61B338
triadic
#9FB338 #389FB3 #B3389F
tetradic
#9FB338 #38B389 #4C38B3 #B33861
square
#9FB338 #38B389 #4C38B3 #B33861
split-complementary
#9FB338 #3861B3 #8938B3
monochromatic
#4C561B #768429 #9FB338 #BACC5C #CEDB8B
Accessibility & contrast
On white
2.34
#9FB338 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#9FB338 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FB338
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FB338 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FB338 | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA925
Deuteranopia (green-blind)
#BDAA41
Tritanopia (blue-blind)
#A8A99A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #9fb338; /* rgb */ color: rgb(159, 179, 56); /* oklch */ color: oklch(72.8% 0.147 118.2);
Tailwind
colors: {
custom: {
50: '#bec976',
500: '#9fb338',
950: '#000000',
},
}SCSS
$custom: #9fb338; $custom-light: #bec976; $custom-dark: #000000;
JSON
{
"hex": "#9fb338",
"rgb": {
"r": 159,
"g": 179,
"b": 56
},
"hsl": {
"h": 69.756,
"s": 52.34,
"l": 46.078
},
"oklch": {
"l": 0.72814,
"c": 0.14682,
"h": 118.2
},
"luminance": 0.39897
}Semantic roles & 50–950 ramp
primary
#9FB338
secondary
#8D82C5
accent
#4CDC63
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B