#9EAC2C#9EAC2C
#9EAC2C is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.0% C 0.147 H 115.8°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9EAC2C |
|---|---|
| RGB | rgb(158, 172, 44) |
| HSL | hsl(67, 59%, 42%) |
| HSV | hsv(67, 74%, 67%) |
| CMYK | cmyk(8.1%, 0%, 74.4%, 32.5%) |
| CIE-LAB | lab(67.24, -21.02, 59.86) |
| CIE-LCH | lch(67.24, 63.44, 109.35°) |
| OKLab | oklab(71.04% -0.0638 0.1322) |
| OKLCH | oklch(71.04% 0.147 115.8) |
| XYZ | xyz(29.3085, 36.9565, 7.9717) |
| Luminance | 0.3696 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.29
Pea Soup Green
#94A617
ΔE00 2.36
Barf Green
#94AC02
ΔE00 2.70
Pea Green
#8EAB12
ΔE00 3.37
Sickly Green
#94B21C
ΔE00 3.44
Icky Green
#8FAE22
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EAC2C #3A2CAC
analogous
#AC7A2C #9EAC2C #5EAC2C
triadic
#9EAC2C #2C9EAC #AC2C9E
tetradic
#9EAC2C #2CAC7A #3A2CAC #AC2C5E
square
#9EAC2C #2CAC7A #3A2CAC #AC2C5E
split-complementary
#9EAC2C #2C5EAC #7A2CAC
monochromatic
#444B13 #717B20 #9EAC2C #C0D046 #D1DC76
Accessibility & contrast
On white
2.50
#9EAC2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.39
#9EAC2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EAC2C
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EAC2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EAC2C | 1.00 | 2.50 | 8.39 | 8.39 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A310
Deuteranopia (green-blind)
#B7A537
Tritanopia (blue-blind)
#A8A294
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #9eac2c; /* rgb */ color: rgb(158, 172, 44); /* oklch */ color: oklch(71.0% 0.147 115.8);
Tailwind
colors: {
custom: {
50: '#bec46f',
500: '#9eac2c',
950: '#000000',
},
}SCSS
$custom: #9eac2c; $custom-light: #bec46f; $custom-dark: #000000;
JSON
{
"hex": "#9eac2c",
"rgb": {
"r": 158,
"g": 172,
"b": 44
},
"hsl": {
"h": 66.563,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.71043,
"c": 0.14674,
"h": 115.8
},
"luminance": 0.36956
}Semantic roles & 50–950 ramp
primary
#9EAC2C
secondary
#7970C4
accent
#45E257
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B