#AAAA20#AAAA20

#AAAA20 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.5% C 0.147 H 109.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#AAAA20
RGBrgb(170, 170, 32)
HSLhsl(60, 68%, 40%)
HSVhsv(60, 81%, 67%)
CMYKcmyk(0%, 0%, 81.2%, 33.3%)
CIE-LABlab(67.58, -15.28, 64.20)
CIE-LCHlch(67.58, 66.00, 103.39°)
OKLaboklab(71.53% -0.0494 0.1388)
OKLCHoklch(71.53% 0.147 109.6)
XYZxyz(31.2142, 37.4008, 6.9410)
Luminance0.3740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAA20 #2020AA
analogous
#AA6520 #AAAA20 #65AA20
triadic
#AAAA20 #20AAAA #AA20AA
tetradic
#AAAA20 #20AA65 #2020AA #AA2065
square
#AAAA20 #20AA65 #2020AA #AA2065
split-complementary
#AAAA20 #2065AA #6520AA
monochromatic
#43430D #767616 #AAAA20 #D8D82F #E2E263

Accessibility & contrast

On white

2.48
#AAAA20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#AAAA20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAA20
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAA20#FFFFFF#000000##000000
##AAAA201.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#BAA62D
Tritanopia (blue-blind)
#B79F91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaaa20;
/* rgb */ color: rgb(170, 170, 32);
/* oklch */ color: oklch(71.5% 0.147 109.6);
Tailwind
colors: {
  custom: {
    50: '#c7c36a',
    500: '#aaaa20',
    950: '#000000',
  },
}
SCSS
$custom: #aaaa20;
$custom-light: #c7c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaa20",
  "rgb": {
    "r": 170,
    "g": 170,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.71526,
    "c": 0.14735,
    "h": 109.6
  },
  "luminance": 0.374
}

Semantic roles & 50–950 ramp

primary
#AAAA20
secondary
#5F5FC7
accent
#3DEB3D
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #AAAA20

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

Preview Lab → · Contrast checker → · Palette generator →

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