#9F9A1A#9F9A1A
#9F9A1A is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.9% C 0.137 H 107.1°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9A1A |
|---|---|
| RGB | rgb(159, 154, 26) |
| HSL | hsl(58, 72%, 36%) |
| HSV | hsv(58, 84%, 62%) |
| CMYK | cmyk(0%, 3.1%, 83.6%, 37.6%) |
| CIE-LAB | lab(62.13, -12.03, 60.76) |
| CIE-LCH | lch(62.13, 61.94, 101.20°) |
| OKLab | oklab(66.94% -0.0403 0.1308) |
| OKLCH | oklch(66.94% 0.137 107.1) |
| XYZ | xyz(26.0412, 30.5577, 5.5036) |
| Luminance | 0.3056 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.30
Vomit
#A2A415
ΔE00 3.33
Puke
#A5A502
ΔE00 3.72
Baby Poop Green
#8F9805
ΔE00 3.91
Baby Shit Green
#889717
ΔE00 5.73
Pea Soup Green
#94A617
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9A1A #1A1F9F
analogous
#9F581A #9F9A1A #629F1A
triadic
#9F9A1A #1A9F9A #9A1A9F
tetradic
#9F9A1A #1A9F58 #1A1F9F #9F1A62
square
#9F9A1A #1A9F58 #1A1F9F #9F1A62
split-complementary
#9F9A1A #1A629F #581A9F
monochromatic
#363409 #6A6711 #9F9A1A #D4CD23 #E3DD51
Accessibility & contrast
On white
2.95
#9F9A1A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#9F9A1A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9A1A
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9A1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9A1A | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#AA9826
Tritanopia (blue-blind)
#AB8F83
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9f9a1a; /* rgb */ color: rgb(159, 154, 26); /* oklch */ color: oklch(66.9% 0.137 107.1);
Tailwind
colors: {
custom: {
50: '#bfb765',
500: '#9f9a1a',
950: '#000000',
},
}SCSS
$custom: #9f9a1a; $custom-light: #bfb765; $custom-dark: #000000;
JSON
{
"hex": "#9f9a1a",
"rgb": {
"r": 159,
"g": 154,
"b": 26
},
"hsl": {
"h": 57.744,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.66944,
"c": 0.13684,
"h": 107.1
},
"luminance": 0.30557
}Semantic roles & 50–950 ramp
primary
#9F9A1A
secondary
#5054C5
accent
#40EF39
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A