#AC982C#AC982C

#AC982C is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.8% C 0.125 H 98.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#AC982C
RGBrgb(172, 152, 44)
HSLhsl(51, 59%, 42%)
HSVhsv(51, 74%, 67%)
CMYKcmyk(0%, 11.6%, 74.4%, 32.5%)
CIE-LABlab(62.85, -4.45, 56.09)
CIE-LCHlch(62.85, 56.26, 94.54°)
OKLaboklab(67.83% -0.0181 0.1237)
OKLCHoklch(67.83% 0.125 98.3)
XYZxyz(28.6975, 31.4104, 6.9336)
Luminance0.3141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC982C #2C40AC
analogous
#AC582C #AC982C #80AC2C
triadic
#AC982C #2CAC98 #982CAC
tetradic
#AC982C #2CAC58 #2C40AC #AC2C80
square
#AC982C #2CAC58 #2C40AC #AC2C80
split-complementary
#AC982C #2C80AC #582CAC
monochromatic
#4B4213 #7B6D20 #AC982C #D0BA46 #DCCC76

Accessibility & contrast

On white

2.88
#AC982C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#AC982C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC982C
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC982C#FFFFFF#000000##000000
##AC982C1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79419
Deuteranopia (green-blind)
#AD9B33
Tritanopia (blue-blind)
#BA8C83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ac982c;
/* rgb */ color: rgb(172, 152, 44);
/* oklch */ color: oklch(67.8% 0.125 98.3);
Tailwind
colors: {
  custom: {
    50: '#c8b66d',
    500: '#ac982c',
    950: '#000000',
  },
}
SCSS
$custom: #ac982c;
$custom-light: #c8b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#ac982c",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 50.625,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67827,
    "c": 0.12499,
    "h": 98.3
  },
  "luminance": 0.31409
}

Semantic roles & 50–950 ramp

primary
#AC982C
secondary
#707DC4
accent
#5EE245
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AC982C

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

Preview Lab → · Contrast checker → · Palette generator →

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