#AAA921#AAA921

#AAA921 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.3% C 0.146 H 109.1°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#AAA921
RGBrgb(170, 169, 33)
HSLhsl(60, 67%, 40%)
HSVhsv(60, 81%, 67%)
CMYKcmyk(0%, 0.6%, 80.6%, 33.3%)
CIE-LABlab(67.30, -14.73, 63.69)
CIE-LCHlch(67.30, 65.37, 103.02°)
OKLaboklab(71.31% -0.0479 0.1379)
OKLCHoklch(71.31% 0.146 109.1)
XYZxyz(31.0413, 37.0328, 6.9515)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA921 #2122AA
analogous
#AA6521 #AAA921 #67AA21
triadic
#AAA921 #21AAA9 #A921AA
tetradic
#AAA921 #21AA65 #2122AA #AA2167
square
#AAA921 #21AA65 #2122AA #AA2167
split-complementary
#AAA921 #2167AA #6521AA
monochromatic
#43430D #777617 #AAA921 #D7D631 #E1E064

Accessibility & contrast

On white

2.50
#AAA921 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#AAA921 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA921
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA921#FFFFFF#000000##000000
##AAA9211.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#B9A62E
Tritanopia (blue-blind)
#B79E90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aaa921;
/* rgb */ color: rgb(170, 169, 33);
/* oklch */ color: oklch(71.3% 0.146 109.1);
Tailwind
colors: {
  custom: {
    50: '#c7c26a',
    500: '#aaa921',
    950: '#000000',
  },
}
SCSS
$custom: #aaa921;
$custom-light: #c7c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa921",
  "rgb": {
    "r": 170,
    "g": 169,
    "b": 33
  },
  "hsl": {
    "h": 59.562,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.71307,
    "c": 0.14594,
    "h": 109.1
  },
  "luminance": 0.37032
}

Semantic roles & 50–950 ramp

primary
#AAA921
secondary
#6161C6
accent
#3FEA3D
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #AAA921

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

Preview Lab → · Contrast checker → · Palette generator →

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