#ACAA31#ACAA31

#ACAA31 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.8% C 0.138 H 108.5°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#ACAA31
RGBrgb(172, 170, 49)
HSLhsl(59, 56%, 43%)
HSVhsv(59, 72%, 67%)
CMYKcmyk(0%, 1.2%, 71.5%, 32.5%)
CIE-LABlab(67.83, -13.71, 59.03)
CIE-LCHlch(67.83, 60.60, 103.07°)
OKLaboklab(71.8% -0.0437 0.1308)
OKLCHoklch(71.8% 0.138 108.5)
XYZxyz(31.9435, 37.7429, 8.5076)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAA31 #3133AC
analogous
#AC6C31 #ACAA31 #70AC31
triadic
#ACAA31 #31ACAA #AA31AC
tetradic
#ACAA31 #31AC6C #3133AC #AC3170
square
#ACAA31 #31AC6C #3133AC #AC3170
split-complementary
#ACAA31 #3170AC #6C31AC
monochromatic
#4D4C16 #7C7B23 #ACAA31 #CCCA4E #DAD97D

Accessibility & contrast

On white

2.46
#ACAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#ACAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAA31
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAA31#FFFFFF#000000##000000
##ACAA311.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31C
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#B89F92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #acaa31;
/* rgb */ color: rgb(172, 170, 49);
/* oklch */ color: oklch(71.8% 0.138 108.5);
Tailwind
colors: {
  custom: {
    50: '#c8c371',
    500: '#acaa31',
    950: '#000000',
  },
}
SCSS
$custom: #acaa31;
$custom-light: #c8c371;
$custom-dark: #000000;
JSON
{
  "hex": "#acaa31",
  "rgb": {
    "r": 172,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 59.024,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71797,
    "c": 0.13795,
    "h": 108.5
  },
  "luminance": 0.37742
}

Semantic roles & 50–950 ramp

primary
#ACAA31
secondary
#7677C3
accent
#4BDF49
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ACAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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