#AC982B#AC982B

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

Color values

HEX#AC982B
RGBrgb(172, 152, 43)
HSLhsl(51, 60%, 42%)
HSVhsv(51, 75%, 67%)
CMYKcmyk(0%, 11.6%, 75%, 32.5%)
CIE-LABlab(62.85, -4.49, 56.45)
CIE-LCHlch(62.85, 56.63, 94.55°)
OKLaboklab(67.82% -0.0183 0.1243)
OKLCHoklch(67.82% 0.126 98.4)
XYZxyz(28.6790, 31.4030, 6.8358)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC982B #2B3FAC
analogous
#AC582B #AC982B #7FAC2B
triadic
#AC982B #2BAC98 #982BAC
tetradic
#AC982B #2BAC58 #2B3FAC #AC2B7F
square
#AC982B #2BAC58 #2B3FAC #AC2B7F
split-complementary
#AC982B #2B7FAC #582BAC
monochromatic
#4A4113 #7B6D1F #AC982B #D0BA44 #DCCC75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC982B#FFFFFF#000000##000000
##AC982B1.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)
#A79417
Deuteranopia (green-blind)
#AD9B32
Tritanopia (blue-blind)
#BA8C83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ac982b;
/* rgb */ color: rgb(172, 152, 43);
/* oklch */ color: oklch(67.8% 0.126 98.4);
Tailwind
colors: {
  custom: {
    50: '#c8b56c',
    500: '#ac982b',
    950: '#000000',
  },
}
SCSS
$custom: #ac982b;
$custom-light: #c8b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#ac982b",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 50.698,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67821,
    "c": 0.1256,
    "h": 98.4
  },
  "luminance": 0.31402
}

Semantic roles & 50–950 ramp

primary
#AC982B
secondary
#6F7CC4
accent
#5DE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AC982B

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

Preview Lab → · Contrast checker → · Palette generator →

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