#9EA52B#9EA52B
#9EA52B is a light, vivid yellow. Relative luminance 0.344; 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 | #9EA52B |
|---|---|
| RGB | rgb(158, 165, 43) |
| HSL | hsl(63, 59%, 41%) |
| HSV | hsv(63, 74%, 65%) |
| CMYK | cmyk(4.2%, 0%, 73.9%, 35.3%) |
| CIE-LAB | lab(65.24, -17.52, 58.30) |
| CIE-LCH | lch(65.24, 60.88, 106.73°) |
| OKLab | oklab(69.44% -0.0541 0.1287) |
| OKLCH | oklch(69.44% 0.14 112.8) |
| XYZ | xyz(27.9926, 34.3544, 7.4415) |
| Luminance | 0.3435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.28
Pea Soup Green
#94A617
ΔE00 2.68
Puke
#A5A502
ΔE00 3.35
Puke Green
#9AAE07
ΔE00 3.96
Pea Soup
#929901
ΔE00 4.13
Barf Green
#94AC02
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA52B #322BA5
analogous
#A56F2B #9EA52B #61A52B
triadic
#9EA52B #2B9EA5 #A52B9E
tetradic
#9EA52B #2BA56F #322BA5 #A52B61
square
#9EA52B #2BA56F #322BA5 #A52B61
split-complementary
#9EA52B #2B61A5 #6F2BA5
monochromatic
#414412 #70741E #9EA52B #C5CD40 #D4DA71
Accessibility & contrast
On white
2.67
#9EA52B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#9EA52B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA52B
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA52B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA52B | 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)
#B29D12
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#A99B8E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9ea52b; /* rgb */ color: rgb(158, 165, 43); /* oklch */ color: oklch(69.4% 0.140 112.8);
Tailwind
colors: {
custom: {
50: '#bebf6e',
500: '#9ea52b',
950: '#000000',
},
}SCSS
$custom: #9ea52b; $custom-light: #bebf6e; $custom-dark: #000000;
JSON
{
"hex": "#9ea52b",
"rgb": {
"r": 158,
"g": 165,
"b": 43
},
"hsl": {
"h": 63.443,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.69436,
"c": 0.13963,
"h": 112.8
},
"luminance": 0.34354
}Semantic roles & 50–950 ramp
primary
#9EA52B
secondary
#706BC1
accent
#46E24F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B