#AC9A2A#AC9A2A

#AC9A2A is a light, vivid yellow. Relative luminance 0.320; OKLCH L 68.2% C 0.128 H 99.7°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AC9A2A
RGBrgb(172, 154, 42)
HSLhsl(52, 61%, 42%)
HSVhsv(52, 76%, 67%)
CMYKcmyk(0%, 10.5%, 75.6%, 32.5%)
CIE-LABlab(63.38, -5.61, 57.33)
CIE-LCHlch(63.38, 57.60, 95.59°)
OKLaboklab(68.25% -0.0216 0.1259)
OKLCHoklch(68.25% 0.128 99.7)
XYZxyz(28.9882, 32.0504, 6.8495)
Luminance0.3205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9A2A #2A3CAC
analogous
#AC592A #AC9A2A #7DAC2A
triadic
#AC9A2A #2AAC9A #9A2AAC
tetradic
#AC9A2A #2AAC59 #2A3CAC #AC2A7D
square
#AC9A2A #2AAC59 #2A3CAC #AC2A7D
split-complementary
#AC9A2A #2A7DAC #592AAC
monochromatic
#4A4212 #7B6E1E #AC9A2A #D1BD42 #DDCE73

Accessibility & contrast

On white

2.83
#AC9A2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#AC9A2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9A2A
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9A2A#FFFFFF#000000##000000
##AC9A2A1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99614
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#BA8E84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ac9a2a;
/* rgb */ color: rgb(172, 154, 42);
/* oklch */ color: oklch(68.2% 0.128 99.7);
Tailwind
colors: {
  custom: {
    50: '#c8b76c',
    500: '#ac9a2a',
    950: '#000000',
  },
}
SCSS
$custom: #ac9a2a;
$custom-light: #c8b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9a2a",
  "rgb": {
    "r": 172,
    "g": 154,
    "b": 42
  },
  "hsl": {
    "h": 51.692,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68245,
    "c": 0.12775,
    "h": 99.7
  },
  "luminance": 0.32049
}

Semantic roles & 50–950 ramp

primary
#AC9A2A
secondary
#6D7AC4
accent
#5AE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AC9A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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