#AC9C2F#AC9C2F

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

Color values

HEX#AC9C2F
RGBrgb(172, 156, 47)
HSLhsl(52, 57%, 43%)
HSVhsv(52, 73%, 67%)
CMYKcmyk(0%, 9.3%, 72.7%, 32.5%)
CIE-LABlab(63.96, -6.45, 56.02)
CIE-LCHlch(63.96, 56.39, 96.57°)
OKLaboklab(68.71% -0.0235 0.1241)
OKLCHoklch(68.71% 0.126 100.7)
XYZxyz(29.4162, 32.7542, 7.4615)
Luminance0.3275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9C2F #2F3FAC
analogous
#AC5D2F #AC9C2F #7DAC2F
triadic
#AC9C2F #2FAC9C #9C2FAC
tetradic
#AC9C2F #2FAC5D #2F3FAC #AC2F7D
square
#AC9C2F #2FAC5D #2F3FAC #AC2F7D
split-complementary
#AC9C2F #2F7DAC #5D2FAC
monochromatic
#4C4515 #7C7022 #AC9C2F #CEBD4B #DBCE7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC9C2F#FFFFFF#000000##000000
##AC9C2F1.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)
#AB971D
Deuteranopia (green-blind)
#AF9E36
Tritanopia (blue-blind)
#B99187
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ac9c2f;
/* rgb */ color: rgb(172, 156, 47);
/* oklch */ color: oklch(68.7% 0.126 100.7);
Tailwind
colors: {
  custom: {
    50: '#c8b86f',
    500: '#ac9c2f',
    950: '#000000',
  },
}
SCSS
$custom: #ac9c2f;
$custom-light: #c8b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9c2f",
  "rgb": {
    "r": 172,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 52.32,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68713,
    "c": 0.1263,
    "h": 100.7
  },
  "luminance": 0.32753
}

Semantic roles & 50–950 ramp

primary
#AC9C2F
secondary
#747EC3
accent
#5BE047
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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