#9EAC27#9EAC27
#9EAC27 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.0% C 0.149 H 115.7°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9EAC27 |
|---|---|
| RGB | rgb(158, 172, 39) |
| HSL | hsl(66, 63%, 41%) |
| HSV | hsv(66, 77%, 67%) |
| CMYK | cmyk(8.1%, 0%, 77.3%, 32.5%) |
| CIE-LAB | lab(67.22, -21.24, 61.47) |
| CIE-LCH | lch(67.22, 65.04, 109.06°) |
| OKLab | oklab(71.01% -0.0648 0.1347) |
| OKLCH | oklch(71.01% 0.149 115.7) |
| XYZ | xyz(29.2201, 36.9211, 7.5063) |
| Luminance | 0.3692 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.94
Pea Soup Green
#94A617
ΔE00 2.24
Barf Green
#94AC02
ΔE00 2.46
Pea Green
#8EAB12
ΔE00 3.31
Sickly Green
#94B21C
ΔE00 3.40
Icky Green
#8FAE22
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EAC27 #3527AC
analogous
#AC7827 #9EAC27 #5CAC27
triadic
#9EAC27 #279EAC #AC279E
tetradic
#9EAC27 #27AC78 #3527AC #AC275C
square
#9EAC27 #27AC78 #3527AC #AC275C
split-complementary
#9EAC27 #275CAC #7827AC
monochromatic
#424810 #707A1C #9EAC27 #C3D33D #D3DE6F
Accessibility & contrast
On white
2.50
#9EAC27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#9EAC27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EAC27
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EAC27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EAC27 | 1.00 | 2.50 | 8.38 | 8.38 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A301
Deuteranopia (green-blind)
#B7A533
Tritanopia (blue-blind)
#A8A293
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #9eac27; /* rgb */ color: rgb(158, 172, 39); /* oklch */ color: oklch(71.0% 0.149 115.7);
Tailwind
colors: {
custom: {
50: '#bec46d',
500: '#9eac27',
950: '#000000',
},
}SCSS
$custom: #9eac27; $custom-light: #bec46d; $custom-dark: #000000;
JSON
{
"hex": "#9eac27",
"rgb": {
"r": 158,
"g": 172,
"b": 39
},
"hsl": {
"h": 66.316,
"s": 63.033,
"l": 41.373
},
"oklch": {
"l": 0.71013,
"c": 0.14948,
"h": 115.7
},
"luminance": 0.36921
}Semantic roles & 50–950 ramp
primary
#9EAC27
secondary
#736AC5
accent
#42E653
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B