#9E8116#9E8116
#9E8116 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.3% C 0.119 H 92.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8116 |
|---|---|
| RGB | rgb(158, 129, 22) |
| HSL | hsl(47, 76%, 35%) |
| HSV | hsv(47, 86%, 62%) |
| CMYK | cmyk(0%, 18.4%, 86.1%, 38%) |
| CIE-LAB | lab(55.10, 0.97, 55.88) |
| CIE-LCH | lch(55.10, 55.89, 89.00°) |
| OKLab | oklab(61.34% -0.0041 0.1193) |
| OKLCH | oklch(61.34% 0.119 92) |
| XYZ | xyz(22.0970, 23.0290, 4.0401) |
| Luminance | 0.2303 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.50
Yellowish Brown
#9B7A01
ΔE00 2.66
Baby Poop
#937C00
ΔE00 3.12
Dark Mustard
#A88905
ΔE00 3.39
Puke Brown
#947706
ΔE00 3.75
Yellowy Brown
#AE8B0C
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8116 #16339E
analogous
#9E3D16 #9E8116 #779E16
triadic
#9E8116 #169E81 #81169E
tetradic
#9E8116 #169E3D #16339E #9E1677
square
#9E8116 #169E3D #16339E #9E1677
split-complementary
#9E8116 #16779E #3D169E
monochromatic
#332907 #68550F #9E8116 #D4AD1D #E6C449
Accessibility & contrast
On white
3.75
#9E8116 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#9E8116 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8116
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8116 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8116 | 1.00 | 3.75 | 5.61 | 5.61 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#98871E
Tritanopia (blue-blind)
#AC756E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9e8116; /* rgb */ color: rgb(158, 129, 22); /* oklch */ color: oklch(61.3% 0.119 92.0);
Tailwind
colors: {
custom: {
50: '#bfa560',
500: '#9e8116',
950: '#000000',
},
}SCSS
$custom: #9e8116; $custom-light: #bfa560; $custom-dark: #000000;
JSON
{
"hex": "#9e8116",
"rgb": {
"r": 158,
"g": 129,
"b": 22
},
"hsl": {
"h": 47.206,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.61337,
"c": 0.11941,
"h": 92
},
"luminance": 0.23028
}Semantic roles & 50–950 ramp
primary
#9E8116
secondary
#4964C7
accent
#5EF236
background
#FCFAF5
surface
#F8F4EA
border
#D1CEC6
text
#130F05
muted
#827F79