#9FAB20#9FAB20
#9FAB20 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.8% C 0.151 H 114.8°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAB20 |
|---|---|
| RGB | rgb(159, 171, 32) |
| HSL | hsl(65, 68%, 40%) |
| HSV | hsv(65, 81%, 67%) |
| CMYK | cmyk(7%, 0%, 81.3%, 32.9%) |
| CIE-LAB | lab(66.98, -20.58, 63.34) |
| CIE-LCH | lch(66.98, 66.60, 108.00°) |
| OKLab | oklab(70.83% -0.0636 0.1374) |
| OKLCH | oklch(70.83% 0.151 114.8) |
| XYZ | xyz(29.1226, 36.6016, 6.8969) |
| Luminance | 0.3660 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.95
Pea Soup Green
#94A617
ΔE00 2.29
Barf Green
#94AC02
ΔE00 2.62
Vomit
#A2A415
ΔE00 2.98
Mustard Green
#A8B504
ΔE00 3.38
Puke
#A5A502
ΔE00 3.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAB20 #2C20AB
analogous
#AB7220 #9FAB20 #59AB20
triadic
#9FAB20 #209FAB #AB209F
tetradic
#9FAB20 #20AB72 #2C20AB #AB2059
square
#9FAB20 #20AB72 #2C20AB #AB2059
split-complementary
#9FAB20 #2059AB #7220AB
monochromatic
#3F440D #6F7716 #9FAB20 #CAD830 #D7E263
Accessibility & contrast
On white
2.52
#9FAB20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#9FAB20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAB20
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAB20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAB20 | 1.00 | 2.52 | 8.32 | 8.32 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B7A42E
Tritanopia (blue-blind)
#AAA192
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9fab20; /* rgb */ color: rgb(159, 171, 32); /* oklch */ color: oklch(70.8% 0.151 114.8);
Tailwind
colors: {
custom: {
50: '#bfc36a',
500: '#9fab20',
950: '#000000',
},
}SCSS
$custom: #9fab20; $custom-light: #bfc36a; $custom-dark: #000000;
JSON
{
"hex": "#9fab20",
"rgb": {
"r": 159,
"g": 171,
"b": 32
},
"hsl": {
"h": 65.18,
"s": 68.473,
"l": 39.804
},
"oklch": {
"l": 0.70829,
"c": 0.15139,
"h": 114.8
},
"luminance": 0.36601
}Semantic roles & 50–950 ramp
primary
#9FAB20
secondary
#6960C7
accent
#3CEB4C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A