#9EB126#9EB126
#9EB126 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.2% C 0.156 H 117.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9EB126 |
|---|---|
| RGB | rgb(158, 177, 38) |
| HSL | hsl(68, 65%, 42%) |
| HSV | hsv(68, 79%, 69%) |
| CMYK | cmyk(10.7%, 0%, 78.5%, 30.6%) |
| CIE-LAB | lab(68.65, -23.76, 63.08) |
| CIE-LCH | lch(68.65, 67.41, 110.64°) |
| OKLab | oklab(72.16% -0.0718 0.1379) |
| OKLCH | oklch(72.16% 0.156 117.5) |
| XYZ | xyz(30.1733, 38.8537, 7.7433) |
| Luminance | 0.3885 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.65
Sickly Green
#94B21C
ΔE00 2.22
Barf Green
#94AC02
ΔE00 2.27
Booger Green
#96B403
ΔE00 2.42
Sick Green
#9DB92C
ΔE00 2.60
Booger
#9BB53C
ΔE00 2.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EB126 #3926B1
analogous
#B17E26 #9EB126 #59B126
triadic
#9EB126 #269EB1 #B1269E
tetradic
#9EB126 #26B17E #3926B1 #B12659
square
#9EB126 #26B17E #3926B1 #B12659
split-complementary
#9EB126 #2659B1 #7E26B1
monochromatic
#444C10 #717F1B #9EB126 #C1D63F #D1E071
Accessibility & contrast
On white
2.39
#9EB126 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#9EB126 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EB126
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EB126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EB126 | 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)
#BBA833
Tritanopia (blue-blind)
#A8A797
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #9eb126; /* rgb */ color: rgb(158, 177, 38); /* oklch */ color: oklch(72.2% 0.156 117.5);
Tailwind
colors: {
custom: {
50: '#bec86d',
500: '#9eb126',
950: '#000000',
},
}SCSS
$custom: #9eb126; $custom-light: #bec86d; $custom-dark: #000000;
JSON
{
"hex": "#9eb126",
"rgb": {
"r": 158,
"g": 177,
"b": 38
},
"hsl": {
"h": 68.201,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.72158,
"c": 0.15552,
"h": 117.5
},
"luminance": 0.38853
}Semantic roles & 50–950 ramp
primary
#9EB126
secondary
#786BC7
accent
#40E857
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A