#9F9D3A#9F9D3A
#9F9D3A is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.8% C 0.120 H 108.1°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9D3A |
|---|---|
| RGB | rgb(159, 157, 58) |
| HSL | hsl(59, 47%, 43%) |
| HSV | hsv(59, 64%, 62%) |
| CMYK | cmyk(0%, 1.3%, 63.5%, 37.6%) |
| CIE-LAB | lab(63.17, -12.08, 50.32) |
| CIE-LCH | lch(63.17, 51.75, 103.50°) |
| OKLab | oklab(67.83% -0.0374 0.1144) |
| OKLCH | oklch(67.83% 0.12 108.1) |
| XYZ | xyz(27.1197, 31.7912, 8.7099) |
| Luminance | 0.3179 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.38
Pea Soup
#929901
ΔE00 4.66
Baby Poop Green
#8F9805
ΔE00 4.89
Puke
#A5A502
ΔE00 5.25
Baby Shit Green
#889717
ΔE00 5.63
Pea Soup Green
#94A617
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9D3A #3A3C9F
analogous
#9F6B3A #9F9D3A #6E9F3A
triadic
#9F9D3A #3A9F9D #9D3A9F
tetradic
#9F9D3A #3A9F6B #3A3C9F #9F3A6E
square
#9F9D3A #3A9F6B #3A3C9F #9F3A6E
split-complementary
#9F9D3A #3A6E9F #6B3A9F
monochromatic
#454419 #72712A #9F9D3A #C1BF55 #D1D082
Accessibility & contrast
On white
2.85
#9F9D3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#9F9D3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9D3A
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9D3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9D3A | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A9972E
Deuteranopia (green-blind)
#AB9B40
Tritanopia (blue-blind)
#AA9388
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9f9d3a; /* rgb */ color: rgb(159, 157, 58); /* oklch */ color: oklch(67.8% 0.120 108.1);
Tailwind
colors: {
custom: {
50: '#beb975',
500: '#9f9d3a',
950: '#000000',
},
}SCSS
$custom: #9f9d3a; $custom-light: #beb975; $custom-dark: #000000;
JSON
{
"hex": "#9f9d3a",
"rgb": {
"r": 159,
"g": 157,
"b": 58
},
"hsl": {
"h": 58.812,
"s": 46.544,
"l": 42.549
},
"oklch": {
"l": 0.67833,
"c": 0.12033,
"h": 108.1
},
"luminance": 0.3179
}Semantic roles & 50–950 ramp
primary
#9F9D3A
secondary
#7A7BBB
accent
#54D652
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121109
muted
#81807B