#9E8320#9E8320
#9E8320 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.8% C 0.116 H 92.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8320 |
|---|---|
| RGB | rgb(158, 131, 32) |
| HSL | hsl(47, 66%, 37%) |
| HSV | hsv(47, 80%, 62%) |
| CMYK | cmyk(0%, 17.1%, 79.7%, 38%) |
| CIE-LAB | lab(55.69, 0.19, 53.26) |
| CIE-LCH | lch(55.69, 53.26, 89.80°) |
| OKLab | oklab(61.82% -0.0054 0.1158) |
| OKLCH | oklch(61.82% 0.116 92.7) |
| XYZ | xyz(22.4789, 23.6074, 4.7389) |
| Luminance | 0.2361 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.98
Dark Mustard
#A88905
ΔE00 3.44
Baby Poop
#937C00
ΔE00 3.56
Yellowish Brown
#9B7A01
ΔE00 3.61
Puke Brown
#947706
ΔE00 4.45
Yellowy Brown
#AE8B0C
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8320 #203B9E
analogous
#9E4420 #9E8320 #7A9E20
triadic
#9E8320 #209E83 #83209E
tetradic
#9E8320 #209E44 #203B9E #9E207A
square
#9E8320 #209E44 #203B9E #9E207A
split-complementary
#9E8320 #207A9E #44209E
monochromatic
#382F0B #6B5916 #9E8320 #D1AD2A #DEC25B
Accessibility & contrast
On white
3.67
#9E8320 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#9E8320 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8320
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8320 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8320 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92810A
Deuteranopia (green-blind)
#998926
Tritanopia (blue-blind)
#AB7870
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9e8320; /* rgb */ color: rgb(158, 131, 32); /* oklch */ color: oklch(61.8% 0.116 92.7);
Tailwind
colors: {
custom: {
50: '#bfa664',
500: '#9e8320',
950: '#000000',
},
}SCSS
$custom: #9e8320; $custom-light: #bfa664; $custom-dark: #000000;
JSON
{
"hex": "#9e8320",
"rgb": {
"r": 158,
"g": 131,
"b": 32
},
"hsl": {
"h": 47.143,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.61818,
"c": 0.11593,
"h": 92.7
},
"luminance": 0.23606
}Semantic roles & 50–950 ramp
primary
#9E8320
secondary
#586FC2
accent
#63E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A