#9FAB2D#9FAB2D
#9FAB2D is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.9% C 0.145 H 114.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAB2D |
|---|---|
| RGB | rgb(159, 171, 45) |
| HSL | hsl(66, 58%, 42%) |
| HSV | hsv(66, 74%, 67%) |
| CMYK | cmyk(7%, 0%, 73.7%, 32.9%) |
| CIE-LAB | lab(67.04, -20.04, 59.34) |
| CIE-LCH | lch(67.04, 62.64, 108.66°) |
| OKLab | oklab(70.9% -0.061 0.1312) |
| OKLCH | oklch(70.9% 0.145 114.9) |
| XYZ | xyz(29.3355, 36.6867, 8.0180) |
| Luminance | 0.3669 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.43
Puke Green
#9AAE07
ΔE00 2.61
Barf Green
#94AC02
ΔE00 3.06
Vomit
#A2A415
ΔE00 3.47
Pea Green
#8EAB12
ΔE00 3.75
Sickly Green
#94B21C
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAB2D #392DAB
analogous
#AB782D #9FAB2D #60AB2D
triadic
#9FAB2D #2D9FAB #AB2D9F
tetradic
#9FAB2D #2DAB78 #392DAB #AB2D60
square
#9FAB2D #2DAB78 #392DAB #AB2D60
split-complementary
#9FAB2D #2D60AB #782DAB
monochromatic
#454A14 #727B20 #9FAB2D #C2CE47 #D2DB77
Accessibility & contrast
On white
2.52
#9FAB2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#9FAB2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAB2D
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAB2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAB2D | 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)
#B7A213
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#A9A193
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9fab2d; /* rgb */ color: rgb(159, 171, 45); /* oklch */ color: oklch(70.9% 0.145 114.9);
Tailwind
colors: {
custom: {
50: '#bfc36f',
500: '#9fab2d',
950: '#000000',
},
}SCSS
$custom: #9fab2d; $custom-light: #bfc36f; $custom-dark: #000000;
JSON
{
"hex": "#9fab2d",
"rgb": {
"r": 159,
"g": 171,
"b": 45
},
"hsl": {
"h": 65.714,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.70901,
"c": 0.14471,
"h": 114.9
},
"luminance": 0.36686
}Semantic roles & 50–950 ramp
primary
#9FAB2D
secondary
#7871C3
accent
#46E255
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B