#AC9B2D#AC9B2D

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

Color values

HEX#AC9B2D
RGBrgb(172, 155, 45)
HSLhsl(52, 59%, 43%)
HSVhsv(52, 74%, 67%)
CMYKcmyk(0%, 9.9%, 73.8%, 32.5%)
CIE-LABlab(63.68, -6.01, 56.50)
CIE-LCHlch(63.68, 56.82, 96.07°)
OKLaboklab(68.48% -0.0224 0.1247)
OKLCHoklch(68.48% 0.127 100.2)
XYZxyz(29.2096, 32.4042, 7.1982)
Luminance0.3240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9B2D #2D3EAC
analogous
#AC5C2D #AC9B2D #7DAC2D
triadic
#AC9B2D #2DAC9B #9B2DAC
tetradic
#AC9B2D #2DAC5C #2D3EAC #AC2D7D
square
#AC9B2D #2DAC5C #2D3EAC #AC2D7D
split-complementary
#AC9B2D #2D7DAC #5C2DAC
monochromatic
#4B4414 #7B6F20 #AC9B2D #CFBD47 #DCCE78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC9B2D#FFFFFF#000000##000000
##AC9B2D1.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)
#AA971A
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#BA8F86
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ac9b2d;
/* rgb */ color: rgb(172, 155, 45);
/* oklch */ color: oklch(68.5% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#c8b86e',
    500: '#ac9b2d',
    950: '#000000',
  },
}
SCSS
$custom: #ac9b2d;
$custom-light: #c8b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9b2d",
  "rgb": {
    "r": 172,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 51.969,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68482,
    "c": 0.12674,
    "h": 100.2
  },
  "luminance": 0.32403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC9B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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