#9EA126#9EA126
#9EA126 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.5% C 0.138 H 111.0°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA126 |
|---|---|
| RGB | rgb(158, 161, 38) |
| HSL | hsl(61, 62%, 39%) |
| HSV | hsv(61, 76%, 63%) |
| CMYK | cmyk(1.9%, 0%, 76.4%, 36.9%) |
| CIE-LAB | lab(64.08, -15.69, 58.91) |
| CIE-LCH | lch(64.08, 60.96, 104.92°) |
| OKLab | oklab(68.5% -0.0495 0.1291) |
| OKLCH | oklch(68.5% 0.138 111) |
| XYZ | xyz(27.1962, 32.8995, 6.7510) |
| Luminance | 0.3290 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.82
Puke
#A5A502
ΔE00 2.90
Pea Soup
#929901
ΔE00 3.22
Pea Soup Green
#94A617
ΔE00 3.62
Baby Poop Green
#8F9805
ΔE00 3.67
Baby Shit Green
#889717
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA126 #2926A1
analogous
#A16726 #9EA126 #61A126
triadic
#9EA126 #269EA1 #A1269E
tetradic
#9EA126 #26A167 #2926A1 #A12661
square
#9EA126 #26A167 #2926A1 #A12661
split-complementary
#9EA126 #2661A1 #6726A1
monochromatic
#3D3E0F #6D6F1A #9EA126 #CCCF35 #D8DB66
Accessibility & contrast
On white
2.77
#9EA126 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.58
#9EA126 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA126
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA126 | 1.00 | 2.77 | 7.58 | 7.58 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A06
Deuteranopia (green-blind)
#AF9D30
Tritanopia (blue-blind)
#A9978A
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9ea126; /* rgb */ color: rgb(158, 161, 38); /* oklch */ color: oklch(68.5% 0.138 111.0);
Tailwind
colors: {
custom: {
50: '#bebc6b',
500: '#9ea126',
950: '#000000',
},
}SCSS
$custom: #9ea126; $custom-light: #bebc6b; $custom-dark: #000000;
JSON
{
"hex": "#9ea126",
"rgb": {
"r": 158,
"g": 161,
"b": 38
},
"hsl": {
"h": 61.463,
"s": 61.809,
"l": 39.02
},
"oklch": {
"l": 0.68496,
"c": 0.13824,
"h": 111
},
"luminance": 0.32899
}Semantic roles & 50–950 ramp
primary
#9EA126
secondary
#6462C1
accent
#43E547
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A