#AAA82D#AAA82D

#AAA82D is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.2% C 0.139 H 108.5°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#AAA82D
RGBrgb(170, 168, 45)
HSLhsl(59, 58%, 42%)
HSVhsv(59, 74%, 67%)
CMYKcmyk(0%, 1.2%, 73.5%, 33.3%)
CIE-LABlab(67.08, -13.74, 59.70)
CIE-LCHlch(67.08, 61.26, 102.96°)
OKLaboklab(71.15% -0.0441 0.1316)
OKLCHoklch(71.15% 0.139 108.5)
XYZxyz(31.0550, 36.7418, 7.9381)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA82D #2D2FAA
analogous
#AA6A2D #AAA82D #6EAA2D
triadic
#AAA82D #2DAAA8 #A82DAA
tetradic
#AAA82D #2DAA6A #2D2FAA #AA2D6E
square
#AAA82D #2DAA6A #2D2FAA #AA2D6E
split-complementary
#AAA82D #2D6EAA #6A2DAA
monochromatic
#494813 #7A7820 #AAA82D #CECC46 #DBD977

Accessibility & contrast

On white

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

On black

8.35
#AAA82D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA82D
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA82D#FFFFFF#000000##000000
##AAA82D1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A114
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#B69D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa82d;
/* rgb */ color: rgb(170, 168, 45);
/* oklch */ color: oklch(71.2% 0.139 108.5);
Tailwind
colors: {
  custom: {
    50: '#c7c16f',
    500: '#aaa82d',
    950: '#000000',
  },
}
SCSS
$custom: #aaa82d;
$custom-light: #c7c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa82d",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 45
  },
  "hsl": {
    "h": 59.04,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71152,
    "c": 0.13877,
    "h": 108.5
  },
  "luminance": 0.36741
}

Semantic roles & 50–950 ramp

primary
#AAA82D
secondary
#7071C3
accent
#49E146
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA82D

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

Preview Lab → · Contrast checker → · Palette generator →

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