#AC9A2F#AC9A2F

#AC9A2F is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.3% C 0.125 H 99.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#AC9A2F
RGBrgb(172, 154, 47)
HSLhsl(51, 57%, 43%)
HSVhsv(51, 73%, 67%)
CMYKcmyk(0%, 10.5%, 72.7%, 32.5%)
CIE-LABlab(63.42, -5.38, 55.49)
CIE-LCHlch(63.42, 55.75, 95.54°)
OKLaboklab(68.28% -0.0204 0.123)
OKLCHoklch(68.28% 0.125 99.4)
XYZxyz(29.0833, 32.0885, 7.3506)
Luminance0.3209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9A2F #2F41AC
analogous
#AC5B2F #AC9A2F #7FAC2F
triadic
#AC9A2F #2FAC9A #9A2FAC
tetradic
#AC9A2F #2FAC5B #2F41AC #AC2F7F
square
#AC9A2F #2FAC5B #2F41AC #AC2F7F
split-complementary
#AC9A2F #2F7FAC #5B2FAC
monochromatic
#4C4415 #7C6F22 #AC9A2F #CEBB4B #DBCD7B

Accessibility & contrast

On white

2.83
#AC9A2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#AC9A2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9A2F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9A2F#FFFFFF#000000##000000
##AC9A2F1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961E
Deuteranopia (green-blind)
#AE9C36
Tritanopia (blue-blind)
#B98F85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ac9a2f;
/* rgb */ color: rgb(172, 154, 47);
/* oklch */ color: oklch(68.3% 0.125 99.4);
Tailwind
colors: {
  custom: {
    50: '#c8b76f',
    500: '#ac9a2f',
    950: '#000000',
  },
}
SCSS
$custom: #ac9a2f;
$custom-light: #c8b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9a2f",
  "rgb": {
    "r": 172,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 51.36,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6828,
    "c": 0.12467,
    "h": 99.4
  },
  "luminance": 0.32087
}

Semantic roles & 50–950 ramp

primary
#AC9A2F
secondary
#747FC3
accent
#5DE047
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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