#9EAF2F#9EAF2F
#9EAF2F is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.8% C 0.148 H 116.9°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9EAF2F |
|---|---|
| RGB | rgb(158, 175, 47) |
| HSL | hsl(68, 58%, 44%) |
| HSV | hsv(68, 73%, 69%) |
| CMYK | cmyk(9.7%, 0%, 73.1%, 31.4%) |
| CIE-LAB | lab(68.12, -22.36, 59.65) |
| CIE-LCH | lch(68.12, 63.71, 110.55°) |
| OKLab | oklab(71.75% -0.0672 0.1323) |
| OKLCH | oklch(71.75% 0.148 116.9) |
| XYZ | xyz(29.9443, 38.1347, 8.4720) |
| Luminance | 0.3813 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.29
Barf Green
#94AC02
ΔE00 2.68
Booger
#9BB53C
ΔE00 2.73
Sickly Green
#94B21C
ΔE00 2.74
Pea Soup Green
#94A617
ΔE00 2.95
Icky Green
#8FAE22
ΔE00 3.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EAF2F #402FAF
analogous
#AF802F #9EAF2F #5EAF2F
triadic
#9EAF2F #2F9EAF #AF2F9E
tetradic
#9EAF2F #2FAF80 #402FAF #AF2F5E
square
#9EAF2F #2FAF80 #402FAF #AF2F5E
split-complementary
#9EAF2F #2F5EAF #802FAF
monochromatic
#474F15 #727F22 #9EAF2F #BECF4C #CFDC7C
Accessibility & contrast
On white
2.43
#9EAF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.63
#9EAF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EAF2F
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EAF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EAF2F | 1.00 | 2.43 | 8.63 | 8.63 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA616
Deuteranopia (green-blind)
#B9A73A
Tritanopia (blue-blind)
#A8A596
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9eaf2f; /* rgb */ color: rgb(158, 175, 47); /* oklch */ color: oklch(71.8% 0.148 116.9);
Tailwind
colors: {
custom: {
50: '#bec671',
500: '#9eaf2f',
950: '#000000',
},
}SCSS
$custom: #9eaf2f; $custom-light: #bec671; $custom-dark: #000000;
JSON
{
"hex": "#9eaf2f",
"rgb": {
"r": 158,
"g": 175,
"b": 47
},
"hsl": {
"h": 67.969,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.71751,
"c": 0.14836,
"h": 116.9
},
"luminance": 0.38134
}Semantic roles & 50–950 ramp
primary
#9EAF2F
secondary
#8075C4
accent
#47E15B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B