#AC9F2F#AC9F2F

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

Color values

HEX#AC9F2F
RGBrgb(172, 159, 47)
HSLhsl(54, 57%, 43%)
HSVhsv(54, 73%, 67%)
CMYKcmyk(0%, 7.6%, 72.7%, 32.5%)
CIE-LABlab(64.78, -8.05, 56.82)
CIE-LCHlch(64.78, 57.39, 98.06°)
OKLaboklab(69.36% -0.028 0.1258)
OKLCHoklch(69.36% 0.129 102.5)
XYZxyz(29.9258, 33.7734, 7.6314)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9F2F #2F3CAC
analogous
#AC602F #AC9F2F #7AAC2F
triadic
#AC9F2F #2FAC9F #9F2FAC
tetradic
#AC9F2F #2FAC60 #2F3CAC #AC2F7A
square
#AC9F2F #2FAC60 #2F3CAC #AC2F7A
split-complementary
#AC9F2F #2F7AAC #602FAC
monochromatic
#4C4615 #7C7322 #AC9F2F #CEC04B #DBD17B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC9F2F#FFFFFF#000000##000000
##AC9F2F1.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)
#AE9A1C
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#B99489
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ac9f2f;
/* rgb */ color: rgb(172, 159, 47);
/* oklch */ color: oklch(69.4% 0.129 102.5);
Tailwind
colors: {
  custom: {
    50: '#c8bb6f',
    500: '#ac9f2f',
    950: '#000000',
  },
}
SCSS
$custom: #ac9f2f;
$custom-light: #c8bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9f2f",
  "rgb": {
    "r": 172,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 53.76,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69365,
    "c": 0.12887,
    "h": 102.5
  },
  "luminance": 0.33772
}

Semantic roles & 50–950 ramp

primary
#AC9F2F
secondary
#747CC3
accent
#57E047
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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