#AC791F#AC791F

#AC791F is a mid, moderate orange. Relative luminance 0.225; OKLCH L 61.3% C 0.118 H 76.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AC791F
RGBrgb(172, 121, 31)
HSLhsl(38, 69%, 40%)
HSVhsv(38, 82%, 67%)
CMYKcmyk(0%, 29.7%, 82%, 32.5%)
CIE-LABlab(54.60, 12.15, 53.21)
CIE-LCHlch(54.60, 54.58, 77.14°)
OKLaboklab(61.31% 0.0281 0.1147)
OKLCHoklch(61.31% 0.118 76.2)
XYZxyz(24.0997, 22.5464, 4.3787)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC791F #1F52AC
analogous
#AC331F #AC791F #98AC1F
triadic
#AC791F #1FAC79 #791FAC
tetradic
#AC791F #1FAC33 #1F52AC #AC1F98
square
#AC791F #1FAC33 #1F52AC #AC1F98
split-complementary
#AC791F #1F98AC #331FAC
monochromatic
#44300C #785516 #AC791F #D99C2F #E3B463

Accessibility & contrast

On white

3.81
#AC791F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#AC791F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC791F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC791F#FFFFFF#000000##000000
##AC791F1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0C
Deuteranopia (green-blind)
#988823
Tritanopia (blue-blind)
#BC6B68
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac791f;
/* rgb */ color: rgb(172, 121, 31);
/* oklch */ color: oklch(61.3% 0.118 76.2);
Tailwind
colors: {
  custom: {
    50: '#ca9f63',
    500: '#ac791f',
    950: '#000000',
  },
}
SCSS
$custom: #ac791f;
$custom-light: #ca9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#ac791f",
  "rgb": {
    "r": 172,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 38.298,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61309,
    "c": 0.11805,
    "h": 76.2
  },
  "luminance": 0.22544
}

Semantic roles & 50–950 ramp

primary
#AC791F
secondary
#5F85C8
accent
#7BEC3C
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AC791F

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

Preview Lab → · Contrast checker → · Palette generator →

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