#9FA01A#9FA01A
#9FA01A is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.143 H 110.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA01A |
|---|---|
| RGB | rgb(159, 160, 26) |
| HSL | hsl(60, 72%, 36%) |
| HSV | hsv(60, 84%, 63%) |
| CMYK | cmyk(0.6%, 0%, 83.8%, 37.3%) |
| CIE-LAB | lab(63.83, -15.16, 62.20) |
| CIE-LCH | lch(63.83, 64.02, 103.70°) |
| OKLab | oklab(68.3% -0.049 0.1339) |
| OKLCH | oklch(68.3% 0.143 110.1) |
| XYZ | xyz(27.0564, 32.5879, 5.8419) |
| Luminance | 0.3259 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.31
Puke
#A5A502
ΔE00 2.16
Pea Soup
#929901
ΔE00 3.00
Baby Poop Green
#8F9805
ΔE00 3.64
Pea Soup Green
#94A617
ΔE00 4.16
Baby Shit Green
#889717
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA01A #1B1AA0
analogous
#A05E1A #9FA01A #5CA01A
triadic
#9FA01A #1A9FA0 #A01A9F
tetradic
#9FA01A #1AA05E #1B1AA0 #A01A5C
square
#9FA01A #1AA05E #1B1AA0 #A01A5C
split-complementary
#9FA01A #1A5CA0 #5E1AA0
monochromatic
#363709 #6B6B11 #9FA01A #D3D523 #E2E352
Accessibility & contrast
On white
2.79
#9FA01A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#9FA01A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA01A
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA01A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA01A | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AF9C28
Tritanopia (blue-blind)
#AB9588
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9fa01a; /* rgb */ color: rgb(159, 160, 26); /* oklch */ color: oklch(68.3% 0.143 110.1);
Tailwind
colors: {
custom: {
50: '#bfbb66',
500: '#9fa01a',
950: '#000000',
},
}SCSS
$custom: #9fa01a; $custom-light: #bfbb66; $custom-dark: #000000;
JSON
{
"hex": "#9fa01a",
"rgb": {
"r": 159,
"g": 160,
"b": 26
},
"hsl": {
"h": 60.448,
"s": 72.043,
"l": 36.471
},
"oklch": {
"l": 0.68297,
"c": 0.14257,
"h": 110.1
},
"luminance": 0.32587
}Semantic roles & 50–950 ramp
primary
#9FA01A
secondary
#5150C5
accent
#39EF3A
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A