#9FA81E#9FA81E
#9FA81E is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.1% C 0.149 H 113.6°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA81E |
|---|---|
| RGB | rgb(159, 168, 30) |
| HSL | hsl(64, 70%, 39%) |
| HSV | hsv(64, 82%, 66%) |
| CMYK | cmyk(5.4%, 0%, 82.1%, 34.1%) |
| CIE-LAB | lab(66.11, -19.14, 63.12) |
| CIE-LCH | lch(66.11, 65.96, 106.86°) |
| OKLab | oklab(70.13% -0.0597 0.1366) |
| OKLCH | oklch(70.13% 0.149 113.6) |
| XYZ | xyz(28.5360, 35.4706, 6.5713) |
| Luminance | 0.3547 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.03
Pea Soup Green
#94A617
ΔE00 2.36
Puke Green
#9AAE07
ΔE00 2.76
Puke
#A5A502
ΔE00 2.79
Barf Green
#94AC02
ΔE00 3.28
Mustard Green
#A8B504
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA81E #271EA8
analogous
#A86C1E #9FA81E #5AA81E
triadic
#9FA81E #1E9FA8 #A81E9F
tetradic
#9FA81E #1EA86C #271EA8 #A81E5A
square
#9FA81E #1EA86C #271EA8 #A81E5A
split-complementary
#9FA81E #1E5AA8 #6C1EA8
monochromatic
#3D400B #6E7415 #9FA81E #CED92A #DAE25E
Accessibility & contrast
On white
2.59
#9FA81E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#9FA81E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA81E
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA81E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA81E | 1.00 | 2.59 | 8.09 | 8.09 |
| #FFFFFF | 2.59 | 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)
#B5A22C
Tritanopia (blue-blind)
#AA9D8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9fa81e; /* rgb */ color: rgb(159, 168, 30); /* oklch */ color: oklch(70.1% 0.149 113.6);
Tailwind
colors: {
custom: {
50: '#bfc168',
500: '#9fa81e',
950: '#000000',
},
}SCSS
$custom: #9fa81e; $custom-light: #bfc168; $custom-dark: #000000;
JSON
{
"hex": "#9fa81e",
"rgb": {
"r": 159,
"g": 168,
"b": 30
},
"hsl": {
"h": 63.913,
"s": 69.697,
"l": 38.824
},
"oklch": {
"l": 0.70133,
"c": 0.14907,
"h": 113.6
},
"luminance": 0.3547
}Semantic roles & 50–950 ramp
primary
#9FA81E
secondary
#625BC7
accent
#3BED47
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A