#9EA81F#9EA81F
#9EA81F is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.1% C 0.149 H 114.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA81F |
|---|---|
| RGB | rgb(158, 168, 31) |
| HSL | hsl(64, 69%, 39%) |
| HSV | hsv(64, 82%, 66%) |
| CMYK | cmyk(6%, 0%, 81.5%, 34.1%) |
| CIE-LAB | lab(66.04, -19.54, 62.76) |
| CIE-LCH | lch(66.04, 65.73, 107.29°) |
| OKLab | oklab(70.06% -0.0607 0.136) |
| OKLCH | oklch(70.06% 0.149 114.1) |
| XYZ | xyz(28.3514, 35.3739, 6.6304) |
| Luminance | 0.3537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.11
Vomit
#A2A415
ΔE00 2.26
Puke Green
#9AAE07
ΔE00 2.62
Puke
#A5A502
ΔE00 3.05
Barf Green
#94AC02
ΔE00 3.08
Pea Green
#8EAB12
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA81F #291FA8
analogous
#A86E1F #9EA81F #59A81F
triadic
#9EA81F #1F9EA8 #A81F9E
tetradic
#9EA81F #1FA86E #291FA8 #A81F59
square
#9EA81F #1FA86E #291FA8 #A81F59
split-complementary
#9EA81F #1F59A8 #6E1FA8
monochromatic
#3D410C #6D7415 #9EA81F #CCD82C #D8E260
Accessibility & contrast
On white
2.60
#9EA81F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#9EA81F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA81F
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA81F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA81F | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#A99E8F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #9ea81f; /* rgb */ color: rgb(158, 168, 31); /* oklch */ color: oklch(70.1% 0.149 114.1);
Tailwind
colors: {
custom: {
50: '#bec169',
500: '#9ea81f',
950: '#000000',
},
}SCSS
$custom: #9ea81f; $custom-light: #bec169; $custom-dark: #000000;
JSON
{
"hex": "#9ea81f",
"rgb": {
"r": 158,
"g": 168,
"b": 31
},
"hsl": {
"h": 64.38,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.70055,
"c": 0.14895,
"h": 114.1
},
"luminance": 0.35373
}Semantic roles & 50–950 ramp
primary
#9EA81F
secondary
#645DC6
accent
#3CEC49
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A