#AC7C1F#AC7C1F

#AC7C1F is a mid, moderate orange. Relative luminance 0.233; OKLCH L 61.9% C 0.118 H 78.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AC7C1F
RGBrgb(172, 124, 31)
HSLhsl(40, 69%, 40%)
HSVhsv(40, 82%, 67%)
CMYKcmyk(0%, 27.9%, 82%, 32.5%)
CIE-LABlab(55.37, 10.46, 53.89)
CIE-LCHlch(55.37, 54.89, 79.01°)
OKLaboklab(61.91% 0.0232 0.1161)
OKLCHoklch(61.91% 0.118 78.7)
XYZxyz(24.4700, 23.2869, 4.5021)
Luminance0.2329 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7C1F #1F4FAC
analogous
#AC351F #AC7C1F #96AC1F
triadic
#AC7C1F #1FAC7C #7C1FAC
tetradic
#AC7C1F #1FAC35 #1F4FAC #AC1F96
square
#AC7C1F #1FAC35 #1F4FAC #AC1F96
split-complementary
#AC7C1F #1F96AC #351FAC
monochromatic
#44310C #785716 #AC7C1F #D99F2F #E3B763

Accessibility & contrast

On white

3.71
#AC7C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#AC7C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7C1F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7C1F#FFFFFF#000000##000000
##AC7C1F1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0A
Deuteranopia (green-blind)
#9A8923
Tritanopia (blue-blind)
#BC6E6A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ac7c1f;
/* rgb */ color: rgb(172, 124, 31);
/* oklch */ color: oklch(61.9% 0.118 78.7);
Tailwind
colors: {
  custom: {
    50: '#caa163',
    500: '#ac7c1f',
    950: '#000000',
  },
}
SCSS
$custom: #ac7c1f;
$custom-light: #caa163;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7c1f",
  "rgb": {
    "r": 172,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 39.574,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61907,
    "c": 0.11844,
    "h": 78.7
  },
  "luminance": 0.23285
}

Semantic roles & 50–950 ramp

primary
#AC7C1F
secondary
#5F83C8
accent
#78EC3C
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AC7C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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