#AC9931#AC9931

#AC9931 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.1% C 0.123 H 98.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#AC9931
RGBrgb(172, 153, 49)
HSLhsl(51, 56%, 43%)
HSVhsv(51, 72%, 67%)
CMYKcmyk(0%, 11%, 71.5%, 32.5%)
CIE-LABlab(63.16, -4.74, 54.45)
CIE-LCHlch(63.16, 54.65, 94.98°)
OKLaboklab(68.08% -0.0184 0.1212)
OKLCHoklch(68.08% 0.123 98.6)
XYZxyz(28.9602, 31.7763, 7.5131)
Luminance0.3177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9931 #3144AC
analogous
#AC5B31 #AC9931 #81AC31
triadic
#AC9931 #31AC99 #9931AC
tetradic
#AC9931 #31AC5B #3144AC #AC3181
square
#AC9931 #31AC5B #3144AC #AC3181
split-complementary
#AC9931 #3181AC #5B31AC
monochromatic
#4D4416 #7C6F23 #AC9931 #CCB94E #DACC7D

Accessibility & contrast

On white

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

On black

7.35
#AC9931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9931
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9931#FFFFFF#000000##000000
##AC99311.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89521
Deuteranopia (green-blind)
#AD9C37
Tritanopia (blue-blind)
#B98E84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ac9931;
/* rgb */ color: rgb(172, 153, 49);
/* oklch */ color: oklch(68.1% 0.123 98.6);
Tailwind
colors: {
  custom: {
    50: '#c8b670',
    500: '#ac9931',
    950: '#000000',
  },
}
SCSS
$custom: #ac9931;
$custom-light: #c8b670;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9931",
  "rgb": {
    "r": 172,
    "g": 153,
    "b": 49
  },
  "hsl": {
    "h": 50.732,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.6808,
    "c": 0.12254,
    "h": 98.6
  },
  "luminance": 0.31775
}

Semantic roles & 50–950 ramp

primary
#AC9931
secondary
#7682C3
accent
#60DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9931

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

Preview Lab → · Contrast checker → · Palette generator →

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