#9F8315#9F8315
#9F8315 is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.9% C 0.121 H 92.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8315 |
|---|---|
| RGB | rgb(159, 131, 21) |
| HSL | hsl(48, 77%, 35%) |
| HSV | hsv(48, 87%, 62%) |
| CMYK | cmyk(0%, 17.6%, 86.8%, 37.6%) |
| CIE-LAB | lab(55.74, 0.29, 56.73) |
| CIE-LCH | lch(55.74, 56.73, 89.70°) |
| OKLab | oklab(61.87% -0.0061 0.1209) |
| OKLCH | oklch(61.87% 0.121 92.9) |
| XYZ | xyz(22.5511, 23.6591, 4.0882) |
| Luminance | 0.2366 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.00
Dark Mustard
#A88905
ΔE00 2.76
Yellowish Brown
#9B7A01
ΔE00 3.36
Baby Poop
#937C00
ΔE00 3.39
Yellowy Brown
#AE8B0C
ΔE00 3.93
Puke Brown
#947706
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8315 #15319F
analogous
#9F3E15 #9F8315 #769F15
triadic
#9F8315 #159F83 #83159F
tetradic
#9F8315 #159F3E #15319F #9F1576
square
#9F8315 #159F3E #15319F #9F1576
split-complementary
#9F8315 #15769F #3E159F
monochromatic
#332A07 #69560E #9F8315 #D5B01C #E7C648
Accessibility & contrast
On white
3.66
#9F8315 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#9F8315 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8315
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8315 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8315 | 1.00 | 3.66 | 5.73 | 5.73 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#9A891E
Tritanopia (blue-blind)
#AD7770
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9f8315; /* rgb */ color: rgb(159, 131, 21); /* oklch */ color: oklch(61.9% 0.121 92.9);
Tailwind
colors: {
custom: {
50: '#c0a660',
500: '#9f8315',
950: '#000000',
},
}SCSS
$custom: #9f8315; $custom-light: #c0a660; $custom-dark: #000000;
JSON
{
"hex": "#9f8315",
"rgb": {
"r": 159,
"g": 131,
"b": 21
},
"hsl": {
"h": 47.826,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.61867,
"c": 0.12108,
"h": 92.9
},
"luminance": 0.23658
}Semantic roles & 50–950 ramp
primary
#9F8315
secondary
#4862C8
accent
#5BF335
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A