#866E18#866E18
#866E18 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.6% C 0.103 H 92.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #866E18 |
|---|---|
| RGB | rgb(134, 110, 24) |
| HSL | hsl(47, 70%, 31%) |
| HSV | hsv(47, 82%, 53%) |
| CMYK | cmyk(0%, 17.9%, 82.1%, 47.5%) |
| CIE-LAB | lab(47.35, 0.54, 47.58) |
| CIE-LCH | lch(47.35, 47.59, 89.34°) |
| OKLab | oklab(54.64% -0.0039 0.1031) |
| OKLCH | oklch(54.64% 0.103 92.1) |
| XYZ | xyz(15.5732, 16.2871, 3.1874) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Brown
#886806
ΔE00 3.22
Hazel
#8E7618
ΔE00 3.25
Poo
#8F7303
ΔE00 3.25
Ugly Brown
#7D7103
ΔE00 4.55
Puke Brown
#947706
ΔE00 4.69
Shit
#7F5F00
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866E18 #183086
analogous
#863718 #866E18 #678618
triadic
#866E18 #18866E #6E1886
tetradic
#866E18 #188637 #183086 #861867
square
#866E18 #188637 #183086 #861867
split-complementary
#866E18 #186786 #371886
monochromatic
#1E1905 #52430F #866E18 #BA9921 #DCB93C
Accessibility & contrast
On white
4.93
#866E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#866E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #866E18
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##866E18 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C04
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#92645E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #866e18; /* rgb */ color: rgb(134, 110, 24); /* oklch */ color: oklch(54.6% 0.103 92.1);
Tailwind
colors: {
custom: {
50: '#ad975d',
500: '#866e18',
950: '#000000',
},
}SCSS
$custom: #866e18; $custom-light: #ad975d; $custom-dark: #000000;
JSON
{
"hex": "#866e18",
"rgb": {
"r": 134,
"g": 110,
"b": 24
},
"hsl": {
"h": 46.909,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.54637,
"c": 0.10317,
"h": 92.1
},
"luminance": 0.16286
}Semantic roles & 50–950 ramp
primary
#866E18
secondary
#405BBA
accent
#62EC3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79