#A8791F#A8791F
#A8791F is a mid, moderate orange. Relative luminance 0.221; OKLCH L 60.8% C 0.116 H 78.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A8791F |
|---|---|
| RGB | rgb(168, 121, 31) |
| HSL | hsl(39, 69%, 39%) |
| HSV | hsv(39, 82%, 66%) |
| CMYK | cmyk(0%, 28%, 81.5%, 34.1%) |
| CIE-LAB | lab(54.13, 10.34, 52.61) |
| CIE-LCH | lch(54.13, 53.62, 78.89°) |
| OKLab | oklab(60.84% 0.0231 0.1136) |
| OKLCH | oklch(60.84% 0.116 78.5) |
| XYZ | xyz(23.2348, 22.1004, 4.3381) |
| Luminance | 0.2210 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Bronze (survey)
#A87900
ΔE00 2.42
Golden Brown
#B27A01
ΔE00 3.03
Mustard Brown
#AC7E04
ΔE00 3.31
Caramel (survey)
#AF6F09
ΔE00 5.18
Yellowish Brown
#9B7A01
ΔE00 5.61
Darkgoldenrod
#B8860B
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8791F #1F4EA8
analogous
#A8351F #A8791F #93A81F
triadic
#A8791F #1FA879 #791FA8
tetradic
#A8791F #1FA835 #1F4EA8 #A81F93
square
#A8791F #1FA835 #1F4EA8 #A81F93
split-complementary
#A8791F #1F93A8 #351FA8
monochromatic
#412F0C #745415 #A8791F #D89D2C #E2B560
Accessibility & contrast
On white
3.87
#A8791F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#A8791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A8791F
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8791F | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B0C
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#B76C68
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #a8791f; /* rgb */ color: rgb(168, 121, 31); /* oklch */ color: oklch(60.8% 0.116 78.5);
Tailwind
colors: {
custom: {
50: '#c79f63',
500: '#a8791f',
950: '#000000',
},
}SCSS
$custom: #a8791f; $custom-light: #c79f63; $custom-dark: #000000;
JSON
{
"hex": "#a8791f",
"rgb": {
"r": 168,
"g": 121,
"b": 31
},
"hsl": {
"h": 39.416,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.60839,
"c": 0.11594,
"h": 78.5
},
"luminance": 0.22099
}Semantic roles & 50–950 ramp
primary
#A8791F
secondary
#5D81C6
accent
#78EC3C
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E06
muted
#827E7A