#AAA321#AAA321

#AAA321 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.0% C 0.140 H 106.2°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#AAA321
RGBrgb(170, 163, 33)
HSLhsl(57, 67%, 40%)
HSVhsv(57, 81%, 67%)
CMYKcmyk(0%, 4.1%, 80.6%, 33.3%)
CIE-LABlab(65.63, -11.62, 62.23)
CIE-LCHlch(65.63, 63.31, 100.58°)
OKLaboklab(69.98% -0.0392 0.1347)
OKLCHoklch(69.98% 0.14 106.2)
XYZxyz(29.9506, 34.8514, 6.5879)
Luminance0.3485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA321 #2128AA
analogous
#AA5E21 #AAA321 #6DAA21
triadic
#AAA321 #21AAA3 #A321AA
tetradic
#AAA321 #21AA5E #2128AA #AA216D
square
#AAA321 #21AA5E #2128AA #AA216D
split-complementary
#AAA321 #216DAA #5E21AA
monochromatic
#43410D #777217 #AAA321 #D7CF31 #E1DB64

Accessibility & contrast

On white

2.63
#AAA321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#AAA321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA321
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA321#FFFFFF#000000##000000
##AAA3211.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B5A22C
Tritanopia (blue-blind)
#B7978B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa321;
/* rgb */ color: rgb(170, 163, 33);
/* oklch */ color: oklch(70.0% 0.140 106.2);
Tailwind
colors: {
  custom: {
    50: '#c7bd69',
    500: '#aaa321',
    950: '#000000',
  },
}
SCSS
$custom: #aaa321;
$custom-light: #c7bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa321",
  "rgb": {
    "r": 170,
    "g": 163,
    "b": 33
  },
  "hsl": {
    "h": 56.934,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69976,
    "c": 0.14031,
    "h": 106.2
  },
  "luminance": 0.3485
}

Semantic roles & 50–950 ramp

primary
#AAA321
secondary
#6166C6
accent
#46EA3D
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #AAA321

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

Preview Lab → · Contrast checker → · Palette generator →

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