#5A401B#5A401B
#5A401B is a dark, moderate orange. Relative luminance 0.059; OKLCH L 39.2% C 0.064 H 73.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5A401B |
|---|---|
| RGB | rgb(90, 64, 27) |
| HSL | hsl(35, 54%, 23%) |
| HSV | hsv(35, 70%, 35%) |
| CMYK | cmyk(0%, 28.9%, 70%, 64.7%) |
| CIE-LAB | lab(29.21, 6.92, 26.53) |
| CIE-LCH | lch(29.21, 27.42, 75.38°) |
| OKLab | oklab(39.23% 0.0179 0.0609) |
| OKLCH | oklch(39.23% 0.064 73.6) |
| XYZ | xyz(6.2481, 5.9201, 1.8503) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mud Brown
#60460F
ΔE00 4.58
Brown (survey)
#653700
ΔE00 7.08
Espresso
#4B382A
ΔE00 8.76
Walnut
#5C4A3D
ΔE00 9.42
Milk Chocolate
#7F4E1E
ΔE00 9.64
Medium Brown
#7F5112
ΔE00 10.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A401B #1B355A
analogous
#5A201B #5A401B #545A1B
triadic
#5A401B #1B5A40 #401B5A
tetradic
#5A401B #1B5A20 #1B355A #5A1B54
square
#5A401B #1B5A20 #1B355A #5A1B54
split-complementary
#5A401B #1B545A #201B5A
monochromatic
#181107 #2B1F0D #5A401B #896129 #B88337
Accessibility & contrast
On white
9.62
#5A401B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#5A401B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A401B
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A401B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A401B | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494117
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#623938
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #5a401b; /* rgb */ color: rgb(90, 64, 27); /* oklch */ color: oklch(39.2% 0.064 73.6);
Tailwind
colors: {
custom: {
50: '#8b7459',
500: '#5a401b',
950: '#000000',
},
}SCSS
$custom: #5a401b; $custom-light: #8b7459; $custom-dark: #000000;
JSON
{
"hex": "#5a401b",
"rgb": {
"r": 90,
"g": 64,
"b": 27
},
"hsl": {
"h": 35.238,
"s": 53.846,
"l": 22.941
},
"oklch": {
"l": 0.39229,
"c": 0.0635,
"h": 73.6
},
"luminance": 0.0592
}Semantic roles & 50–950 ramp
primary
#5A401B
secondary
#416290
accent
#87DD4B
background
#F8F7F5
surface
#F0EDE9
border
#CBC8C5
text
#0C0803
muted
#7D7B78