#AAA721#AAA721

#AAA721 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.9% C 0.144 H 108.2°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#AAA721
RGBrgb(170, 167, 33)
HSLhsl(59, 67%, 40%)
HSVhsv(59, 81%, 67%)
CMYKcmyk(0%, 1.8%, 80.6%, 33.3%)
CIE-LABlab(66.74, -13.70, 63.20)
CIE-LCHlch(66.74, 64.67, 102.23°)
OKLaboklab(70.86% -0.045 0.1368)
OKLCHoklch(70.86% 0.144 108.2)
XYZxyz(30.6720, 36.2943, 6.8284)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA721 #2124AA
analogous
#AA6221 #AAA721 #69AA21
triadic
#AAA721 #21AAA7 #A721AA
tetradic
#AAA721 #21AA62 #2124AA #AA2169
square
#AAA721 #21AA62 #2124AA #AA2169
split-complementary
#AAA721 #2169AA #6221AA
monochromatic
#43420D #777517 #AAA721 #D7D331 #E1DE64

Accessibility & contrast

On white

2.54
#AAA721 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#AAA721 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA721
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA721#FFFFFF#000000##000000
##AAA7211.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B8A42D
Tritanopia (blue-blind)
#B79C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa721;
/* rgb */ color: rgb(170, 167, 33);
/* oklch */ color: oklch(70.9% 0.144 108.2);
Tailwind
colors: {
  custom: {
    50: '#c7c06a',
    500: '#aaa721',
    950: '#000000',
  },
}
SCSS
$custom: #aaa721;
$custom-light: #c7c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa721",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 33
  },
  "hsl": {
    "h": 58.686,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70862,
    "c": 0.14403,
    "h": 108.2
  },
  "luminance": 0.36293
}

Semantic roles & 50–950 ramp

primary
#AAA721
secondary
#6163C6
accent
#41EA3D
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #AAA721

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

Preview Lab → · Contrast checker → · Palette generator →

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