#AAAE21#AAAE21

#AAAE21 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.4% C 0.151 H 111.4°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#AAAE21
RGBrgb(170, 174, 33)
HSLhsl(62, 68%, 41%)
HSVhsv(62, 81%, 68%)
CMYKcmyk(2.3%, 0%, 81%, 31.8%)
CIE-LABlab(68.70, -17.29, 64.91)
CIE-LCHlch(68.70, 67.17, 104.91°)
OKLaboklab(72.43% -0.0549 0.1405)
OKLCHoklch(72.43% 0.151 111.4)
XYZxyz(31.9893, 38.9288, 7.2675)
Luminance0.3893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAE21 #2521AE
analogous
#AE6B21 #AAAE21 #63AE21
triadic
#AAAE21 #21AAAE #AE21AA
tetradic
#AAAE21 #21AE6B #2521AE #AE2163
square
#AAAE21 #21AE6B #2521AE #AE2163
split-complementary
#AAAE21 #2163AE #6B21AE
monochromatic
#45470D #787B17 #AAAE21 #D4D834 #DFE267

Accessibility & contrast

On white

2.39
#AAAE21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#AAAE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAE21
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAE21#FFFFFF#000000##000000
##AAAE211.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BDA92F
Tritanopia (blue-blind)
#B6A395
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aaae21;
/* rgb */ color: rgb(170, 174, 33);
/* oklch */ color: oklch(72.4% 0.151 111.4);
Tailwind
colors: {
  custom: {
    50: '#c7c56b',
    500: '#aaae21',
    950: '#000000',
  },
}
SCSS
$custom: #aaae21;
$custom-light: #c7c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#aaae21",
  "rgb": {
    "r": 170,
    "g": 174,
    "b": 33
  },
  "hsl": {
    "h": 61.702,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.72425,
    "c": 0.15085,
    "h": 111.4
  },
  "luminance": 0.38928
}

Semantic roles & 50–950 ramp

primary
#AAAE21
secondary
#6663C8
accent
#3DEB42
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141207
muted
#82817A

Preview Lab

Preview with #AAAE21

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

Preview Lab → · Contrast checker → · Palette generator →

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