#A7731F#A7731F
#A7731F is a mid, moderate orange. Relative luminance 0.206; OKLCH L 59.5% C 0.115 H 74.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A7731F |
|---|---|
| RGB | rgb(167, 115, 31) |
| HSL | hsl(37, 69%, 39%) |
| HSV | hsv(37, 81%, 65%) |
| CMYK | cmyk(0%, 31.1%, 81.4%, 34.5%) |
| CIE-LAB | lab(52.48, 13.27, 51.08) |
| CIE-LCH | lch(52.48, 52.78, 75.44°) |
| OKLab | oklab(59.52% 0.0316 0.1104) |
| OKLCH | oklch(59.52% 0.115 74) |
| XYZ | xyz(22.3161, 20.5778, 4.0927) |
| Luminance | 0.2058 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Caramel (survey)
#AF6F09
ΔE00 3.11
Leather
#AC7434
ΔE00 4.14
Golden Brown
#B27A01
ΔE00 4.24
Bronze (survey)
#A87900
ΔE00 4.51
Mustard Brown
#AC7E04
ΔE00 5.81
Raw Sienna
#9A6200
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7731F #1F53A7
analogous
#A72F1F #A7731F #97A71F
triadic
#A7731F #1FA773 #731FA7
tetradic
#A7731F #1FA72F #1F53A7 #A71F97
square
#A7731F #1FA72F #1F53A7 #A71F97
split-complementary
#A7731F #1F97A7 #2F1FA7
monochromatic
#402C0C #734F15 #A7731F #D8962B #E1B05F
Accessibility & contrast
On white
4.11
#A7731F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#A7731F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A7731F
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7731F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7731F | 1.00 | 4.11 | 5.12 | 5.12 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86760F
Deuteranopia (green-blind)
#928222
Tritanopia (blue-blind)
#B66563
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a7731f; /* rgb */ color: rgb(167, 115, 31); /* oklch */ color: oklch(59.5% 0.115 74.0);
Tailwind
colors: {
custom: {
50: '#c69b62',
500: '#a7731f',
950: '#000000',
},
}SCSS
$custom: #a7731f; $custom-light: #c69b62; $custom-dark: #000000;
JSON
{
"hex": "#a7731f",
"rgb": {
"r": 167,
"g": 115,
"b": 31
},
"hsl": {
"h": 37.059,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.59524,
"c": 0.1148,
"h": 74
},
"luminance": 0.20576
}Semantic roles & 50–950 ramp
primary
#A7731F
secondary
#5C84C6
accent
#7FEC3C
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E05
muted
#827E7A