#856F17#856F17
#856F17 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.7% C 0.104 H 93.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #856F17 |
|---|---|
| RGB | rgb(133, 111, 23) |
| HSL | hsl(48, 71%, 31%) |
| HSV | hsv(48, 83%, 52%) |
| CMYK | cmyk(0%, 16.5%, 82.7%, 47.8%) |
| CIE-LAB | lab(47.52, -0.54, 48.04) |
| CIE-LCH | lch(47.52, 48.04, 90.64°) |
| OKLab | oklab(54.75% -0.007 0.1039) |
| OKLCH | oklch(54.75% 0.104 93.9) |
| XYZ | xyz(15.5128, 16.4182, 3.1624) |
| Luminance | 0.1642 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.01
Poo
#8F7303
ΔE00 3.26
Ugly Brown
#7D7103
ΔE00 3.79
Muddy Brown
#886806
ΔE00 3.90
Puke Brown
#947706
ΔE00 4.65
Baby Poop
#937C00
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#856F17 #172D85
analogous
#853817 #856F17 #648517
triadic
#856F17 #17856F #6F1785
tetradic
#856F17 #178538 #172D85 #851764
square
#856F17 #178538 #172D85 #851764
split-complementary
#856F17 #176485 #381785
monochromatic
#1D1805 #51430E #856F17 #B99B20 #DDBC3A
Accessibility & contrast
On white
4.90
#856F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#856F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #856F17
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##856F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##856F17 | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#81731D
Tritanopia (blue-blind)
#90655F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #856f17; /* rgb */ color: rgb(133, 111, 23); /* oklch */ color: oklch(54.7% 0.104 93.9);
Tailwind
colors: {
custom: {
50: '#ac985d',
500: '#856f17',
950: '#000000',
},
}SCSS
$custom: #856f17; $custom-light: #ac985d; $custom-dark: #000000;
JSON
{
"hex": "#856f17",
"rgb": {
"r": 133,
"g": 111,
"b": 23
},
"hsl": {
"h": 48,
"s": 70.513,
"l": 30.588
},
"oklch": {
"l": 0.54745,
"c": 0.10416,
"h": 93.9
},
"luminance": 0.16417
}Semantic roles & 50–950 ramp
primary
#856F17
secondary
#3F57B9
accent
#5EED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79