#AC972D#AC972D

#AC972D is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.6% C 0.124 H 97.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#AC972D
RGBrgb(172, 151, 45)
HSLhsl(50, 59%, 43%)
HSVhsv(50, 74%, 67%)
CMYKcmyk(0%, 12.2%, 73.8%, 32.5%)
CIE-LABlab(62.59, -3.86, 55.45)
CIE-LCHlch(62.59, 55.59, 93.99°)
OKLaboklab(67.62% -0.0163 0.1225)
OKLCHoklch(67.62% 0.124 97.6)
XYZxyz(28.5549, 31.0948, 6.9799)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC972D #2D42AC
analogous
#AC582D #AC972D #81AC2D
triadic
#AC972D #2DAC97 #972DAC
tetradic
#AC972D #2DAC58 #2D42AC #AC2D81
square
#AC972D #2DAC58 #2D42AC #AC2D81
split-complementary
#AC972D #2D81AC #582DAC
monochromatic
#4B4214 #7B6C20 #AC972D #CFB847 #DCCB78

Accessibility & contrast

On white

2.91
#AC972D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#AC972D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC972D
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC972D#FFFFFF#000000##000000
##AC972D1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931B
Deuteranopia (green-blind)
#AC9A34
Tritanopia (blue-blind)
#BA8B82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ac972d;
/* rgb */ color: rgb(172, 151, 45);
/* oklch */ color: oklch(67.6% 0.124 97.6);
Tailwind
colors: {
  custom: {
    50: '#c8b56d',
    500: '#ac972d',
    950: '#000000',
  },
}
SCSS
$custom: #ac972d;
$custom-light: #c8b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#ac972d",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 50.079,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6762,
    "c": 0.1236,
    "h": 97.6
  },
  "luminance": 0.31093
}

Semantic roles & 50–950 ramp

primary
#AC972D
secondary
#717FC4
accent
#60E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AC972D

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

Preview Lab → · Contrast checker → · Palette generator →

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