#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
RGBrgb(172, 122, 31)
HSLhsl(39, 69%, 40%)
HSVhsv(39, 82%, 67%)
CMYKcmyk(0%, 29.1%, 82%, 32.5%)
CIE-LABlab(54.86, 11.59, 53.43)
CIE-LCHlch(54.86, 54.67, 77.77°)
OKLaboklab(61.51% 0.0265 0.1152)
OKLCHoklch(61.51% 0.118 77.1)
XYZxyz(24.2219, 22.7907, 4.4194)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

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
##AC7A1F1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.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

Preview Lab

Preview with #AC7A1F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AC7A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva