#AAAE31#AAAE31

#AAAE31 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.5% C 0.142 H 111.3°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#AAAE31
RGBrgb(170, 174, 49)
HSLhsl(62, 56%, 44%)
HSVhsv(62, 72%, 68%)
CMYKcmyk(2.3%, 0%, 71.8%, 31.8%)
CIE-LABlab(68.78, -16.63, 59.90)
CIE-LCHlch(68.78, 62.16, 105.51°)
OKLaboklab(72.52% -0.0518 0.1327)
OKLCHoklch(72.52% 0.142 111.3)
XYZxyz(32.2691, 39.0407, 8.7409)
Luminance0.3904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAE31 #3531AE
analogous
#AE7331 #AAAE31 #6BAE31
triadic
#AAAE31 #31AAAE #AE31AA
tetradic
#AAAE31 #31AE73 #3531AE #AE316B
square
#AAAE31 #31AE73 #3531AE #AE316B
split-complementary
#AAAE31 #316BAE #7331AE
monochromatic
#4D4E16 #7B7E24 #AAAE31 #C9CD4F #D8DB7F

Accessibility & contrast

On white

2.38
#AAAE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#AAAE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAE31
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAE31#FFFFFF#000000##000000
##AAAE311.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA61A
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#B6A396
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aaae31;
/* rgb */ color: rgb(170, 174, 49);
/* oklch */ color: oklch(72.5% 0.142 111.3);
Tailwind
colors: {
  custom: {
    50: '#c7c572',
    500: '#aaae31',
    950: '#000000',
  },
}
SCSS
$custom: #aaae31;
$custom-light: #c7c572;
$custom-dark: #000000;
JSON
{
  "hex": "#aaae31",
  "rgb": {
    "r": 170,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 61.92,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72516,
    "c": 0.14247,
    "h": 111.3
  },
  "luminance": 0.3904
}

Semantic roles & 50–950 ramp

primary
#AAAE31
secondary
#7A77C4
accent
#48DF4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAE31

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

Preview Lab → · Contrast checker → · Palette generator →

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