#9EB231#9EB231
#9EB231 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.5% C 0.151 H 118.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9EB231 |
|---|---|
| RGB | rgb(158, 178, 49) |
| HSL | hsl(69, 57%, 45%) |
| HSV | hsv(69, 72%, 70%) |
| CMYK | cmyk(11.2%, 0%, 72.5%, 30.2%) |
| CIE-LAB | lab(68.99, -23.74, 59.78) |
| CIE-LCH | lch(68.99, 64.33, 111.66°) |
| OKLab | oklab(72.46% -0.0709 0.1329) |
| OKLCH | oklch(72.46% 0.151 118.1) |
| XYZ | xyz(30.5760, 39.3319, 8.8862) |
| Luminance | 0.3933 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 1.93
Sickly Green
#94B21C
ΔE00 2.25
Sick Green
#9DB92C
ΔE00 2.27
Puke Green
#9AAE07
ΔE00 2.60
Icky Green
#8FAE22
ΔE00 2.83
Booger Green
#96B403
ΔE00 2.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EB231 #4531B2
analogous
#B28531 #9EB231 #5EB231
triadic
#9EB231 #319EB2 #B2319E
tetradic
#9EB231 #31B285 #4531B2 #B2315E
square
#9EB231 #31B285 #4531B2 #B2315E
split-complementary
#9EB231 #315EB2 #8531B2
monochromatic
#495217 #738224 #9EB231 #BCCF51 #CEDC81
Accessibility & contrast
On white
2.37
#9EB231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#9EB231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EB231
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EB231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EB231 | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#A8A899
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #9eb231; /* rgb */ color: rgb(158, 178, 49); /* oklch */ color: oklch(72.5% 0.151 118.1);
Tailwind
colors: {
custom: {
50: '#bec972',
500: '#9eb231',
950: '#000000',
},
}SCSS
$custom: #9eb231; $custom-light: #bec972; $custom-dark: #000000;
JSON
{
"hex": "#9eb231",
"rgb": {
"r": 158,
"g": 178,
"b": 49
},
"hsl": {
"h": 69.302,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.72456,
"c": 0.15058,
"h": 118.1
},
"luminance": 0.39332
}Semantic roles & 50–950 ramp
primary
#9EB231
secondary
#8579C5
accent
#48E05F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B