#8A6D15#8A6D15
#8A6D15 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.8% C 0.105 H 88.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6D15 |
|---|---|
| RGB | rgb(138, 109, 21) |
| HSL | hsl(45, 74%, 31%) |
| HSV | hsv(45, 85%, 54%) |
| CMYK | cmyk(0%, 21%, 84.8%, 45.9%) |
| CIE-LAB | lab(47.49, 2.91, 48.88) |
| CIE-LCH | lch(47.49, 48.97, 86.59°) |
| OKLab | oklab(54.84% 0.0024 0.105) |
| OKLCH | oklch(54.84% 0.105 88.7) |
| XYZ | xyz(16.0863, 16.3958, 3.0268) |
| Luminance | 0.1640 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Brown
#886806
ΔE00 2.03
Poo
#8F7303
ΔE00 3.05
Hazel
#8E7618
ΔE00 3.70
Puke Brown
#947706
ΔE00 4.46
Shit
#7F5F00
ΔE00 5.17
Poop
#7F5E00
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6D15 #15328A
analogous
#8A3215 #8A6D15 #6C8A15
triadic
#8A6D15 #158A6D #6D158A
tetradic
#8A6D15 #158A32 #15328A #8A156C
square
#8A6D15 #158A32 #15328A #8A156C
split-complementary
#8A6D15 #156C8A #32158A
monochromatic
#201905 #55430D #8A6D15 #BF971D #E1B739
Accessibility & contrast
On white
4.91
#8A6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#8A6D15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A6D15
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6D15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A6D15 | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#82741B
Tritanopia (blue-blind)
#96635D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8a6d15; /* rgb */ color: rgb(138, 109, 21); /* oklch */ color: oklch(54.8% 0.105 88.7);
Tailwind
colors: {
custom: {
50: '#b0965c',
500: '#8a6d15',
950: '#000000',
},
}SCSS
$custom: #8a6d15; $custom-light: #b0965c; $custom-dark: #000000;
JSON
{
"hex": "#8a6d15",
"rgb": {
"r": 138,
"g": 109,
"b": 21
},
"hsl": {
"h": 45.128,
"s": 73.585,
"l": 31.176
},
"oklch": {
"l": 0.54843,
"c": 0.10503,
"h": 88.7
},
"luminance": 0.16395
}Semantic roles & 50–950 ramp
primary
#8A6D15
secondary
#3D5DBE
accent
#65F038
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79