#A7831B#A7831B
#A7831B is a light, vivid orange. Relative luminance 0.245; OKLCH L 62.8% C 0.120 H 87.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A7831B |
|---|---|
| RGB | rgb(167, 131, 27) |
| HSL | hsl(45, 72%, 38%) |
| HSV | hsv(45, 84%, 65%) |
| CMYK | cmyk(0%, 21.6%, 83.8%, 34.5%) |
| CIE-LAB | lab(56.61, 4.14, 56.08) |
| CIE-LCH | lch(56.61, 56.23, 85.78°) |
| OKLab | oklab(62.75% 0.0049 0.1203) |
| OKLCH | oklch(62.75% 0.12 87.7) |
| XYZ | xyz(24.2520, 24.5289, 4.4939) |
| Luminance | 0.2453 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard Brown
#AC7E04
ΔE00 3.14
Diarrhea
#9F8303
ΔE00 3.16
Dark Mustard
#A88905
ΔE00 3.21
Yellowy Brown
#AE8B0C
ΔE00 3.28
Yellowish Brown
#9B7A01
ΔE00 3.74
Bronze (survey)
#A87900
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7831B #1B3FA7
analogous
#A73D1B #A7831B #85A71B
triadic
#A7831B #1BA783 #831BA7
tetradic
#A7831B #1BA73D #1B3FA7 #A71B85
square
#A7831B #1BA73D #1B3FA7 #A71B85
split-complementary
#A7831B #1B85A7 #3D1BA7
monochromatic
#3E300A #725A12 #A7831B #DCAC24 #E4C058
Accessibility & contrast
On white
3.56
#A7831B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#A7831B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A7831B
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7831B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7831B | 1.00 | 3.56 | 5.91 | 5.91 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#9C8C22
Tritanopia (blue-blind)
#B67670
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #a7831b; /* rgb */ color: rgb(167, 131, 27); /* oklch */ color: oklch(62.8% 0.120 87.7);
Tailwind
colors: {
custom: {
50: '#c6a662',
500: '#a7831b',
950: '#000000',
},
}SCSS
$custom: #a7831b; $custom-light: #c6a662; $custom-dark: #000000;
JSON
{
"hex": "#a7831b",
"rgb": {
"r": 167,
"g": 131,
"b": 27
},
"hsl": {
"h": 44.571,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.62753,
"c": 0.1204,
"h": 87.7
},
"luminance": 0.24527
}Semantic roles & 50–950 ramp
primary
#A7831B
secondary
#5673C8
accent
#68EF39
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A