#9EAA27#9EAA27
#9EAA27 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.147 H 114.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9EAA27 |
|---|---|
| RGB | rgb(158, 170, 39) |
| HSL | hsl(65, 63%, 41%) |
| HSV | hsv(65, 77%, 67%) |
| CMYK | cmyk(7.1%, 0%, 77.1%, 33.3%) |
| CIE-LAB | lab(66.65, -20.24, 60.95) |
| CIE-LCH | lch(66.65, 64.22, 108.37°) |
| OKLab | oklab(70.55% -0.062 0.1336) |
| OKLCH | oklch(70.55% 0.147 114.9) |
| XYZ | xyz(28.8423, 36.1656, 7.3803) |
| Luminance | 0.3617 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.08
Puke Green
#9AAE07
ΔE00 2.36
Barf Green
#94AC02
ΔE00 2.80
Vomit
#A2A415
ΔE00 3.10
Pea Green
#8EAB12
ΔE00 3.63
Puke
#A5A502
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EAA27 #3327AA
analogous
#AA7427 #9EAA27 #5CAA27
triadic
#9EAA27 #279EAA #AA279E
tetradic
#9EAA27 #27AA74 #3327AA #AA275C
square
#9EAA27 #27AA74 #3327AA #AA275C
split-complementary
#9EAA27 #275CAA #7427AA
monochromatic
#414610 #70781C #9EAA27 #C4D23C #D3DE6E
Accessibility & contrast
On white
2.55
#9EAA27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#9EAA27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EAA27
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EAA27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EAA27 | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A102
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#A9A092
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9eaa27; /* rgb */ color: rgb(158, 170, 39); /* oklch */ color: oklch(70.6% 0.147 114.9);
Tailwind
colors: {
custom: {
50: '#bec36c',
500: '#9eaa27',
950: '#000000',
},
}SCSS
$custom: #9eaa27; $custom-light: #bec36c; $custom-dark: #000000;
JSON
{
"hex": "#9eaa27",
"rgb": {
"r": 158,
"g": 170,
"b": 39
},
"hsl": {
"h": 65.496,
"s": 62.679,
"l": 40.98
},
"oklch": {
"l": 0.70554,
"c": 0.14728,
"h": 114.9
},
"luminance": 0.36165
}Semantic roles & 50–950 ramp
primary
#9EAA27
secondary
#7169C4
accent
#42E651
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B