#9EAF2C#9EAF2C
#9EAF2C is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.7% C 0.150 H 116.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9EAF2C |
|---|---|
| RGB | rgb(158, 175, 44) |
| HSL | hsl(68, 60%, 43%) |
| HSV | hsv(68, 75%, 69%) |
| CMYK | cmyk(9.7%, 0%, 74.9%, 31.4%) |
| CIE-LAB | lab(68.10, -22.51, 60.67) |
| CIE-LCH | lch(68.10, 64.71, 110.36°) |
| OKLab | oklab(71.73% -0.0679 0.1339) |
| OKLCH | oklch(71.73% 0.15 116.9) |
| XYZ | xyz(29.8859, 38.1113, 8.1642) |
| Luminance | 0.3811 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.02
Barf Green
#94AC02
ΔE00 2.49
Sickly Green
#94B21C
ΔE00 2.67
Pea Soup Green
#94A617
ΔE00 2.86
Booger
#9BB53C
ΔE00 2.90
Icky Green
#8FAE22
ΔE00 3.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EAF2C #3D2CAF
analogous
#AF7E2C #9EAF2C #5DAF2C
triadic
#9EAF2C #2C9EAF #AF2C9E
tetradic
#9EAF2C #2CAF7E #3D2CAF #AF2C5D
square
#9EAF2C #2CAF7E #3D2CAF #AF2C5D
split-complementary
#9EAF2C #2C5DAF #7E2CAF
monochromatic
#464D13 #727E20 #9EAF2C #BFD147 #D0DD78
Accessibility & contrast
On white
2.44
#9EAF2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.62
#9EAF2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EAF2C
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EAF2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EAF2C | 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)
#BBA50E
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#A8A596
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9eaf2c; /* rgb */ color: rgb(158, 175, 44); /* oklch */ color: oklch(71.7% 0.150 116.9);
Tailwind
colors: {
custom: {
50: '#bec66f',
500: '#9eaf2c',
950: '#000000',
},
}SCSS
$custom: #9eaf2c; $custom-light: #bec66f; $custom-dark: #000000;
JSON
{
"hex": "#9eaf2c",
"rgb": {
"r": 158,
"g": 175,
"b": 44
},
"hsl": {
"h": 67.786,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.71732,
"c": 0.15011,
"h": 116.9
},
"luminance": 0.38111
}Semantic roles & 50–950 ramp
primary
#9EAF2C
secondary
#7D72C5
accent
#45E359
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B