#AAA820#AAA820

#AAA820 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.1% C 0.145 H 108.7°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#AAA820
RGBrgb(170, 168, 32)
HSLhsl(59, 68%, 40%)
HSVhsv(59, 81%, 67%)
CMYKcmyk(0%, 1.2%, 81.2%, 33.3%)
CIE-LABlab(67.02, -14.25, 63.72)
CIE-LCHlch(67.02, 65.29, 102.61°)
OKLaboklab(71.08% -0.0466 0.1378)
OKLCHoklch(71.08% 0.145 108.7)
XYZxyz(30.8421, 36.6566, 6.8170)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA820 #2022AA
analogous
#AA6320 #AAA820 #67AA20
triadic
#AAA820 #20AAA8 #A820AA
tetradic
#AAA820 #20AA63 #2022AA #AA2067
square
#AAA820 #20AA63 #2022AA #AA2067
split-complementary
#AAA820 #2067AA #6320AA
monochromatic
#43420D #767516 #AAA820 #D8D52F #E2E063

Accessibility & contrast

On white

2.52
#AAA820 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#AAA820 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA820
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA820#FFFFFF#000000##000000
##AAA8201.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B8A52D
Tritanopia (blue-blind)
#B79D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa820;
/* rgb */ color: rgb(170, 168, 32);
/* oklch */ color: oklch(71.1% 0.145 108.7);
Tailwind
colors: {
  custom: {
    50: '#c7c169',
    500: '#aaa820',
    950: '#000000',
  },
}
SCSS
$custom: #aaa820;
$custom-light: #c7c169;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa820",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 59.13,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.7108,
    "c": 0.14542,
    "h": 108.7
  },
  "luminance": 0.36656
}

Semantic roles & 50–950 ramp

primary
#AAA820
secondary
#5F61C7
accent
#3FEB3D
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #AAA820

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

Preview Lab → · Contrast checker → · Palette generator →

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