#9EAC2B#9EAC2B
#9EAC2B is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.0% C 0.147 H 115.7°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9EAC2B |
|---|---|
| RGB | rgb(158, 172, 43) |
| HSL | hsl(67, 60%, 42%) |
| HSV | hsv(67, 75%, 67%) |
| CMYK | cmyk(8.1%, 0%, 75%, 32.5%) |
| CIE-LAB | lab(67.24, -21.06, 60.19) |
| CIE-LCH | lch(67.24, 63.77, 109.29°) |
| OKLab | oklab(71.04% -0.064 0.1327) |
| OKLCH | oklch(71.04% 0.147 115.7) |
| XYZ | xyz(29.2899, 36.9490, 7.8739) |
| Luminance | 0.3695 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.21
Pea Soup Green
#94A617
ΔE00 2.33
Barf Green
#94AC02
ΔE00 2.65
Pea Green
#8EAB12
ΔE00 3.35
Sickly Green
#94B21C
ΔE00 3.43
Icky Green
#8FAE22
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EAC2B #392BAC
analogous
#AC7A2B #9EAC2B #5DAC2B
triadic
#9EAC2B #2B9EAC #AC2B9E
tetradic
#9EAC2B #2BAC7A #392BAC #AC2B5D
square
#9EAC2B #2BAC7A #392BAC #AC2B5D
split-complementary
#9EAC2B #2B5DAC #7A2BAC
monochromatic
#444A13 #717B1F #9EAC2B #C1D044 #D1DC75
Accessibility & contrast
On white
2.50
#9EAC2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.39
#9EAC2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EAC2B
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EAC2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EAC2B | 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)
#B8A30E
Deuteranopia (green-blind)
#B7A536
Tritanopia (blue-blind)
#A8A294
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #9eac2b; /* rgb */ color: rgb(158, 172, 43); /* oklch */ color: oklch(71.0% 0.147 115.7);
Tailwind
colors: {
custom: {
50: '#bec46e',
500: '#9eac2b',
950: '#000000',
},
}SCSS
$custom: #9eac2b; $custom-light: #bec46e; $custom-dark: #000000;
JSON
{
"hex": "#9eac2b",
"rgb": {
"r": 158,
"g": 172,
"b": 43
},
"hsl": {
"h": 66.512,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.71036,
"c": 0.14731,
"h": 115.7
},
"luminance": 0.36949
}Semantic roles & 50–950 ramp
primary
#9EAC2B
secondary
#786FC4
accent
#45E356
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B