#AC9C2D#AC9C2D

#AC9C2D is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.7% C 0.128 H 100.8°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#AC9C2D
RGBrgb(172, 156, 45)
HSLhsl(52, 59%, 43%)
HSVhsv(52, 74%, 67%)
CMYKcmyk(0%, 9.3%, 73.8%, 32.5%)
CIE-LABlab(63.95, -6.55, 56.76)
CIE-LCHlch(63.95, 57.14, 96.58°)
OKLaboklab(68.7% -0.0239 0.1253)
OKLCHoklch(68.7% 0.128 100.8)
XYZxyz(29.3767, 32.7384, 7.2539)
Luminance0.3274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9C2D #2D3DAC
analogous
#AC5D2D #AC9C2D #7CAC2D
triadic
#AC9C2D #2DAC9C #9C2DAC
tetradic
#AC9C2D #2DAC5D #2D3DAC #AC2D7C
square
#AC9C2D #2DAC5D #2D3DAC #AC2D7C
split-complementary
#AC9C2D #2D7CAC #5D2DAC
monochromatic
#4B4414 #7B7020 #AC9C2D #CFBE47 #DCCF78

Accessibility & contrast

On white

2.78
#AC9C2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#AC9C2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9C2D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9C2D#FFFFFF#000000##000000
##AC9C2D1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9719
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#B99086
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ac9c2d;
/* rgb */ color: rgb(172, 156, 45);
/* oklch */ color: oklch(68.7% 0.128 100.8);
Tailwind
colors: {
  custom: {
    50: '#c8b86e',
    500: '#ac9c2d',
    950: '#000000',
  },
}
SCSS
$custom: #ac9c2d;
$custom-light: #c8b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9c2d",
  "rgb": {
    "r": 172,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 52.441,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68699,
    "c": 0.12757,
    "h": 100.8
  },
  "luminance": 0.32737
}

Semantic roles & 50–950 ramp

primary
#AC9C2D
secondary
#717CC4
accent
#5AE246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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