#AC9F2D#AC9F2D

#AC9F2D is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.4% C 0.130 H 102.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#AC9F2D
RGBrgb(172, 159, 45)
HSLhsl(54, 59%, 43%)
HSVhsv(54, 74%, 67%)
CMYKcmyk(0%, 7.6%, 73.8%, 32.5%)
CIE-LABlab(64.77, -8.14, 57.55)
CIE-LCHlch(64.77, 58.13, 98.05°)
OKLaboklab(69.35% -0.0284 0.127)
OKLCHoklch(69.35% 0.13 102.6)
XYZxyz(29.8864, 33.7577, 7.4238)
Luminance0.3376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9F2D #2D3AAC
analogous
#AC5F2D #AC9F2D #7AAC2D
triadic
#AC9F2D #2DAC9F #9F2DAC
tetradic
#AC9F2D #2DAC5F #2D3AAC #AC2D7A
square
#AC9F2D #2DAC5F #2D3AAC #AC2D7A
split-complementary
#AC9F2D #2D7AAC #5F2DAC
monochromatic
#4B4514 #7B7220 #AC9F2D #CFC147 #DCD178

Accessibility & contrast

On white

2.71
#AC9F2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#AC9F2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9F2D
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9F2D#FFFFFF#000000##000000
##AC9F2D1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A18
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#B99489
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ac9f2d;
/* rgb */ color: rgb(172, 159, 45);
/* oklch */ color: oklch(69.4% 0.130 102.6);
Tailwind
colors: {
  custom: {
    50: '#c8bb6e',
    500: '#ac9f2d',
    950: '#000000',
  },
}
SCSS
$custom: #ac9f2d;
$custom-light: #c8bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9f2d",
  "rgb": {
    "r": 172,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 53.858,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69351,
    "c": 0.13012,
    "h": 102.6
  },
  "luminance": 0.33756
}

Semantic roles & 50–950 ramp

primary
#AC9F2D
secondary
#717AC4
accent
#56E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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