#A7841F#A7841F
#A7841F is a light, moderate orange. Relative luminance 0.248; OKLCH L 63.0% C 0.119 H 88.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A7841F |
|---|---|
| RGB | rgb(167, 132, 31) |
| HSL | hsl(45, 69%, 39%) |
| HSV | hsv(45, 81%, 65%) |
| CMYK | cmyk(0%, 21%, 81.4%, 34.5%) |
| CIE-LAB | lab(56.90, 3.72, 55.04) |
| CIE-LCH | lch(56.90, 55.16, 86.14°) |
| OKLab | oklab(62.98% 0.0041 0.1189) |
| OKLCH | oklch(62.98% 0.119 88) |
| XYZ | xyz(24.4365, 24.8186, 4.7995) |
| Luminance | 0.2482 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dark Mustard
#A88905
ΔE00 3.09
Diarrhea
#9F8303
ΔE00 3.15
Yellowy Brown
#AE8B0C
ΔE00 3.17
Mustard Brown
#AC7E04
ΔE00 3.54
Yellowish Brown
#9B7A01
ΔE00 4.01
Darkgoldenrod
#B8860B
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7841F #1F42A7
analogous
#A7401F #A7841F #86A71F
triadic
#A7841F #1FA784 #841FA7
tetradic
#A7841F #1FA740 #1F42A7 #A71F86
square
#A7841F #1FA740 #1F42A7 #A71F86
split-complementary
#A7841F #1F86A7 #401FA7
monochromatic
#40320C #735B15 #A7841F #D8AB2B #E1C05F
Accessibility & contrast
On white
3.52
#A7841F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#A7841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A7841F
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7841F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7841F | 1.00 | 3.52 | 5.96 | 5.96 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958306
Deuteranopia (green-blind)
#9D8C25
Tritanopia (blue-blind)
#B67871
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #a7841f; /* rgb */ color: rgb(167, 132, 31); /* oklch */ color: oklch(63.0% 0.119 88.0);
Tailwind
colors: {
custom: {
50: '#c6a764',
500: '#a7841f',
950: '#000000',
},
}SCSS
$custom: #a7841f; $custom-light: #c6a764; $custom-dark: #000000;
JSON
{
"hex": "#a7841f",
"rgb": {
"r": 167,
"g": 132,
"b": 31
},
"hsl": {
"h": 44.559,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.62984,
"c": 0.11901,
"h": 88
},
"luminance": 0.24817
}Semantic roles & 50–950 ramp
primary
#A7841F
secondary
#5C77C6
accent
#69EC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A