#9FB231#9FB231
#9FB231 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.5% C 0.150 H 117.7°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9FB231 |
|---|---|
| RGB | rgb(159, 178, 49) |
| HSL | hsl(69, 57%, 45%) |
| HSV | hsv(69, 72%, 70%) |
| CMYK | cmyk(10.7%, 0%, 72.5%, 30.2%) |
| CIE-LAB | lab(69.06, -23.32, 59.88) |
| CIE-LCH | lch(69.06, 64.26, 111.28°) |
| OKLab | oklab(72.53% -0.0698 0.133) |
| OKLCH | oklch(72.53% 0.15 117.7) |
| XYZ | xyz(30.7735, 39.4338, 8.8955) |
| Luminance | 0.3943 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.11
Sick Green
#9DB92C
ΔE00 2.38
Sickly Green
#94B21C
ΔE00 2.42
Puke Green
#9AAE07
ΔE00 2.56
Booger Green
#96B403
ΔE00 2.93
Barf Green
#94AC02
ΔE00 3.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FB231 #4431B2
analogous
#B28531 #9FB231 #5FB231
triadic
#9FB231 #319FB2 #B2319F
tetradic
#9FB231 #31B285 #4431B2 #B2315F
square
#9FB231 #31B285 #4431B2 #B2315F
split-complementary
#9FB231 #315FB2 #8531B2
monochromatic
#495217 #748224 #9FB231 #BDCF51 #CFDC81
Accessibility & contrast
On white
2.36
#9FB231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#9FB231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FB231
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FB231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FB231 | 1.00 | 2.36 | 8.89 | 8.89 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#A9A899
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #9fb231; /* rgb */ color: rgb(159, 178, 49); /* oklch */ color: oklch(72.5% 0.150 117.7);
Tailwind
colors: {
custom: {
50: '#bfc972',
500: '#9fb231',
950: '#000000',
},
}SCSS
$custom: #9fb231; $custom-light: #bfc972; $custom-dark: #000000;
JSON
{
"hex": "#9fb231",
"rgb": {
"r": 159,
"g": 178,
"b": 49
},
"hsl": {
"h": 68.837,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.72533,
"c": 0.15022,
"h": 117.7
},
"luminance": 0.39433
}Semantic roles & 50–950 ramp
primary
#9FB231
secondary
#8579C5
accent
#48E05E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B