#AC9E31#AC9E31

#AC9E31 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.2% C 0.127 H 101.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#AC9E31
RGBrgb(172, 158, 49)
HSLhsl(53, 56%, 43%)
HSVhsv(53, 72%, 67%)
CMYKcmyk(0%, 8.1%, 71.5%, 32.5%)
CIE-LABlab(64.52, -7.42, 55.80)
CIE-LCHlch(64.52, 56.29, 97.57°)
OKLaboklab(69.16% -0.026 0.124)
OKLCHoklch(69.16% 0.127 101.8)
XYZxyz(29.7958, 33.4474, 7.7917)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9E31 #313FAC
analogous
#AC6031 #AC9E31 #7CAC31
triadic
#AC9E31 #31AC9E #9E31AC
tetradic
#AC9E31 #31AC60 #313FAC #AC317C
square
#AC9E31 #31AC60 #313FAC #AC317C
split-complementary
#AC9E31 #317CAC #6031AC
monochromatic
#4D4616 #7C7223 #AC9E31 #CCBE4E #DAD07D

Accessibility & contrast

On white

2.73
#AC9E31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#AC9E31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9E31
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9E31#FFFFFF#000000##000000
##AC9E311.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9920
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#B99388
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ac9e31;
/* rgb */ color: rgb(172, 158, 49);
/* oklch */ color: oklch(69.2% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#c8ba70',
    500: '#ac9e31',
    950: '#000000',
  },
}
SCSS
$custom: #ac9e31;
$custom-light: #c8ba70;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9e31",
  "rgb": {
    "r": 172,
    "g": 158,
    "b": 49
  },
  "hsl": {
    "h": 53.171,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69162,
    "c": 0.12669,
    "h": 101.8
  },
  "luminance": 0.33446
}

Semantic roles & 50–950 ramp

primary
#AC9E31
secondary
#767FC3
accent
#5ADF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9E31

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

Preview Lab → · Contrast checker → · Palette generator →

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