#9EAB2C#9EAB2C
#9EAB2C is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.8% C 0.146 H 115.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9EAB2C |
|---|---|
| RGB | rgb(158, 171, 44) |
| HSL | hsl(66, 59%, 42%) |
| HSV | hsv(66, 74%, 67%) |
| CMYK | cmyk(7.6%, 0%, 74.3%, 32.9%) |
| CIE-LAB | lab(66.96, -20.51, 59.59) |
| CIE-LCH | lch(66.96, 63.02, 109.00°) |
| OKLab | oklab(70.81% -0.0624 0.1316) |
| OKLCH | oklch(70.81% 0.146 115.4) |
| XYZ | xyz(29.1189, 36.5773, 7.9085) |
| Luminance | 0.3658 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.26
Puke Green
#9AAE07
ΔE00 2.46
Barf Green
#94AC02
ΔE00 2.85
Pea Green
#8EAB12
ΔE00 3.52
Vomit
#A2A415
ΔE00 3.60
Sickly Green
#94B21C
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EAB2C #392CAB
analogous
#AB792C #9EAB2C #5EAB2C
triadic
#9EAB2C #2C9EAB #AB2C9E
tetradic
#9EAB2C #2CAB79 #392CAB #AB2C5E
square
#9EAB2C #2CAB79 #392CAB #AB2C5E
split-complementary
#9EAB2C #2C5EAB #792CAB
monochromatic
#444A13 #717A1F #9EAB2C #C1CF45 #D1DC76
Accessibility & contrast
On white
2.53
#9EAB2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#9EAB2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EAB2C
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EAB2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EAB2C | 1.00 | 2.53 | 8.32 | 8.32 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A211
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#A8A193
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9eab2c; /* rgb */ color: rgb(158, 171, 44); /* oklch */ color: oklch(70.8% 0.146 115.4);
Tailwind
colors: {
custom: {
50: '#bec36f',
500: '#9eab2c',
950: '#000000',
},
}SCSS
$custom: #9eab2c; $custom-light: #bec36f; $custom-dark: #000000;
JSON
{
"hex": "#9eab2c",
"rgb": {
"r": 158,
"g": 171,
"b": 44
},
"hsl": {
"h": 66.142,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.70813,
"c": 0.14562,
"h": 115.4
},
"luminance": 0.36577
}Semantic roles & 50–950 ramp
primary
#9EAB2C
secondary
#786FC3
accent
#46E256
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B