#9EAC1F#9EAC1F
#9EAC1F is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.0% C 0.153 H 115.6°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9EAC1F |
|---|---|
| RGB | rgb(158, 172, 31) |
| HSL | hsl(66, 69%, 40%) |
| HSV | hsv(66, 82%, 67%) |
| CMYK | cmyk(8.1%, 0%, 82%, 32.5%) |
| CIE-LAB | lab(67.18, -21.55, 63.76) |
| CIE-LCH | lch(67.18, 67.30, 108.67°) |
| OKLab | oklab(70.97% -0.0662 0.1382) |
| OKLCH | oklch(70.97% 0.153 115.6) |
| XYZ | xyz(29.1013, 36.8736, 6.8803) |
| Luminance | 0.3687 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.53
Pea Soup Green
#94A617
ΔE00 2.22
Barf Green
#94AC02
ΔE00 2.23
Mustard Green
#A8B504
ΔE00 3.23
Pea Green
#8EAB12
ΔE00 3.34
Vomit
#A2A415
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EAC1F #2D1FAC
analogous
#AC731F #9EAC1F #58AC1F
triadic
#9EAC1F #1F9EAC #AC1F9E
tetradic
#9EAC1F #1FAC73 #2D1FAC #AC1F58
square
#9EAC1F #1FAC73 #2D1FAC #AC1F58
split-complementary
#9EAC1F #1F58AC #731FAC
monochromatic
#3F440C #6E7816 #9EAC1F #C9D92F #D6E363
Accessibility & contrast
On white
2.51
#9EAC1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#9EAC1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EAC1F
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EAC1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EAC1F | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B8A52E
Tritanopia (blue-blind)
#A9A293
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9eac1f; /* rgb */ color: rgb(158, 172, 31); /* oklch */ color: oklch(71.0% 0.153 115.6);
Tailwind
colors: {
custom: {
50: '#bec469',
500: '#9eac1f',
950: '#000000',
},
}SCSS
$custom: #9eac1f; $custom-light: #bec469; $custom-dark: #000000;
JSON
{
"hex": "#9eac1f",
"rgb": {
"r": 158,
"g": 172,
"b": 31
},
"hsl": {
"h": 65.957,
"s": 69.458,
"l": 39.804
},
"oklch": {
"l": 0.70973,
"c": 0.15322,
"h": 115.6
},
"luminance": 0.36873
}Semantic roles & 50–950 ramp
primary
#9EAC1F
secondary
#695FC8
accent
#3CEC4D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A