#866D1F#866D1F
#866D1F is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.5% C 0.099 H 90.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #866D1F |
|---|---|
| RGB | rgb(134, 109, 31) |
| HSL | hsl(45, 62%, 32%) |
| HSV | hsv(45, 77%, 53%) |
| CMYK | cmyk(0%, 18.7%, 76.9%, 47.5%) |
| CIE-LAB | lab(47.11, 1.42, 44.71) |
| CIE-LCH | lch(47.11, 44.73, 88.18°) |
| OKLab | oklab(54.47% -0.0006 0.0985) |
| OKLCH | oklch(54.47% 0.099 90.4) |
| XYZ | xyz(15.5484, 16.1055, 3.5858) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Brown
#886806
ΔE00 3.10
Hazel
#8E7618
ΔE00 3.98
Poo
#8F7303
ΔE00 4.06
Puke Brown
#947706
ΔE00 5.39
Shit
#7F5F00
ΔE00 5.44
Ugly Brown
#7D7103
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866D1F #1F3886
analogous
#863A1F #866D1F #6B861F
triadic
#866D1F #1F866D #6D1F86
tetradic
#866D1F #1F863A #1F3886 #861F6B
square
#866D1F #1F863A #1F3886 #861F6B
split-complementary
#866D1F #1F6B86 #3A1F86
monochromatic
#231C08 #544514 #866D1F #B8952A #D5B34A
Accessibility & contrast
On white
4.98
#866D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#866D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #866D1F
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##866D1F | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6C12
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#91635E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #866d1f; /* rgb */ color: rgb(134, 109, 31); /* oklch */ color: oklch(54.5% 0.099 90.4);
Tailwind
colors: {
custom: {
50: '#ad9661',
500: '#866d1f',
950: '#000000',
},
}SCSS
$custom: #866d1f; $custom-light: #ad9661; $custom-dark: #000000;
JSON
{
"hex": "#866d1f",
"rgb": {
"r": 134,
"g": 109,
"b": 31
},
"hsl": {
"h": 45.437,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.54465,
"c": 0.0985,
"h": 90.4
},
"luminance": 0.16105
}Semantic roles & 50–950 ramp
primary
#866D1F
secondary
#4964B8
accent
#6AE542
background
#FBF9F5
surface
#F6F1EA
border
#D0CBC6
text
#110D05
muted
#807E79