#8A6F16#8A6F16
#8A6F16 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.3% C 0.106 H 90.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6F16 |
|---|---|
| RGB | rgb(138, 111, 22) |
| HSL | hsl(46, 73%, 31%) |
| HSV | hsv(46, 84%, 54%) |
| CMYK | cmyk(0%, 19.6%, 84.1%, 45.9%) |
| CIE-LAB | lab(48.05, 1.79, 49.04) |
| CIE-LCH | lch(48.05, 49.07, 87.90°) |
| OKLab | oklab(55.28% -0.0007 0.1056) |
| OKLCH | oklch(55.28% 0.106 90.4) |
| XYZ | xyz(16.3115, 16.8312, 3.1485) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Poo
#8F7303
ΔE00 2.43
Hazel
#8E7618
ΔE00 2.80
Muddy Brown
#886806
ΔE00 2.88
Puke Brown
#947706
ΔE00 3.83
Ugly Brown
#7D7103
ΔE00 5.36
Yellowish Brown
#9B7A01
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6F16 #16318A
analogous
#8A3516 #8A6F16 #6B8A16
triadic
#8A6F16 #168A6F #6F168A
tetradic
#8A6F16 #168A35 #16318A #8A166B
square
#8A6F16 #168A35 #16318A #8A166B
split-complementary
#8A6F16 #166B8A #35168A
monochromatic
#201A05 #55450E #8A6F16 #BF991E #E0B93B
Accessibility & contrast
On white
4.81
#8A6F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#8A6F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A6F16
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A6F16 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#83751C
Tritanopia (blue-blind)
#96655F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8a6f16; /* rgb */ color: rgb(138, 111, 22); /* oklch */ color: oklch(55.3% 0.106 90.4);
Tailwind
colors: {
custom: {
50: '#b0985d',
500: '#8a6f16',
950: '#000000',
},
}SCSS
$custom: #8a6f16; $custom-light: #b0985d; $custom-dark: #000000;
JSON
{
"hex": "#8a6f16",
"rgb": {
"r": 138,
"g": 111,
"b": 22
},
"hsl": {
"h": 46.034,
"s": 72.5,
"l": 31.373
},
"oklch": {
"l": 0.55283,
"c": 0.10557,
"h": 90.4
},
"luminance": 0.1683
}Semantic roles & 50–950 ramp
primary
#8A6F16
secondary
#3E5CBE
accent
#63EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D04
muted
#807E79