#9EA238#9EA238
#9EA238 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.9% C 0.128 H 111.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA238 |
|---|---|
| RGB | rgb(158, 162, 56) |
| HSL | hsl(62, 49%, 43%) |
| HSV | hsv(62, 65%, 64%) |
| CMYK | cmyk(2.5%, 0%, 65.4%, 36.5%) |
| CIE-LAB | lab(64.48, -15.26, 52.53) |
| CIE-LCH | lch(64.48, 54.70, 106.19°) |
| OKLab | oklab(68.85% -0.0465 0.1187) |
| OKLCH | oklch(68.85% 0.128 111.4) |
| XYZ | xyz(27.7355, 33.3960, 8.7256) |
| Luminance | 0.3340 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.51
Pea Soup Green
#94A617
ΔE00 4.09
Pea Soup
#929901
ΔE00 4.46
Puke
#A5A502
ΔE00 4.56
Baby Poop Green
#8F9805
ΔE00 4.67
Baby Shit Green
#889717
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA238 #3C38A2
analogous
#A27138 #9EA238 #69A238
triadic
#9EA238 #389EA2 #A2389E
tetradic
#9EA238 #38A271 #3C38A2 #A23869
square
#9EA238 #38A271 #3C38A2 #A23869
split-complementary
#9EA238 #3869A2 #7138A2
monochromatic
#454719 #727528 #9EA238 #BFC453 #D0D381
Accessibility & contrast
On white
2.73
#9EA238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#9EA238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA238
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA238 | 1.00 | 2.73 | 7.68 | 7.68 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9B2A
Deuteranopia (green-blind)
#AF9E3F
Tritanopia (blue-blind)
#A9988C
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9ea238; /* rgb */ color: rgb(158, 162, 56); /* oklch */ color: oklch(68.9% 0.128 111.4);
Tailwind
colors: {
custom: {
50: '#bdbd74',
500: '#9ea238',
950: '#000000',
},
}SCSS
$custom: #9ea238; $custom-light: #bdbd74; $custom-dark: #000000;
JSON
{
"hex": "#9ea238",
"rgb": {
"r": 158,
"g": 162,
"b": 56
},
"hsl": {
"h": 62.264,
"s": 48.624,
"l": 42.745
},
"oklch": {
"l": 0.68854,
"c": 0.12753,
"h": 111.4
},
"luminance": 0.33395
}Semantic roles & 50–950 ramp
primary
#9EA238
secondary
#7B79BD
accent
#50D855
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B