#9F9D1A#9F9D1A
#9F9D1A is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.6% C 0.140 H 108.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9D1A |
|---|---|
| RGB | rgb(159, 157, 26) |
| HSL | hsl(59, 72%, 36%) |
| HSV | hsv(59, 84%, 62%) |
| CMYK | cmyk(0%, 1.3%, 83.6%, 37.6%) |
| CIE-LAB | lab(62.98, -13.60, 61.48) |
| CIE-LCH | lch(62.98, 62.97, 102.48°) |
| OKLab | oklab(67.62% -0.0447 0.1323) |
| OKLCH | oklch(67.62% 0.14 108.7) |
| XYZ | xyz(26.5426, 31.5603, 5.6707) |
| Luminance | 0.3156 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.26
Puke
#A5A502
ΔE00 2.82
Pea Soup
#929901
ΔE00 2.94
Baby Poop Green
#8F9805
ΔE00 3.60
Pea Soup Green
#94A617
ΔE00 5.12
Baby Shit Green
#889717
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9D1A #1A1C9F
analogous
#9F5B1A #9F9D1A #5F9F1A
triadic
#9F9D1A #1A9F9D #9D1A9F
tetradic
#9F9D1A #1A9F5B #1A1C9F #9F1A5F
square
#9F9D1A #1A9F5B #1A1C9F #9F1A5F
split-complementary
#9F9D1A #1A5F9F #5B1A9F
monochromatic
#363509 #6A6911 #9F9D1A #D4D123 #E3E051
Accessibility & contrast
On white
2.87
#9F9D1A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#9F9D1A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9D1A
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9D1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9D1A | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AC9A27
Tritanopia (blue-blind)
#AB9286
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9f9d1a; /* rgb */ color: rgb(159, 157, 26); /* oklch */ color: oklch(67.6% 0.140 108.7);
Tailwind
colors: {
custom: {
50: '#bfb965',
500: '#9f9d1a',
950: '#000000',
},
}SCSS
$custom: #9f9d1a; $custom-light: #bfb965; $custom-dark: #000000;
JSON
{
"hex": "#9f9d1a",
"rgb": {
"r": 159,
"g": 157,
"b": 26
},
"hsl": {
"h": 59.098,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.67619,
"c": 0.13967,
"h": 108.7
},
"luminance": 0.31559
}Semantic roles & 50–950 ramp
primary
#9F9D1A
secondary
#5051C5
accent
#3CEF39
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A