#856E17#856E17
#856E17 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.5% C 0.104 H 93.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #856E17 |
|---|---|
| RGB | rgb(133, 110, 23) |
| HSL | hsl(47, 71%, 31%) |
| HSV | hsv(47, 83%, 52%) |
| CMYK | cmyk(0%, 17.3%, 82.7%, 47.8%) |
| CIE-LAB | lab(47.24, 0.03, 47.79) |
| CIE-LCH | lch(47.24, 47.79, 89.96°) |
| OKLab | oklab(54.52% -0.0054 0.1034) |
| OKLCH | oklch(54.52% 0.104 93) |
| XYZ | xyz(15.4043, 16.2012, 3.1262) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.30
Poo
#8F7303
ΔE00 3.36
Muddy Brown
#886806
ΔE00 3.46
Ugly Brown
#7D7103
ΔE00 4.19
Puke Brown
#947706
ΔE00 4.82
Shit
#7F5F00
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#856E17 #172E85
analogous
#853717 #856E17 #658517
triadic
#856E17 #17856E #6E1785
tetradic
#856E17 #178537 #172E85 #851765
square
#856E17 #178537 #172E85 #851765
split-complementary
#856E17 #176585 #371785
monochromatic
#1D1805 #51430E #856E17 #B99920 #DDBB3A
Accessibility & contrast
On white
4.95
#856E17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#856E17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #856E17
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##856E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##856E17 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#81731D
Tritanopia (blue-blind)
#90645E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #856e17; /* rgb */ color: rgb(133, 110, 23); /* oklch */ color: oklch(54.5% 0.104 93.0);
Tailwind
colors: {
custom: {
50: '#ac975d',
500: '#856e17',
950: '#000000',
},
}SCSS
$custom: #856e17; $custom-light: #ac975d; $custom-dark: #000000;
JSON
{
"hex": "#856e17",
"rgb": {
"r": 133,
"g": 110,
"b": 23
},
"hsl": {
"h": 47.455,
"s": 70.513,
"l": 30.588
},
"oklch": {
"l": 0.54523,
"c": 0.10352,
"h": 93
},
"luminance": 0.162
}Semantic roles & 50–950 ramp
primary
#856E17
secondary
#3F58B9
accent
#60ED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D04
muted
#807E79