#AAA521#AAA521

#AAA521 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.142 H 107.2°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#AAA521
RGBrgb(170, 165, 33)
HSLhsl(58, 67%, 40%)
HSVhsv(58, 81%, 67%)
CMYKcmyk(0%, 2.9%, 80.6%, 33.3%)
CIE-LABlab(66.19, -12.66, 62.72)
CIE-LCHlch(66.19, 63.98, 101.42°)
OKLaboklab(70.42% -0.0421 0.1358)
OKLCHoklch(70.42% 0.142 107.2)
XYZxyz(30.3085, 35.5672, 6.7072)
Luminance0.3557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA521 #2126AA
analogous
#AA6021 #AAA521 #6BAA21
triadic
#AAA521 #21AAA5 #A521AA
tetradic
#AAA521 #21AA60 #2126AA #AA216B
square
#AAA521 #21AA60 #2126AA #AA216B
split-complementary
#AAA521 #216BAA #6021AA
monochromatic
#43420D #777317 #AAA521 #D7D131 #E1DC64

Accessibility & contrast

On white

2.59
#AAA521 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#AAA521 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA521
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA521#FFFFFF#000000##000000
##AAA5211.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B6A32D
Tritanopia (blue-blind)
#B79A8D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aaa521;
/* rgb */ color: rgb(170, 165, 33);
/* oklch */ color: oklch(70.4% 0.142 107.2);
Tailwind
colors: {
  custom: {
    50: '#c7bf69',
    500: '#aaa521',
    950: '#000000',
  },
}
SCSS
$custom: #aaa521;
$custom-light: #c7bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa521",
  "rgb": {
    "r": 170,
    "g": 165,
    "b": 33
  },
  "hsl": {
    "h": 57.81,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70418,
    "c": 0.14215,
    "h": 107.2
  },
  "luminance": 0.35566
}

Semantic roles & 50–950 ramp

primary
#AAA521
secondary
#6164C6
accent
#44EA3D
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #AAA521

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

Preview Lab → · Contrast checker → · Palette generator →

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