#AC7D21#AC7D21

#AC7D21 is a light, moderate orange. Relative luminance 0.235; OKLCH L 62.1% C 0.118 H 79.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AC7D21
RGBrgb(172, 125, 33)
HSLhsl(40, 68%, 40%)
HSVhsv(40, 81%, 67%)
CMYKcmyk(0%, 27.3%, 80.8%, 32.5%)
CIE-LABlab(55.63, 9.97, 53.41)
CIE-LCHlch(55.63, 54.34, 79.42°)
OKLaboklab(62.12% 0.022 0.1156)
OKLCHoklch(62.12% 0.118 79.2)
XYZxyz(24.6231, 23.5497, 4.6873)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7D21 #2150AC
analogous
#AC3721 #AC7D21 #96AC21
triadic
#AC7D21 #21AC7D #7D21AC
tetradic
#AC7D21 #21AC37 #2150AC #AC2196
square
#AC7D21 #21AC37 #2150AC #AC2196
split-complementary
#AC7D21 #2196AC #3721AC
monochromatic
#45320D #795817 #AC7D21 #D8A032 #E2B866

Accessibility & contrast

On white

3.68
#AC7D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#AC7D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7D21
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7D21#FFFFFF#000000##000000
##AC7D211.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#9A8A25
Tritanopia (blue-blind)
#BB706B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ac7d21;
/* rgb */ color: rgb(172, 125, 33);
/* oklch */ color: oklch(62.1% 0.118 79.2);
Tailwind
colors: {
  custom: {
    50: '#caa264',
    500: '#ac7d21',
    950: '#000000',
  },
}
SCSS
$custom: #ac7d21;
$custom-light: #caa264;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7d21",
  "rgb": {
    "r": 172,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 39.712,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62119,
    "c": 0.11766,
    "h": 79.2
  },
  "luminance": 0.23548
}

Semantic roles & 50–950 ramp

primary
#AC7D21
secondary
#6284C7
accent
#78EB3D
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140F06
muted
#837E7A

Preview Lab

Preview with #AC7D21

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

Preview Lab → · Contrast checker → · Palette generator →

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