#AC9B31#AC9B31

#AC9B31 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.5% C 0.124 H 99.9°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#AC9B31
RGBrgb(172, 155, 49)
HSLhsl(52, 56%, 43%)
HSVhsv(52, 72%, 67%)
CMYKcmyk(0%, 9.9%, 71.5%, 32.5%)
CIE-LABlab(63.70, -5.82, 54.99)
CIE-LCHlch(63.70, 55.29, 96.04°)
OKLaboklab(68.51% -0.0214 0.1223)
OKLCHoklch(68.51% 0.124 99.9)
XYZxyz(29.2903, 32.4365, 7.6232)
Luminance0.3244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9B31 #3142AC
analogous
#AC5D31 #AC9B31 #7FAC31
triadic
#AC9B31 #31AC9B #9B31AC
tetradic
#AC9B31 #31AC5D #3142AC #AC317F
square
#AC9B31 #31AC5D #3142AC #AC317F
split-complementary
#AC9B31 #317FAC #5D31AC
monochromatic
#4D4516 #7C7023 #AC9B31 #CCBB4E #DACD7D

Accessibility & contrast

On white

2.80
#AC9B31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#AC9B31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9B31
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9B31#FFFFFF#000000##000000
##AC9B311.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9721
Deuteranopia (green-blind)
#AF9D38
Tritanopia (blue-blind)
#B99086
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ac9b31;
/* rgb */ color: rgb(172, 155, 49);
/* oklch */ color: oklch(68.5% 0.124 99.9);
Tailwind
colors: {
  custom: {
    50: '#c8b870',
    500: '#ac9b31',
    950: '#000000',
  },
}
SCSS
$custom: #ac9b31;
$custom-light: #c8b870;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9b31",
  "rgb": {
    "r": 172,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 51.707,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68511,
    "c": 0.12416,
    "h": 99.9
  },
  "luminance": 0.32435
}

Semantic roles & 50–950 ramp

primary
#AC9B31
secondary
#7681C3
accent
#5EDF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9B31

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

Preview Lab → · Contrast checker → · Palette generator →

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