#AC9B2C#AC9B2C

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

Color values

HEX#AC9B2C
RGBrgb(172, 155, 44)
HSLhsl(52, 59%, 42%)
HSVhsv(52, 74%, 67%)
CMYKcmyk(0%, 9.9%, 74.4%, 32.5%)
CIE-LABlab(63.67, -6.06, 56.87)
CIE-LCHlch(63.67, 57.19, 96.08°)
OKLaboklab(68.47% -0.0227 0.1253)
OKLCHoklch(68.47% 0.127 100.3)
XYZxyz(29.1906, 32.3966, 7.0980)
Luminance0.3240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9B2C #2C3DAC
analogous
#AC5B2C #AC9B2C #7DAC2C
triadic
#AC9B2C #2CAC9B #9B2CAC
tetradic
#AC9B2C #2CAC5B #2C3DAC #AC2C7D
square
#AC9B2C #2CAC5B #2C3DAC #AC2C7D
split-complementary
#AC9B2C #2C7DAC #5B2CAC
monochromatic
#4B4313 #7B6F20 #AC9B2C #D0BD46 #DCCF76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC9B2C#FFFFFF#000000##000000
##AC9B2C1.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)
#AA9718
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#BA8F85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ac9b2c;
/* rgb */ color: rgb(172, 155, 44);
/* oklch */ color: oklch(68.5% 0.127 100.3);
Tailwind
colors: {
  custom: {
    50: '#c8b86d',
    500: '#ac9b2c',
    950: '#000000',
  },
}
SCSS
$custom: #ac9b2c;
$custom-light: #c8b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9b2c",
  "rgb": {
    "r": 172,
    "g": 155,
    "b": 44
  },
  "hsl": {
    "h": 52.031,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68475,
    "c": 0.12736,
    "h": 100.3
  },
  "luminance": 0.32395
}

Semantic roles & 50–950 ramp

primary
#AC9B2C
secondary
#707BC4
accent
#5AE245
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AC9B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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