#9EA52A#9EA52A
#9EA52A is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.4% C 0.140 H 112.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA52A |
|---|---|
| RGB | rgb(158, 165, 42) |
| HSL | hsl(63, 59%, 41%) |
| HSV | hsv(63, 75%, 65%) |
| CMYK | cmyk(4.2%, 0%, 74.5%, 35.3%) |
| CIE-LAB | lab(65.24, -17.57, 58.64) |
| CIE-LCH | lch(65.24, 61.22, 106.68°) |
| OKLab | oklab(69.43% -0.0544 0.1292) |
| OKLCH | oklch(69.43% 0.14 112.8) |
| XYZ | xyz(27.9745, 34.3472, 7.3461) |
| Luminance | 0.3435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.20
Pea Soup Green
#94A617
ΔE00 2.65
Puke
#A5A502
ΔE00 3.27
Puke Green
#9AAE07
ΔE00 3.92
Pea Soup
#929901
ΔE00 4.10
Barf Green
#94AC02
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA52A #312AA5
analogous
#A56F2A #9EA52A #60A52A
triadic
#9EA52A #2A9EA5 #A52A9E
tetradic
#9EA52A #2AA56F #312AA5 #A52A60
square
#9EA52A #2AA56F #312AA5 #A52A60
split-complementary
#9EA52A #2A60A5 #6F2AA5
monochromatic
#414311 #6F741E #9EA52A #C6CE3E #D4DA6F
Accessibility & contrast
On white
2.67
#9EA52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#9EA52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA52A
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA52A | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D0F
Deuteranopia (green-blind)
#B2A034
Tritanopia (blue-blind)
#A99B8E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9ea52a; /* rgb */ color: rgb(158, 165, 42); /* oklch */ color: oklch(69.4% 0.140 112.8);
Tailwind
colors: {
custom: {
50: '#bebf6d',
500: '#9ea52a',
950: '#000000',
},
}SCSS
$custom: #9ea52a; $custom-light: #bebf6d; $custom-dark: #000000;
JSON
{
"hex": "#9ea52a",
"rgb": {
"r": 158,
"g": 165,
"b": 42
},
"hsl": {
"h": 63.415,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.6943,
"c": 0.14021,
"h": 112.8
},
"luminance": 0.34347
}Semantic roles & 50–950 ramp
primary
#9EA52A
secondary
#6E69C1
accent
#45E34E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B