#9FA01B#9FA01B
#9FA01B is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.142 H 110.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA01B |
|---|---|
| RGB | rgb(159, 160, 27) |
| HSL | hsl(60, 71%, 37%) |
| HSV | hsv(60, 83%, 63%) |
| CMYK | cmyk(0.6%, 0%, 83.1%, 37.3%) |
| CIE-LAB | lab(63.83, -15.13, 61.95) |
| CIE-LCH | lch(63.83, 63.77, 103.73°) |
| OKLab | oklab(68.3% -0.0489 0.1335) |
| OKLCH | oklch(68.3% 0.142 110.1) |
| XYZ | xyz(27.0678, 32.5925, 5.9018) |
| Luminance | 0.3259 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.34
Puke
#A5A502
ΔE00 2.20
Pea Soup
#929901
ΔE00 3.01
Baby Poop Green
#8F9805
ΔE00 3.64
Pea Soup Green
#94A617
ΔE00 4.15
Baby Shit Green
#889717
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA01B #1C1BA0
analogous
#A05F1B #9FA01B #5DA01B
triadic
#9FA01B #1B9FA0 #A01B9F
tetradic
#9FA01B #1BA05F #1C1BA0 #A01B5D
square
#9FA01B #1BA05F #1C1BA0 #A01B5D
split-complementary
#9FA01B #1B5DA0 #5F1BA0
monochromatic
#373709 #6B6C12 #9FA01B #D3D424 #E1E253
Accessibility & contrast
On white
2.79
#9FA01B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#9FA01B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA01B
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA01B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA01B | 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)
#AD9900
Deuteranopia (green-blind)
#AF9C28
Tritanopia (blue-blind)
#AB9588
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9fa01b; /* rgb */ color: rgb(159, 160, 27); /* oklch */ color: oklch(68.3% 0.142 110.1);
Tailwind
colors: {
custom: {
50: '#bfbb66',
500: '#9fa01b',
950: '#000000',
},
}SCSS
$custom: #9fa01b; $custom-light: #bfbb66; $custom-dark: #000000;
JSON
{
"hex": "#9fa01b",
"rgb": {
"r": 159,
"g": 160,
"b": 27
},
"hsl": {
"h": 60.451,
"s": 71.123,
"l": 36.667
},
"oklch": {
"l": 0.68301,
"c": 0.14217,
"h": 110.1
},
"luminance": 0.32592
}Semantic roles & 50–950 ramp
primary
#9FA01B
secondary
#5352C5
accent
#3AEE3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A