#9FAB2E#9FAB2E
#9FAB2E is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.9% C 0.144 H 114.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAB2E |
|---|---|
| RGB | rgb(159, 171, 46) |
| HSL | hsl(66, 58%, 43%) |
| HSV | hsv(66, 73%, 67%) |
| CMYK | cmyk(7%, 0%, 73.1%, 32.9%) |
| CIE-LAB | lab(67.05, -19.99, 59.00) |
| CIE-LCH | lch(67.05, 62.29, 108.72°) |
| OKLab | oklab(70.91% -0.0608 0.1307) |
| OKLCH | oklch(70.91% 0.144 114.9) |
| XYZ | xyz(29.3549, 36.6945, 8.1206) |
| Luminance | 0.3669 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.47
Puke Green
#9AAE07
ΔE00 2.68
Barf Green
#94AC02
ΔE00 3.11
Vomit
#A2A415
ΔE00 3.52
Pea Green
#8EAB12
ΔE00 3.77
Sickly Green
#94B21C
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAB2E #3A2EAB
analogous
#AB792E #9FAB2E #60AB2E
triadic
#9FAB2E #2E9FAB #AB2E9F
tetradic
#9FAB2E #2EAB79 #3A2EAB #AB2E60
square
#9FAB2E #2EAB79 #3A2EAB #AB2E60
split-complementary
#9FAB2E #2E60AB #792EAB
monochromatic
#454B14 #727B21 #9FAB2E #C1CE48 #D1DB79
Accessibility & contrast
On white
2.52
#9FAB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#9FAB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAB2E
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAB2E | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A216
Deuteranopia (green-blind)
#B7A438
Tritanopia (blue-blind)
#A9A193
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9fab2e; /* rgb */ color: rgb(159, 171, 46); /* oklch */ color: oklch(70.9% 0.144 114.9);
Tailwind
colors: {
custom: {
50: '#bfc370',
500: '#9fab2e',
950: '#000000',
},
}SCSS
$custom: #9fab2e; $custom-light: #bfc370; $custom-dark: #000000;
JSON
{
"hex": "#9fab2e",
"rgb": {
"r": 159,
"g": 171,
"b": 46
},
"hsl": {
"h": 65.76,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.70907,
"c": 0.14411,
"h": 114.9
},
"luminance": 0.36694
}Semantic roles & 50–950 ramp
primary
#9FAB2E
secondary
#7A72C3
accent
#47E156
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B