#9EA228#9EA228
#9EA228 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.7% C 0.138 H 111.4°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA228 |
|---|---|
| RGB | rgb(158, 162, 40) |
| HSL | hsl(62, 60%, 40%) |
| HSV | hsv(62, 75%, 64%) |
| CMYK | cmyk(2.5%, 0%, 75.3%, 36.5%) |
| CIE-LAB | lab(64.37, -16.12, 58.52) |
| CIE-LCH | lch(64.37, 60.70, 105.40°) |
| OKLab | oklab(68.74% -0.0505 0.1286) |
| OKLCH | oklch(68.74% 0.138 111.4) |
| XYZ | xyz(27.4048, 33.2637, 6.9840) |
| Luminance | 0.3326 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.89
Puke
#A5A502
ΔE00 3.01
Pea Soup Green
#94A617
ΔE00 3.36
Pea Soup
#929901
ΔE00 3.44
Baby Poop Green
#8F9805
ΔE00 3.85
Puke Green
#9AAE07
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA228 #2C28A2
analogous
#A26928 #9EA228 #61A228
triadic
#9EA228 #289EA2 #A2289E
tetradic
#9EA228 #28A269 #2C28A2 #A22861
square
#9EA228 #28A269 #2C28A2 #A22861
split-complementary
#9EA228 #2861A2 #6928A2
monochromatic
#3E4010 #6E711C #9EA228 #C9CE39 #D7DA6A
Accessibility & contrast
On white
2.74
#9EA228 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#9EA228 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA228
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA228 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA228 | 1.00 | 2.74 | 7.65 | 7.65 |
| #FFFFFF | 2.74 | 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)
#AF9A0C
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#A9988B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9ea228; /* rgb */ color: rgb(158, 162, 40); /* oklch */ color: oklch(68.7% 0.138 111.4);
Tailwind
colors: {
custom: {
50: '#bebd6c',
500: '#9ea228',
950: '#000000',
},
}SCSS
$custom: #9ea228; $custom-light: #bebd6c; $custom-dark: #000000;
JSON
{
"hex": "#9ea228",
"rgb": {
"r": 158,
"g": 162,
"b": 40
},
"hsl": {
"h": 61.967,
"s": 60.396,
"l": 39.608
},
"oklch": {
"l": 0.68735,
"c": 0.13818,
"h": 111.4
},
"luminance": 0.33263
}Semantic roles & 50–950 ramp
primary
#9EA228
secondary
#6865C1
accent
#44E449
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A