#9EB128#9EB128
#9EB128 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.2% C 0.155 H 117.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9EB128 |
|---|---|
| RGB | rgb(158, 177, 40) |
| HSL | hsl(68, 63%, 43%) |
| HSV | hsv(68, 77%, 69%) |
| CMYK | cmyk(10.7%, 0%, 77.4%, 30.6%) |
| CIE-LAB | lab(68.65, -23.68, 62.48) |
| CIE-LCH | lch(68.65, 66.81, 110.76°) |
| OKLab | oklab(72.17% -0.0714 0.137) |
| OKLCH | oklch(72.17% 0.155 117.5) |
| XYZ | xyz(30.2064, 38.8669, 7.9179) |
| Luminance | 0.3887 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.79
Sickly Green
#94B21C
ΔE00 2.22
Barf Green
#94AC02
ΔE00 2.36
Booger Green
#96B403
ΔE00 2.50
Sick Green
#9DB92C
ΔE00 2.57
Booger
#9BB53C
ΔE00 2.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EB128 #3B28B1
analogous
#B17F28 #9EB128 #5AB128
triadic
#9EB128 #289EB1 #B1289E
tetradic
#9EB128 #28B17F #3B28B1 #B1285A
square
#9EB128 #28B17F #3B28B1 #B1285A
split-complementary
#9EB128 #285AB1 #7F28B1
monochromatic
#454D11 #717F1D #9EB128 #C0D442 #D1E074
Accessibility & contrast
On white
2.39
#9EB128 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#9EB128 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EB128
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EB128 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EB128 | 1.00 | 2.39 | 8.77 | 8.77 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#A8A798
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #9eb128; /* rgb */ color: rgb(158, 177, 40); /* oklch */ color: oklch(72.2% 0.155 117.5);
Tailwind
colors: {
custom: {
50: '#bec86e',
500: '#9eb128',
950: '#000000',
},
}SCSS
$custom: #9eb128; $custom-light: #bec86e; $custom-dark: #000000;
JSON
{
"hex": "#9eb128",
"rgb": {
"r": 158,
"g": 177,
"b": 40
},
"hsl": {
"h": 68.321,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.72169,
"c": 0.15451,
"h": 117.5
},
"luminance": 0.38867
}Semantic roles & 50–950 ramp
primary
#9EB128
secondary
#7A6EC7
accent
#42E658
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B