#9FA81A#9FA81A
#9FA81A is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.1% C 0.151 H 113.6°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA81A |
|---|---|
| RGB | rgb(159, 168, 26) |
| HSL | hsl(64, 73%, 38%) |
| HSV | hsv(64, 85%, 66%) |
| CMYK | cmyk(5.4%, 0%, 84.5%, 34.1%) |
| CIE-LAB | lab(66.10, -19.26, 64.12) |
| CIE-LCH | lch(66.10, 66.95, 106.72°) |
| OKLab | oklab(70.12% -0.0603 0.138) |
| OKLCH | oklch(70.12% 0.151 113.6) |
| XYZ | xyz(28.4881, 35.4514, 6.3192) |
| Luminance | 0.3545 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.94
Pea Soup Green
#94A617
ΔE00 2.41
Puke
#A5A502
ΔE00 2.64
Puke Green
#9AAE07
ΔE00 2.70
Barf Green
#94AC02
ΔE00 3.26
Mustard Green
#A8B504
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA81A #231AA8
analogous
#A86A1A #9FA81A #58A81A
triadic
#9FA81A #1A9FA8 #A81A9F
tetradic
#9FA81A #1AA86A #231AA8 #A81A58
square
#9FA81A #1AA86A #231AA8 #A81A58
split-complementary
#9FA81A #1A58A8 #6A1AA8
monochromatic
#3B3E0A #6D7312 #9FA81A #D1DD22 #DCE557
Accessibility & contrast
On white
2.60
#9FA81A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#9FA81A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA81A
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA81A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA81A | 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)
#B5A22A
Tritanopia (blue-blind)
#AA9D8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9fa81a; /* rgb */ color: rgb(159, 168, 26); /* oklch */ color: oklch(70.1% 0.151 113.6);
Tailwind
colors: {
custom: {
50: '#bfc167',
500: '#9fa81a',
950: '#000000',
},
}SCSS
$custom: #9fa81a; $custom-light: #bfc167; $custom-dark: #000000;
JSON
{
"hex": "#9fa81a",
"rgb": {
"r": 159,
"g": 168,
"b": 26
},
"hsl": {
"h": 63.803,
"s": 73.196,
"l": 38.039
},
"oklch": {
"l": 0.70117,
"c": 0.15064,
"h": 113.6
},
"luminance": 0.35451
}Semantic roles & 50–950 ramp
primary
#9FA81A
secondary
#5D55C8
accent
#38F044
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A