#5A3F12#5A3F12
#5A3F12 is a dark, moderate orange. Relative luminance 0.058; OKLCH L 38.9% C 0.070 H 76.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5A3F12 |
|---|---|
| RGB | rgb(90, 63, 18) |
| HSL | hsl(38, 67%, 21%) |
| HSV | hsv(38, 80%, 35%) |
| CMYK | cmyk(0%, 30%, 80%, 64.7%) |
| CIE-LAB | lab(28.83, 6.98, 30.84) |
| CIE-LCH | lch(28.83, 31.62, 77.24°) |
| OKLab | oklab(38.91% 0.0167 0.0683) |
| OKLCH | oklch(38.91% 0.07 76.3) |
| XYZ | xyz(6.1036, 5.7728, 1.3650) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mud Brown
#60460F
ΔE00 3.19
Brown (survey)
#653700
ΔE00 6.57
Medium Brown
#7F5112
ΔE00 9.61
Milk Chocolate
#7F4E1E
ΔE00 9.71
Olive Brown
#645403
ΔE00 10.17
Chocolate
#7B3F00
ΔE00 10.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A3F12 #122D5A
analogous
#5A1B12 #5A3F12 #515A12
triadic
#5A3F12 #125A3F #3F125A
tetradic
#5A3F12 #125A1B #122D5A #5A1251
square
#5A3F12 #125A1B #122D5A #5A1251
split-complementary
#5A3F12 #12515A #1B125A
monochromatic
#1A1205 #271B08 #5A3F12 #8D631C #C08626
Accessibility & contrast
On white
9.75
#5A3F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#5A3F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A3F12
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A3F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A3F12 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#49400C
Deuteranopia (green-blind)
#4F4714
Tritanopia (blue-blind)
#633836
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5a3f12; /* rgb */ color: rgb(90, 63, 18); /* oklch */ color: oklch(38.9% 0.070 76.3);
Tailwind
colors: {
custom: {
50: '#8c7353',
500: '#5a3f12',
950: '#000000',
},
}SCSS
$custom: #5a3f12; $custom-light: #8c7353; $custom-dark: #000000;
JSON
{
"hex": "#5a3f12",
"rgb": {
"r": 90,
"g": 63,
"b": 18
},
"hsl": {
"h": 37.5,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.38905,
"c": 0.07026,
"h": 76.3
},
"luminance": 0.05772
}Semantic roles & 50–950 ramp
primary
#5A3F12
secondary
#355893
accent
#7EEA3E
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0D0802
muted
#7D7B78