#9EB238#9EB238
#9EB238 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.5% C 0.146 H 118.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9EB238 |
|---|---|
| RGB | rgb(158, 178, 56) |
| HSL | hsl(70, 52%, 46%) |
| HSV | hsv(70, 69%, 70%) |
| CMYK | cmyk(11.2%, 0%, 68.5%, 30.2%) |
| CIE-LAB | lab(69.04, -23.35, 57.21) |
| CIE-LCH | lch(69.04, 61.79, 112.20°) |
| OKLab | oklab(72.51% -0.0691 0.1286) |
| OKLCH | oklch(72.51% 0.146 118.3) |
| XYZ | xyz(30.7354, 39.3957, 9.7256) |
| Luminance | 0.3940 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 1.50
Sick Green
#9DB92C
ΔE00 2.52
Sickly Green
#94B21C
ΔE00 2.64
Avocado (survey)
#90B134
ΔE00 2.89
Icky Green
#8FAE22
ΔE00 2.95
Puke Green
#9AAE07
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EB238 #4C38B2
analogous
#B28938 #9EB238 #61B238
triadic
#9EB238 #389EB2 #B2389E
tetradic
#9EB238 #38B289 #4C38B2 #B23861
square
#9EB238 #38B289 #4C38B2 #B23861
split-complementary
#9EB238 #3861B2 #8938B2
monochromatic
#4B551B #758329 #9EB238 #B9CC5C #CDDA8A
Accessibility & contrast
On white
2.37
#9EB238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#9EB238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EB238
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EB238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EB238 | 1.00 | 2.37 | 8.88 | 8.88 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA825
Deuteranopia (green-blind)
#BBA941
Tritanopia (blue-blind)
#A7A89A
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #9eb238; /* rgb */ color: rgb(158, 178, 56); /* oklch */ color: oklch(72.5% 0.146 118.3);
Tailwind
colors: {
custom: {
50: '#bec976',
500: '#9eb238',
950: '#000000',
},
}SCSS
$custom: #9eb238; $custom-light: #bec976; $custom-dark: #000000;
JSON
{
"hex": "#9eb238",
"rgb": {
"r": 158,
"g": 178,
"b": 56
},
"hsl": {
"h": 69.836,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.72507,
"c": 0.146,
"h": 118.3
},
"luminance": 0.39395
}Semantic roles & 50–950 ramp
primary
#9EB238
secondary
#8C81C5
accent
#4CDC64
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B