#AC7A1F#AC7A1F
#AC7A1F is a mid, moderate orange. Relative luminance 0.228; OKLCH L 61.5% C 0.118 H 77.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AC7A1F |
|---|---|
| RGB | rgb(172, 122, 31) |
| HSL | hsl(39, 69%, 40%) |
| HSV | hsv(39, 82%, 67%) |
| CMYK | cmyk(0%, 29.1%, 82%, 32.5%) |
| CIE-LAB | lab(54.86, 11.59, 53.43) |
| CIE-LCH | lch(54.86, 54.67, 77.77°) |
| OKLab | oklab(61.51% 0.0265 0.1152) |
| OKLCH | oklch(61.51% 0.118 77.1) |
| XYZ | xyz(24.2219, 22.7907, 4.4194) |
| Luminance | 0.2279 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 2.35
Bronze (survey)
#A87900
ΔE00 2.81
Mustard Brown
#AC7E04
ΔE00 3.41
Caramel (survey)
#AF6F09
ΔE00 4.75
Darkgoldenrod
#B8860B
ΔE00 5.19
Leather
#AC7434
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC7A1F #1F51AC
analogous
#AC331F #AC7A1F #98AC1F
triadic
#AC7A1F #1FAC7A #7A1FAC
tetradic
#AC7A1F #1FAC33 #1F51AC #AC1F98
square
#AC7A1F #1FAC33 #1F51AC #AC1F98
split-complementary
#AC7A1F #1F98AC #331FAC
monochromatic
#44300C #785516 #AC7A1F #D99D2F #E3B563
Accessibility & contrast
On white
3.78
#AC7A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#AC7A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AC7A1F
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC7A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC7A1F | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C0B
Deuteranopia (green-blind)
#988823
Tritanopia (blue-blind)
#BC6C69
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #ac7a1f; /* rgb */ color: rgb(172, 122, 31); /* oklch */ color: oklch(61.5% 0.118 77.1);
Tailwind
colors: {
custom: {
50: '#caa063',
500: '#ac7a1f',
950: '#000000',
},
}SCSS
$custom: #ac7a1f; $custom-light: #caa063; $custom-dark: #000000;
JSON
{
"hex": "#ac7a1f",
"rgb": {
"r": 172,
"g": 122,
"b": 31
},
"hsl": {
"h": 38.723,
"s": 69.458,
"l": 39.804
},
"oklch": {
"l": 0.61507,
"c": 0.11816,
"h": 77.1
},
"luminance": 0.22789
}Semantic roles & 50–950 ramp
primary
#AC7A1F
secondary
#5F84C8
accent
#7AEC3C
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A