#AC9D2A#AC9D2A

#AC9D2A is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.9% C 0.130 H 101.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#AC9D2A
RGBrgb(172, 157, 42)
HSLhsl(53, 61%, 42%)
HSVhsv(53, 76%, 67%)
CMYKcmyk(0%, 8.7%, 75.6%, 32.5%)
CIE-LABlab(64.20, -7.22, 58.10)
CIE-LCHlch(64.20, 58.55, 97.08°)
OKLaboklab(68.9% -0.0261 0.1276)
OKLCHoklch(68.9% 0.13 101.6)
XYZxyz(29.4895, 33.0531, 7.0166)
Luminance0.3305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9D2A #2A39AC
analogous
#AC5C2A #AC9D2A #7AAC2A
triadic
#AC9D2A #2AAC9D #9D2AAC
tetradic
#AC9D2A #2AAC5C #2A39AC #AC2A7A
square
#AC9D2A #2AAC5C #2A39AC #AC2A7A
split-complementary
#AC9D2A #2A7AAC #5C2AAC
monochromatic
#4A4312 #7B701E #AC9D2A #D1C042 #DDD173

Accessibility & contrast

On white

2.76
#AC9D2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#AC9D2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9D2A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9D2A#FFFFFF#000000##000000
##AC9D2A1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9813
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#B99187
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ac9d2a;
/* rgb */ color: rgb(172, 157, 42);
/* oklch */ color: oklch(68.9% 0.130 101.6);
Tailwind
colors: {
  custom: {
    50: '#c8b96d',
    500: '#ac9d2a',
    950: '#000000',
  },
}
SCSS
$custom: #ac9d2a;
$custom-light: #c8b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9d2a",
  "rgb": {
    "r": 172,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 53.077,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68896,
    "c": 0.1302,
    "h": 101.6
  },
  "luminance": 0.33052
}

Semantic roles & 50–950 ramp

primary
#AC9D2A
secondary
#6D78C4
accent
#56E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AC9D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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