#AC972C#AC972C

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

Color values

HEX#AC972C
RGBrgb(172, 151, 44)
HSLhsl(50, 59%, 42%)
HSVhsv(50, 74%, 67%)
CMYKcmyk(0%, 12.2%, 74.4%, 32.5%)
CIE-LABlab(62.58, -3.91, 55.83)
CIE-LCHlch(62.58, 55.96, 94.01°)
OKLaboklab(67.61% -0.0166 0.1231)
OKLCHoklch(67.61% 0.124 97.7)
XYZxyz(28.5359, 31.0872, 6.8797)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC972C #2C41AC
analogous
#AC572C #AC972C #81AC2C
triadic
#AC972C #2CAC97 #972CAC
tetradic
#AC972C #2CAC57 #2C41AC #AC2C81
square
#AC972C #2CAC57 #2C41AC #AC2C81
split-complementary
#AC972C #2C81AC #572CAC
monochromatic
#4B4113 #7B6C20 #AC972C #D0B946 #DCCB76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC972C#FFFFFF#000000##000000
##AC972C1.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)
#A69319
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#BA8B82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ac972c;
/* rgb */ color: rgb(172, 151, 44);
/* oklch */ color: oklch(67.6% 0.124 97.7);
Tailwind
colors: {
  custom: {
    50: '#c8b56d',
    500: '#ac972c',
    950: '#000000',
  },
}
SCSS
$custom: #ac972c;
$custom-light: #c8b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#ac972c",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 44
  },
  "hsl": {
    "h": 50.156,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67612,
    "c": 0.12423,
    "h": 97.7
  },
  "luminance": 0.31086
}

Semantic roles & 50–950 ramp

primary
#AC972C
secondary
#707EC4
accent
#5FE245
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AC972C

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

Preview Lab → · Contrast checker → · Palette generator →

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