#AB7940#AB7940
#AB7940 is a mid, moderate orange. Relative luminance 0.227; OKLCH L 61.5% C 0.097 H 67.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7940 |
|---|---|
| RGB | rgb(171, 121, 64) |
| HSL | hsl(32, 46%, 46%) |
| HSV | hsv(32, 63%, 67%) |
| CMYK | cmyk(0%, 29.2%, 62.6%, 32.9%) |
| CIE-LAB | lab(54.77, 13.43, 38.46) |
| CIE-LCH | lch(54.77, 40.74, 70.75°) |
| OKLab | oklab(61.5% 0.0364 0.0895) |
| OKLCH | oklch(61.5% 0.097 67.9) |
| XYZ | xyz(24.5589, 22.7048, 7.9385) |
| Luminance | 0.2270 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Leather
#AC7434
ΔE00 2.22
Tan Brown
#AB7E4C
ΔE00 2.28
Light Brown
#AD8150
ΔE00 3.20
Puce
#A57E52
ΔE00 3.81
Coffee
#A6814C
ΔE00 4.21
Copper
#B87333
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7940 #4072AB
analogous
#AB4340 #AB7940 #A7AB40
triadic
#AB7940 #40AB79 #7940AB
tetradic
#AB7940 #40AB43 #4072AB #AB40A7
square
#AB7940 #40AB43 #4072AB #AB40A7
split-complementary
#AB7940 #40A7AB #4340AB
monochromatic
#523A1F #7E592F #AB7940 #C59763 #D5B590
Accessibility & contrast
On white
3.79
#AB7940 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#AB7940 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7940
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7940 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7C3B
Deuteranopia (green-blind)
#958841
Tritanopia (blue-blind)
#B96D6C
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #ab7940; /* rgb */ color: rgb(171, 121, 64); /* oklch */ color: oklch(61.5% 0.097 67.9);
Tailwind
colors: {
custom: {
50: '#c79f77',
500: '#ab7940',
950: '#000000',
},
}SCSS
$custom: #ab7940; $custom-light: #c79f77; $custom-dark: #000000;
JSON
{
"hex": "#ab7940",
"rgb": {
"r": 171,
"g": 121,
"b": 64
},
"hsl": {
"h": 31.963,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.61502,
"c": 0.09664,
"h": 67.9
},
"luminance": 0.22703
}Semantic roles & 50–950 ramp
primary
#AB7940
secondary
#86A1C1
accent
#90D553
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#140E09
muted
#827E7B