#AC9B2A#AC9B2A

#AC9B2A is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.5% C 0.129 H 100.4°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#AC9B2A
RGBrgb(172, 155, 42)
HSLhsl(52, 61%, 42%)
HSVhsv(52, 76%, 67%)
CMYKcmyk(0%, 9.9%, 75.6%, 32.5%)
CIE-LABlab(63.66, -6.15, 57.59)
CIE-LCHlch(63.66, 57.91, 96.09°)
OKLaboklab(68.46% -0.0231 0.1265)
OKLCHoklch(68.46% 0.129 100.4)
XYZxyz(29.1539, 32.3819, 6.9047)
Luminance0.3238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9B2A #2A3BAC
analogous
#AC5A2A #AC9B2A #7CAC2A
triadic
#AC9B2A #2AAC9B #9B2AAC
tetradic
#AC9B2A #2AAC5A #2A3BAC #AC2A7C
square
#AC9B2A #2AAC5A #2A3BAC #AC2A7C
split-complementary
#AC9B2A #2A7CAC #5A2AAC
monochromatic
#4A4212 #7B6F1E #AC9B2A #D1BE42 #DDCF73

Accessibility & contrast

On white

2.81
#AC9B2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#AC9B2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9B2A
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9B2A#FFFFFF#000000##000000
##AC9B2A1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9714
Deuteranopia (green-blind)
#AF9D32
Tritanopia (blue-blind)
#BA8F85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ac9b2a;
/* rgb */ color: rgb(172, 155, 42);
/* oklch */ color: oklch(68.5% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#c8b86c',
    500: '#ac9b2a',
    950: '#000000',
  },
}
SCSS
$custom: #ac9b2a;
$custom-light: #c8b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9b2a",
  "rgb": {
    "r": 172,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 52.154,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68462,
    "c": 0.12856,
    "h": 100.4
  },
  "luminance": 0.32381
}

Semantic roles & 50–950 ramp

primary
#AC9B2A
secondary
#6D79C4
accent
#59E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AC9B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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