#AC972E#AC972E

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

Color values

HEX#AC972E
RGBrgb(172, 151, 46)
HSLhsl(50, 58%, 43%)
HSVhsv(50, 73%, 67%)
CMYKcmyk(0%, 12.2%, 73.3%, 32.5%)
CIE-LABlab(62.59, -3.82, 55.07)
CIE-LCHlch(62.59, 55.21, 93.96°)
OKLaboklab(67.63% -0.0161 0.1219)
OKLCHoklch(67.63% 0.123 97.5)
XYZxyz(28.5744, 31.1026, 7.0825)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC972E #2E43AC
analogous
#AC582E #AC972E #82AC2E
triadic
#AC972E #2EAC97 #972EAC
tetradic
#AC972E #2EAC58 #2E43AC #AC2E82
square
#AC972E #2EAC58 #2E43AC #AC2E82
split-complementary
#AC972E #2E82AC #582EAC
monochromatic
#4B4214 #7C6D21 #AC972E #CEB849 #DBCB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC972E#FFFFFF#000000##000000
##AC972E1.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)
#A6931D
Deuteranopia (green-blind)
#AC9A34
Tritanopia (blue-blind)
#BA8B82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ac972e;
/* rgb */ color: rgb(172, 151, 46);
/* oklch */ color: oklch(67.6% 0.123 97.5);
Tailwind
colors: {
  custom: {
    50: '#c8b56e',
    500: '#ac972e',
    950: '#000000',
  },
}
SCSS
$custom: #ac972e;
$custom-light: #c8b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac972e",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 46
  },
  "hsl": {
    "h": 50,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67627,
    "c": 0.12297,
    "h": 97.5
  },
  "luminance": 0.31101
}

Semantic roles & 50–950 ramp

primary
#AC972E
secondary
#7280C3
accent
#60E147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AC972E

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

Preview Lab → · Contrast checker → · Palette generator →

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