#5A470F#5A470F
#5A470F is a dark, moderate orange. Relative luminance 0.067; OKLCH L 40.7% C 0.075 H 88.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5A470F |
|---|---|
| RGB | rgb(90, 71, 15) |
| HSL | hsl(45, 71%, 21%) |
| HSV | hsv(45, 83%, 35%) |
| CMYK | cmyk(0%, 21.1%, 83.3%, 64.7%) |
| CIE-LAB | lab(31.15, 1.83, 34.41) |
| CIE-LCH | lch(31.15, 34.46, 86.96°) |
| OKLab | oklab(40.72% 0.0014 0.0751) |
| OKLCH | oklch(40.72% 0.075 88.9) |
| XYZ | xyz(6.5563, 6.7151, 1.4027) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mud Brown
#60460F
ΔE00 2.84
Olive Brown
#645403
ΔE00 5.67
Green Brown
#544E03
ΔE00 6.10
Mud
#735C12
ΔE00 8.04
Poop Brown
#7A5901
ΔE00 9.13
Shit Brown
#7B5804
ΔE00 9.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A470F #0F225A
analogous
#5A210F #5A470F #475A0F
triadic
#5A470F #0F5A47 #470F5A
tetradic
#5A470F #0F5A21 #0F225A #5A0F47
square
#5A470F #0F5A21 #0F225A #5A0F47
split-complementary
#5A470F #0F475A #210F5A
monochromatic
#1A1504 #261E06 #5A470F #8E7018 #C39A20
Accessibility & contrast
On white
8.96
#5A470F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#5A470F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A470F
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A470F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A470F | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504605
Deuteranopia (green-blind)
#554B12
Tritanopia (blue-blind)
#62403C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #5a470f; /* rgb */ color: rgb(90, 71, 15); /* oklch */ color: oklch(40.7% 0.075 88.9);
Tailwind
colors: {
custom: {
50: '#8c7952',
500: '#5a470f',
950: '#000000',
},
}SCSS
$custom: #5a470f; $custom-light: #8c7952; $custom-dark: #000000;
JSON
{
"hex": "#5a470f",
"rgb": {
"r": 90,
"g": 71,
"b": 15
},
"hsl": {
"h": 44.8,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.40716,
"c": 0.07515,
"h": 88.9
},
"luminance": 0.06715
}Semantic roles & 50–950 ramp
primary
#5A470F
secondary
#314A94
accent
#67EE3A
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0C0902
muted
#7D7B78