#AAA81D#AAA81D

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

Color values

HEX#AAA81D
RGBrgb(170, 168, 29)
HSLhsl(59, 71%, 39%)
HSVhsv(59, 83%, 67%)
CMYKcmyk(0%, 1.2%, 82.9%, 33.3%)
CIE-LABlab(67.01, -14.34, 64.50)
CIE-LCHlch(67.01, 66.08, 102.54°)
OKLaboklab(71.07% -0.0471 0.1389)
OKLCHoklch(71.07% 0.147 108.7)
XYZxyz(30.8032, 36.6410, 6.6120)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA81D #1D1FAA
analogous
#AA621D #AAA81D #66AA1D
triadic
#AAA81D #1DAAA8 #A81DAA
tetradic
#AAA81D #1DAA62 #1D1FAA #AA1D66
square
#AAA81D #1DAA62 #1D1FAA #AA1D66
split-complementary
#AAA81D #1D66AA #621DAA
monochromatic
#41410B #767414 #AAA81D #DBD82A #E4E25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA81D#FFFFFF#000000##000000
##AAA81D1.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)
#B7A100
Deuteranopia (green-blind)
#B8A52B
Tritanopia (blue-blind)
#B79C8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa81d;
/* rgb */ color: rgb(170, 168, 29);
/* oklch */ color: oklch(71.1% 0.147 108.7);
Tailwind
colors: {
  custom: {
    50: '#c7c168',
    500: '#aaa81d',
    950: '#000000',
  },
}
SCSS
$custom: #aaa81d;
$custom-light: #c7c168;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa81d",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 29
  },
  "hsl": {
    "h": 59.149,
    "s": 70.854,
    "l": 39.02
  },
  "oklch": {
    "l": 0.71067,
    "c": 0.14666,
    "h": 108.7
  },
  "luminance": 0.3664
}

Semantic roles & 50–950 ramp

primary
#AAA81D
secondary
#5B5DC8
accent
#3DEE3A
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#141207
muted
#82817A

Preview Lab

Preview with #AAA81D

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

Preview Lab → · Contrast checker → · Palette generator →

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