#9EAF27#9EAF27
#9EAF27 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.7% C 0.153 H 116.8°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9EAF27 |
|---|---|
| RGB | rgb(158, 175, 39) |
| HSL | hsl(68, 64%, 42%) |
| HSV | hsv(68, 78%, 69%) |
| CMYK | cmyk(9.7%, 0%, 77.7%, 31.4%) |
| CIE-LAB | lab(68.08, -22.73, 62.26) |
| CIE-LCH | lch(68.08, 66.28, 110.06°) |
| OKLab | oklab(71.7% -0.0689 0.1364) |
| OKLCH | oklch(71.7% 0.153 116.8) |
| XYZ | xyz(29.7975, 38.0759, 7.6987) |
| Luminance | 0.3808 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.62
Barf Green
#94AC02
ΔE00 2.23
Sickly Green
#94B21C
ΔE00 2.63
Pea Soup Green
#94A617
ΔE00 2.77
Booger Green
#96B403
ΔE00 2.92
Pea Green
#8EAB12
ΔE00 3.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EAF27 #3827AF
analogous
#AF7C27 #9EAF27 #5AAF27
triadic
#9EAF27 #279EAF #AF279E
tetradic
#9EAF27 #27AF7C #3827AF #AF275A
square
#9EAF27 #27AF7C #3827AF #AF275A
split-complementary
#9EAF27 #275AAF #7C27AF
monochromatic
#444B11 #717D1C #9EAF27 #C2D43F #D2DF71
Accessibility & contrast
On white
2.44
#9EAF27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.62
#9EAF27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EAF27
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EAF27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EAF27 | 1.00 | 2.44 | 8.62 | 8.62 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#A8A596
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9eaf27; /* rgb */ color: rgb(158, 175, 39); /* oklch */ color: oklch(71.7% 0.153 116.8);
Tailwind
colors: {
custom: {
50: '#bec66d',
500: '#9eaf27',
950: '#000000',
},
}SCSS
$custom: #9eaf27; $custom-light: #bec66d; $custom-dark: #000000;
JSON
{
"hex": "#9eaf27",
"rgb": {
"r": 158,
"g": 175,
"b": 39
},
"hsl": {
"h": 67.5,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.71703,
"c": 0.15279,
"h": 116.8
},
"luminance": 0.38076
}Semantic roles & 50–950 ramp
primary
#9EAF27
secondary
#776BC6
accent
#41E756
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A