#9FA81C#9FA81C
#9FA81C is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.1% C 0.150 H 113.6°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA81C |
|---|---|
| RGB | rgb(159, 168, 28) |
| HSL | hsl(64, 71%, 38%) |
| HSV | hsv(64, 83%, 66%) |
| CMYK | cmyk(5.4%, 0%, 83.3%, 34.1%) |
| CIE-LAB | lab(66.11, -19.20, 63.63) |
| CIE-LCH | lch(66.11, 66.47, 106.79°) |
| OKLab | oklab(70.13% -0.06 0.1373) |
| OKLCH | oklch(70.13% 0.15 113.6) |
| XYZ | xyz(28.5113, 35.4607, 6.4411) |
| Luminance | 0.3546 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.98
Pea Soup Green
#94A617
ΔE00 2.38
Puke
#A5A502
ΔE00 2.71
Puke Green
#9AAE07
ΔE00 2.73
Barf Green
#94AC02
ΔE00 3.26
Mustard Green
#A8B504
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA81C #251CA8
analogous
#A86B1C #9FA81C #59A81C
triadic
#9FA81C #1C9FA8 #A81C9F
tetradic
#9FA81C #1CA86B #251CA8 #A81C59
square
#9FA81C #1CA86B #251CA8 #A81C59
split-complementary
#9FA81C #1C59A8 #6B1CA8
monochromatic
#3C3F0B #6D7413 #9FA81C #CFDB26 #DBE45B
Accessibility & contrast
On white
2.60
#9FA81C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#9FA81C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA81C
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA81C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA81C | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B5A22B
Tritanopia (blue-blind)
#AA9D8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9fa81c; /* rgb */ color: rgb(159, 168, 28); /* oklch */ color: oklch(70.1% 0.150 113.6);
Tailwind
colors: {
custom: {
50: '#bfc168',
500: '#9fa81c',
950: '#000000',
},
}SCSS
$custom: #9fa81c; $custom-light: #bfc168; $custom-dark: #000000;
JSON
{
"hex": "#9fa81c",
"rgb": {
"r": 159,
"g": 168,
"b": 28
},
"hsl": {
"h": 63.857,
"s": 71.429,
"l": 38.431
},
"oklch": {
"l": 0.70125,
"c": 0.14989,
"h": 113.6
},
"luminance": 0.3546
}Semantic roles & 50–950 ramp
primary
#9FA81C
secondary
#5F58C7
accent
#3AEE45
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A