#AC972F#AC972F

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

Color values

HEX#AC972F
RGBrgb(172, 151, 47)
HSLhsl(50, 57%, 43%)
HSVhsv(50, 73%, 67%)
CMYKcmyk(0%, 12.2%, 72.7%, 32.5%)
CIE-LABlab(62.60, -3.77, 54.69)
CIE-LCHlch(62.60, 54.82, 93.94°)
OKLaboklab(67.63% -0.0158 0.1213)
OKLCHoklch(67.63% 0.122 97.4)
XYZxyz(28.5944, 31.1106, 7.1876)
Luminance0.3111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC972F #2F44AC
analogous
#AC582F #AC972F #82AC2F
triadic
#AC972F #2FAC97 #972FAC
tetradic
#AC972F #2FAC58 #2F44AC #AC2F82
square
#AC972F #2FAC58 #2F44AC #AC2F82
split-complementary
#AC972F #2F82AC #582FAC
monochromatic
#4C4315 #7C6D22 #AC972F #CEB84B #DBCB7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC972F#FFFFFF#000000##000000
##AC972F1.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)
#A6931F
Deuteranopia (green-blind)
#AC9A35
Tritanopia (blue-blind)
#BA8B82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ac972f;
/* rgb */ color: rgb(172, 151, 47);
/* oklch */ color: oklch(67.6% 0.122 97.4);
Tailwind
colors: {
  custom: {
    50: '#c8b56e',
    500: '#ac972f',
    950: '#000000',
  },
}
SCSS
$custom: #ac972f;
$custom-light: #c8b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac972f",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 49.92,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67634,
    "c": 0.12232,
    "h": 97.4
  },
  "luminance": 0.31109
}

Semantic roles & 50–950 ramp

primary
#AC972F
secondary
#7481C3
accent
#61E047
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AC972F

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

Preview Lab → · Contrast checker → · Palette generator →

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