#9FA721#9FA721
#9FA721 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.9% C 0.147 H 113.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA721 |
|---|---|
| RGB | rgb(159, 167, 33) |
| HSL | hsl(64, 67%, 39%) |
| HSV | hsv(64, 80%, 65%) |
| CMYK | cmyk(4.8%, 0%, 80.2%, 34.5%) |
| CIE-LAB | lab(65.84, -18.52, 62.06) |
| CIE-LCH | lch(65.84, 64.77, 106.62°) |
| OKLab | oklab(69.92% -0.0578 0.1348) |
| OKLCH | oklch(69.92% 0.147 113.2) |
| XYZ | xyz(28.3922, 35.1188, 6.7215) |
| Luminance | 0.3512 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.85
Pea Soup Green
#94A617
ΔE00 2.45
Puke
#A5A502
ΔE00 2.73
Puke Green
#9AAE07
ΔE00 3.13
Barf Green
#94AC02
ΔE00 3.58
Mustard Green
#A8B504
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA721 #2921A7
analogous
#A76C21 #9FA721 #5CA721
triadic
#9FA721 #219FA7 #A7219F
tetradic
#9FA721 #21A76C #2921A7 #A7215C
square
#9FA721 #21A76C #2921A7 #A7215C
split-complementary
#9FA721 #215CA7 #6C21A7
monochromatic
#3E410D #6E7417 #9FA721 #CCD62F #D9E062
Accessibility & contrast
On white
2.62
#9FA721 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#9FA721 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA721
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA721 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA721 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B4A12E
Tritanopia (blue-blind)
#AA9C8F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #9fa721; /* rgb */ color: rgb(159, 167, 33); /* oklch */ color: oklch(69.9% 0.147 113.2);
Tailwind
colors: {
custom: {
50: '#bfc069',
500: '#9fa721',
950: '#000000',
},
}SCSS
$custom: #9fa721; $custom-light: #bfc069; $custom-dark: #000000;
JSON
{
"hex": "#9fa721",
"rgb": {
"r": 159,
"g": 167,
"b": 33
},
"hsl": {
"h": 63.582,
"s": 67,
"l": 39.216
},
"oklch": {
"l": 0.69919,
"c": 0.14671,
"h": 113.2
},
"luminance": 0.35118
}Semantic roles & 50–950 ramp
primary
#9FA721
secondary
#655FC5
accent
#3EEA48
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A