#AC982F#AC982F

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

Color values

HEX#AC982F
RGBrgb(172, 152, 47)
HSLhsl(50, 57%, 43%)
HSVhsv(50, 73%, 67%)
CMYKcmyk(0%, 11.6%, 72.7%, 32.5%)
CIE-LABlab(62.87, -4.31, 54.96)
CIE-LCHlch(62.87, 55.12, 94.48°)
OKLaboklab(67.85% -0.0174 0.1219)
OKLCHoklch(67.85% 0.123 98.1)
XYZxyz(28.7560, 31.4338, 7.2414)
Luminance0.3143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC982F #2F43AC
analogous
#AC592F #AC982F #81AC2F
triadic
#AC982F #2FAC98 #982FAC
tetradic
#AC982F #2FAC59 #2F43AC #AC2F81
square
#AC982F #2FAC59 #2F43AC #AC2F81
split-complementary
#AC982F #2F81AC #592FAC
monochromatic
#4C4315 #7C6E22 #AC982F #CEB94B #DBCB7B

Accessibility & contrast

On white

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

On black

7.29
#AC982F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC982F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC982F#FFFFFF#000000##000000
##AC982F1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac982f;
/* rgb */ color: rgb(172, 152, 47);
/* oklch */ color: oklch(67.8% 0.123 98.1);
Tailwind
colors: {
  custom: {
    50: '#c8b66f',
    500: '#ac982f',
    950: '#000000',
  },
}
SCSS
$custom: #ac982f;
$custom-light: #c8b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac982f",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 50.4,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67849,
    "c": 0.12308,
    "h": 98.1
  },
  "luminance": 0.31432
}

Semantic roles & 50–950 ramp

primary
#AC982F
secondary
#7480C3
accent
#60E047
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AC982F

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

Preview Lab → · Contrast checker → · Palette generator →

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