#A7791F#A7791F
#A7791F is a mid, moderate orange. Relative luminance 0.220; OKLCH L 60.7% C 0.115 H 79.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A7791F |
|---|---|
| RGB | rgb(167, 121, 31) |
| HSL | hsl(40, 69%, 39%) |
| HSV | hsv(40, 81%, 65%) |
| CMYK | cmyk(0%, 27.5%, 81.4%, 34.5%) |
| CIE-LAB | lab(54.02, 9.88, 52.46) |
| CIE-LCH | lch(54.02, 53.39, 79.33°) |
| OKLab | oklab(60.72% 0.0218 0.1134) |
| OKLCH | oklch(60.72% 0.115 79.1) |
| XYZ | xyz(23.0227, 21.9910, 4.3282) |
| Luminance | 0.2199 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Bronze (survey)
#A87900
ΔE00 2.33
Golden Brown
#B27A01
ΔE00 3.24
Mustard Brown
#AC7E04
ΔE00 3.25
Yellowish Brown
#9B7A01
ΔE00 5.32
Caramel (survey)
#AF6F09
ΔE00 5.43
Darkgoldenrod
#B8860B
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7791F #1F4DA7
analogous
#A7351F #A7791F #91A71F
triadic
#A7791F #1FA779 #791FA7
tetradic
#A7791F #1FA735 #1F4DA7 #A71F91
square
#A7791F #1FA735 #1F4DA7 #A71F91
split-complementary
#A7791F #1F91A7 #351FA7
monochromatic
#402E0C #735415 #A7791F #D89D2B #E1B55F
Accessibility & contrast
On white
3.89
#A7791F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#A7791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A7791F
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7791F | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A0C
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#B66C68
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #a7791f; /* rgb */ color: rgb(167, 121, 31); /* oklch */ color: oklch(60.7% 0.115 79.1);
Tailwind
colors: {
custom: {
50: '#c69f63',
500: '#a7791f',
950: '#000000',
},
}SCSS
$custom: #a7791f; $custom-light: #c69f63; $custom-dark: #000000;
JSON
{
"hex": "#a7791f",
"rgb": {
"r": 167,
"g": 121,
"b": 31
},
"hsl": {
"h": 39.706,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.60722,
"c": 0.11544,
"h": 79.1
},
"luminance": 0.21989
}Semantic roles & 50–950 ramp
primary
#A7791F
secondary
#5C80C6
accent
#78EC3C
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E06
muted
#827E7A