#AC982D#AC982D

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

Color values

HEX#AC982D
RGBrgb(172, 152, 45)
HSLhsl(51, 59%, 43%)
HSVhsv(51, 74%, 67%)
CMYKcmyk(0%, 11.6%, 73.8%, 32.5%)
CIE-LABlab(62.86, -4.40, 55.71)
CIE-LCHlch(62.86, 55.89, 94.52°)
OKLaboklab(67.84% -0.0179 0.1231)
OKLCHoklch(67.84% 0.124 98.3)
XYZxyz(28.7166, 31.4180, 7.0338)
Luminance0.3142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC982D #2D41AC
analogous
#AC582D #AC982D #81AC2D
triadic
#AC982D #2DAC98 #982DAC
tetradic
#AC982D #2DAC58 #2D41AC #AC2D81
square
#AC982D #2DAC58 #2D41AC #AC2D81
split-complementary
#AC982D #2D81AC #582DAC
monochromatic
#4B4214 #7B6D20 #AC982D #CFBA47 #DCCC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC982D#FFFFFF#000000##000000
##AC982D1.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)
#A7941B
Deuteranopia (green-blind)
#AD9B34
Tritanopia (blue-blind)
#BA8C83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ac982d;
/* rgb */ color: rgb(172, 152, 45);
/* oklch */ color: oklch(67.8% 0.124 98.3);
Tailwind
colors: {
  custom: {
    50: '#c8b66e',
    500: '#ac982d',
    950: '#000000',
  },
}
SCSS
$custom: #ac982d;
$custom-light: #c8b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac982d",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 50.551,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67835,
    "c": 0.12436,
    "h": 98.3
  },
  "luminance": 0.31417
}

Semantic roles & 50–950 ramp

primary
#AC982D
secondary
#717EC4
accent
#5FE246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AC982D

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

Preview Lab → · Contrast checker → · Palette generator →

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