#AAAC31#AAAC31

#AAAC31 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.1% C 0.140 H 110.4°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#AAAC31
RGBrgb(170, 172, 49)
HSLhsl(61, 56%, 43%)
HSVhsv(61, 72%, 67%)
CMYKcmyk(1.2%, 0%, 71.5%, 32.5%)
CIE-LABlab(68.22, -15.60, 59.36)
CIE-LCHlch(68.22, 61.37, 104.73°)
OKLaboklab(72.07% -0.0489 0.1316)
OKLCHoklch(72.07% 0.14 110.4)
XYZxyz(31.8856, 38.2737, 8.6131)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAC31 #3331AC
analogous
#AC7031 #AAAC31 #6CAC31
triadic
#AAAC31 #31AAAC #AC31AA
tetradic
#AAAC31 #31AC70 #3331AC #AC316C
square
#AAAC31 #31AC70 #3331AC #AC316C
split-complementary
#AAAC31 #316CAC #7031AC
monochromatic
#4C4D16 #7B7C23 #AAAC31 #CACC4E #D9DA7D

Accessibility & contrast

On white

2.43
#AAAC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#AAAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAC31
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAC31#FFFFFF#000000##000000
##AAAC311.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA41B
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#B6A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaac31;
/* rgb */ color: rgb(170, 172, 49);
/* oklch */ color: oklch(72.1% 0.140 110.4);
Tailwind
colors: {
  custom: {
    50: '#c7c472',
    500: '#aaac31',
    950: '#000000',
  },
}
SCSS
$custom: #aaac31;
$custom-light: #c7c472;
$custom-dark: #000000;
JSON
{
  "hex": "#aaac31",
  "rgb": {
    "r": 170,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 60.976,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72069,
    "c": 0.14039,
    "h": 110.4
  },
  "luminance": 0.38273
}

Semantic roles & 50–950 ramp

primary
#AAAC31
secondary
#7776C3
accent
#49DF4B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAC31

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

Preview Lab → · Contrast checker → · Palette generator →

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