#9EA226#9EA226
#9EA226 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.7% C 0.139 H 111.5°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA226 |
|---|---|
| RGB | rgb(158, 162, 38) |
| HSL | hsl(62, 62%, 39%) |
| HSV | hsv(62, 77%, 64%) |
| CMYK | cmyk(2.5%, 0%, 76.5%, 36.5%) |
| CIE-LAB | lab(64.36, -16.21, 59.17) |
| CIE-LCH | lch(64.36, 61.35, 105.32°) |
| OKLab | oklab(68.72% -0.0509 0.1296) |
| OKLCH | oklch(68.72% 0.139 111.5) |
| XYZ | xyz(27.3717, 33.2504, 6.8095) |
| Luminance | 0.3325 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.74
Puke
#A5A502
ΔE00 2.85
Pea Soup Green
#94A617
ΔE00 3.33
Pea Soup
#929901
ΔE00 3.36
Baby Poop Green
#8F9805
ΔE00 3.80
Puke Green
#9AAE07
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA226 #2A26A2
analogous
#A26826 #9EA226 #60A226
triadic
#9EA226 #269EA2 #A2269E
tetradic
#9EA226 #26A268 #2A26A2 #A22660
square
#9EA226 #26A268 #2A26A2 #A22660
split-complementary
#9EA226 #2660A2 #6826A2
monochromatic
#3D3F0F #6E701A #9EA226 #CBD035 #D8DB67
Accessibility & contrast
On white
2.75
#9EA226 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#9EA226 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA226
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA226 | 1.00 | 2.75 | 7.65 | 7.65 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9A06
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#A9988B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9ea226; /* rgb */ color: rgb(158, 162, 38); /* oklch */ color: oklch(68.7% 0.139 111.5);
Tailwind
colors: {
custom: {
50: '#bebd6b',
500: '#9ea226',
950: '#000000',
},
}SCSS
$custom: #9ea226; $custom-light: #bebd6b; $custom-dark: #000000;
JSON
{
"hex": "#9ea226",
"rgb": {
"r": 158,
"g": 162,
"b": 38
},
"hsl": {
"h": 61.935,
"s": 62,
"l": 39.216
},
"oklch": {
"l": 0.68723,
"c": 0.13928,
"h": 111.5
},
"luminance": 0.3325
}Semantic roles & 50–950 ramp
primary
#9EA226
secondary
#6663C1
accent
#43E548
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A