#5A420F#5A420F
#5A420F is a dark, moderate orange. Relative luminance 0.061; OKLCH L 39.6% C 0.073 H 81.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5A420F |
|---|---|
| RGB | rgb(90, 66, 15) |
| HSL | hsl(41, 71%, 21%) |
| HSV | hsv(41, 83%, 35%) |
| CMYK | cmyk(0%, 26.7%, 83.3%, 64.7%) |
| CIE-LAB | lab(29.68, 4.95, 33.03) |
| CIE-LCH | lch(29.68, 33.40, 81.48°) |
| OKLab | oklab(39.56% 0.0104 0.0722) |
| OKLCH | oklch(39.56% 0.073 81.8) |
| XYZ | xyz(6.2513, 6.1051, 1.3010) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mud Brown
#60460F
ΔE00 1.71
Olive Brown
#645403
ΔE00 8.14
Brown (survey)
#653700
ΔE00 8.20
Green Brown
#544E03
ΔE00 8.91
Medium Brown
#7F5112
ΔE00 9.69
Mud
#735C12
ΔE00 9.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A420F #0F275A
analogous
#5A1C0F #5A420F #4C5A0F
triadic
#5A420F #0F5A42 #420F5A
tetradic
#5A420F #0F5A1C #0F275A #5A0F4C
square
#5A420F #0F5A1C #0F275A #5A0F4C
split-complementary
#5A420F #0F4C5A #1C0F5A
monochromatic
#1A1304 #261C06 #5A420F #8E6818 #C38F20
Accessibility & contrast
On white
9.46
#5A420F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#5A420F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A420F
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A420F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A420F | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4207
Deuteranopia (green-blind)
#524811
Tritanopia (blue-blind)
#623B38
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5a420f; /* rgb */ color: rgb(90, 66, 15); /* oklch */ color: oklch(39.6% 0.073 81.8);
Tailwind
colors: {
custom: {
50: '#8c7652',
500: '#5a420f',
950: '#000000',
},
}SCSS
$custom: #5a420f; $custom-light: #8c7652; $custom-dark: #000000;
JSON
{
"hex": "#5a420f",
"rgb": {
"r": 90,
"g": 66,
"b": 15
},
"hsl": {
"h": 40.8,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.39558,
"c": 0.07293,
"h": 81.8
},
"luminance": 0.06105
}Semantic roles & 50–950 ramp
primary
#5A420F
secondary
#315194
accent
#73EE3A
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0D0802
muted
#7D7B78