#AC9929#AC9929

#AC9929 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.0% C 0.128 H 99.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#AC9929
RGBrgb(172, 153, 41)
HSLhsl(51, 62%, 42%)
HSVhsv(51, 76%, 67%)
CMYKcmyk(0%, 11%, 76.2%, 32.5%)
CIE-LABlab(63.11, -5.12, 57.42)
CIE-LCHlch(63.11, 57.65, 95.09°)
OKLaboklab(68.02% -0.0203 0.1259)
OKLCHoklch(68.02% 0.128 99.2)
XYZxyz(28.8062, 31.7146, 6.7016)
Luminance0.3171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9929 #293CAC
analogous
#AC5829 #AC9929 #7EAC29
triadic
#AC9929 #29AC99 #9929AC
tetradic
#AC9929 #29AC58 #293CAC #AC297E
square
#AC9929 #29AC58 #293CAC #AC297E
split-complementary
#AC9929 #297EAC #5829AC
monochromatic
#494111 #7B6D1D #AC9929 #D2BD41 #DDCE72

Accessibility & contrast

On white

2.86
#AC9929 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#AC9929 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9929
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9929#FFFFFF#000000##000000
##AC99291.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89513
Deuteranopia (green-blind)
#AE9C31
Tritanopia (blue-blind)
#BA8D84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ac9929;
/* rgb */ color: rgb(172, 153, 41);
/* oklch */ color: oklch(68.0% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#c9b66c',
    500: '#ac9929',
    950: '#000000',
  },
}
SCSS
$custom: #ac9929;
$custom-light: #c9b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9929",
  "rgb": {
    "r": 172,
    "g": 153,
    "b": 41
  },
  "hsl": {
    "h": 51.298,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68023,
    "c": 0.12755,
    "h": 99.2
  },
  "luminance": 0.31713
}

Semantic roles & 50–950 ramp

primary
#AC9929
secondary
#6C79C5
accent
#5BE543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AC9929

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

Preview Lab → · Contrast checker → · Palette generator →

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