#A7791B#A7791B
#A7791B is a mid, moderate orange. Relative luminance 0.220; OKLCH L 60.7% C 0.117 H 79.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A7791B |
|---|---|
| RGB | rgb(167, 121, 27) |
| HSL | hsl(40, 72%, 38%) |
| HSV | hsv(40, 84%, 65%) |
| CMYK | cmyk(0%, 27.5%, 83.8%, 34.5%) |
| CIE-LAB | lab(54.00, 9.75, 53.83) |
| CIE-LCH | lch(54.00, 54.70, 79.73°) |
| OKLab | oklab(60.7% 0.021 0.1154) |
| OKLCH | oklch(60.7% 0.117 79.7) |
| XYZ | xyz(22.9732, 21.9712, 4.0676) |
| Luminance | 0.2197 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Bronze (survey)
#A87900
ΔE00 1.87
Mustard Brown
#AC7E04
ΔE00 2.88
Golden Brown
#B27A01
ΔE00 3.08
Yellowish Brown
#9B7A01
ΔE00 5.01
Darkgoldenrod
#B8860B
ΔE00 5.47
Caramel (survey)
#AF6F09
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7791B #1B49A7
analogous
#A7331B #A7791B #8FA71B
triadic
#A7791B #1BA779 #791BA7
tetradic
#A7791B #1BA733 #1B49A7 #A71B8F
square
#A7791B #1BA733 #1B49A7 #A71B8F
split-complementary
#A7791B #1B8FA7 #331BA7
monochromatic
#3E2D0A #725312 #A7791B #DC9F24 #E4B658
Accessibility & contrast
On white
3.89
#A7791B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#A7791B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A7791B
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7791B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7791B | 1.00 | 3.89 | 5.39 | 5.39 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A03
Deuteranopia (green-blind)
#968620
Tritanopia (blue-blind)
#B66C68
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #a7791b; /* rgb */ color: rgb(167, 121, 27); /* oklch */ color: oklch(60.7% 0.117 79.7);
Tailwind
colors: {
custom: {
50: '#c69f61',
500: '#a7791b',
950: '#000000',
},
}SCSS
$custom: #a7791b; $custom-light: #c69f61; $custom-dark: #000000;
JSON
{
"hex": "#a7791b",
"rgb": {
"r": 167,
"g": 121,
"b": 27
},
"hsl": {
"h": 40.286,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.60699,
"c": 0.11727,
"h": 79.7
},
"luminance": 0.21969
}Semantic roles & 50–950 ramp
primary
#A7791B
secondary
#567BC8
accent
#75EF39
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E05
muted
#827E7A