#9E8316#9E8316
#9E8316 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.8% C 0.121 H 93.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8316 |
|---|---|
| RGB | rgb(158, 131, 22) |
| HSL | hsl(48, 76%, 35%) |
| HSV | hsv(48, 86%, 62%) |
| CMYK | cmyk(0%, 17.1%, 86.1%, 38%) |
| CIE-LAB | lab(55.65, -0.14, 56.33) |
| CIE-LCH | lch(55.65, 56.34, 90.15°) |
| OKLab | oklab(61.77% -0.0072 0.1203) |
| OKLCH | oklch(61.77% 0.121 93.4) |
| XYZ | xyz(22.3630, 23.5610, 4.1288) |
| Luminance | 0.2356 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.08
Dark Mustard
#A88905
ΔE00 2.94
Baby Poop
#937C00
ΔE00 3.21
Yellowish Brown
#9B7A01
ΔE00 3.46
Yellowy Brown
#AE8B0C
ΔE00 4.17
Puke Brown
#947706
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8316 #16319E
analogous
#9E3F16 #9E8316 #759E16
triadic
#9E8316 #169E83 #83169E
tetradic
#9E8316 #169E3F #16319E #9E1675
square
#9E8316 #169E3F #16319E #9E1675
split-complementary
#9E8316 #16759E #3F169E
monochromatic
#332A07 #68560F #9E8316 #D4B01D #E6C649
Accessibility & contrast
On white
3.68
#9E8316 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#9E8316 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8316
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8316 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8316 | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#99891F
Tritanopia (blue-blind)
#AC7770
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9e8316; /* rgb */ color: rgb(158, 131, 22); /* oklch */ color: oklch(61.8% 0.121 93.4);
Tailwind
colors: {
custom: {
50: '#bfa660',
500: '#9e8316',
950: '#000000',
},
}SCSS
$custom: #9e8316; $custom-light: #bfa660; $custom-dark: #000000;
JSON
{
"hex": "#9e8316",
"rgb": {
"r": 158,
"g": 131,
"b": 22
},
"hsl": {
"h": 48.088,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.61766,
"c": 0.12056,
"h": 93.4
},
"luminance": 0.2356
}Semantic roles & 50–950 ramp
primary
#9E8316
secondary
#4962C7
accent
#5BF236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A