#AC781F#AC781F

#AC781F is a mid, moderate orange. Relative luminance 0.223; OKLCH L 61.1% C 0.118 H 75.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AC781F
RGBrgb(172, 120, 31)
HSLhsl(38, 69%, 40%)
HSVhsv(38, 82%, 67%)
CMYKcmyk(0%, 30.2%, 82%, 32.5%)
CIE-LABlab(54.35, 12.71, 52.98)
CIE-LCHlch(54.35, 54.48, 76.51°)
OKLaboklab(61.11% 0.0297 0.1142)
OKLCHoklch(61.11% 0.118 75.4)
XYZxyz(23.9788, 22.3046, 4.3384)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC781F #1F53AC
analogous
#AC311F #AC781F #9AAC1F
triadic
#AC781F #1FAC78 #781FAC
tetradic
#AC781F #1FAC31 #1F53AC #AC1F9A
square
#AC781F #1FAC31 #1F53AC #AC1F9A
split-complementary
#AC781F #1F9AAC #311FAC
monochromatic
#44300C #785416 #AC781F #D99A2F #E3B463

Accessibility & contrast

On white

3.85
#AC781F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#AC781F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC781F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC781F#FFFFFF#000000##000000
##AC781F1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0C
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#BC6A67
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac781f;
/* rgb */ color: rgb(172, 120, 31);
/* oklch */ color: oklch(61.1% 0.118 75.4);
Tailwind
colors: {
  custom: {
    50: '#ca9e63',
    500: '#ac781f',
    950: '#000000',
  },
}
SCSS
$custom: #ac781f;
$custom-light: #ca9e63;
$custom-dark: #000000;
JSON
{
  "hex": "#ac781f",
  "rgb": {
    "r": 172,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 37.872,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61111,
    "c": 0.11797,
    "h": 75.4
  },
  "luminance": 0.22303
}

Semantic roles & 50–950 ramp

primary
#AC781F
secondary
#5F86C8
accent
#7DEC3C
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AC781F

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

Preview Lab → · Contrast checker → · Palette generator →

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