#9EA52C#9EA52C
#9EA52C is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.4% C 0.139 H 112.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA52C |
|---|---|
| RGB | rgb(158, 165, 44) |
| HSL | hsl(63, 58%, 41%) |
| HSV | hsv(63, 73%, 65%) |
| CMYK | cmyk(4.2%, 0%, 73.3%, 35.3%) |
| CIE-LAB | lab(65.25, -17.47, 57.96) |
| CIE-LCH | lch(65.25, 60.53, 106.78°) |
| OKLab | oklab(69.44% -0.0539 0.1281) |
| OKLCH | oklch(69.44% 0.139 112.8) |
| XYZ | xyz(28.0112, 34.3618, 7.5393) |
| Luminance | 0.3436 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.36
Pea Soup Green
#94A617
ΔE00 2.72
Puke
#A5A502
ΔE00 3.43
Puke Green
#9AAE07
ΔE00 4.01
Pea Soup
#929901
ΔE00 4.18
Barf Green
#94AC02
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA52C #332CA5
analogous
#A56F2C #9EA52C #61A52C
triadic
#9EA52C #2C9EA5 #A52C9E
tetradic
#9EA52C #2CA56F #332CA5 #A52C61
square
#9EA52C #2CA56F #332CA5 #A52C61
split-complementary
#9EA52C #2C61A5 #6F2CA5
monochromatic
#414412 #70751F #9EA52C #C4CD42 #D3D972
Accessibility & contrast
On white
2.67
#9EA52C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#9EA52C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA52C
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA52C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA52C | 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)
#B29D14
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#A99B8E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9ea52c; /* rgb */ color: rgb(158, 165, 44); /* oklch */ color: oklch(69.4% 0.139 112.8);
Tailwind
colors: {
custom: {
50: '#bebf6e',
500: '#9ea52c',
950: '#000000',
},
}SCSS
$custom: #9ea52c; $custom-light: #bebf6e; $custom-dark: #000000;
JSON
{
"hex": "#9ea52c",
"rgb": {
"r": 158,
"g": 165,
"b": 44
},
"hsl": {
"h": 63.471,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.69442,
"c": 0.13903,
"h": 112.8
},
"luminance": 0.34361
}Semantic roles & 50–950 ramp
primary
#9EA52C
secondary
#716CC1
accent
#47E150
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B