#AC9F34#AC9F34

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

Color values

HEX#AC9F34
RGBrgb(172, 159, 52)
HSLhsl(54, 54%, 44%)
HSVhsv(54, 70%, 67%)
CMYKcmyk(0%, 7.6%, 69.8%, 32.5%)
CIE-LABlab(64.82, -7.79, 54.90)
CIE-LCHlch(64.82, 55.45, 98.08°)
OKLaboklab(69.4% -0.0267 0.1227)
OKLCHoklch(69.4% 0.126 102.3)
XYZxyz(30.0325, 33.8161, 8.1934)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9F34 #3441AC
analogous
#AC6334 #AC9F34 #7DAC34
triadic
#AC9F34 #34AC9F #9F34AC
tetradic
#AC9F34 #34AC63 #3441AC #AC347D
square
#AC9F34 #34AC63 #3441AC #AC347D
split-complementary
#AC9F34 #347DAC #6334AC
monochromatic
#4E4818 #7D7426 #AC9F34 #CBBE52 #D9D081

Accessibility & contrast

On white

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

On black

7.76
#AC9F34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9F34
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9F34#FFFFFF#000000##000000
##AC9F341.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac9f34;
/* rgb */ color: rgb(172, 159, 52);
/* oklch */ color: oklch(69.4% 0.126 102.3);
Tailwind
colors: {
  custom: {
    50: '#c8bb72',
    500: '#ac9f34',
    950: '#000000',
  },
}
SCSS
$custom: #ac9f34;
$custom-light: #c8bb72;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9f34",
  "rgb": {
    "r": 172,
    "g": 159,
    "b": 52
  },
  "hsl": {
    "h": 53.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.69403,
    "c": 0.12553,
    "h": 102.3
  },
  "luminance": 0.33815
}

Semantic roles & 50–950 ramp

primary
#AC9F34
secondary
#7981C2
accent
#5BDD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9F34

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

Preview Lab → · Contrast checker → · Palette generator →

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