#AAA82E#AAA82E

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

Color values

HEX#AAA82E
RGBrgb(170, 168, 46)
HSLhsl(59, 57%, 42%)
HSVhsv(59, 73%, 67%)
CMYKcmyk(0%, 1.2%, 72.9%, 33.3%)
CIE-LABlab(67.09, -13.69, 59.35)
CIE-LCHlch(67.09, 60.91, 102.99°)
OKLaboklab(71.16% -0.0438 0.131)
OKLCHoklch(71.16% 0.138 108.5)
XYZxyz(31.0745, 36.7496, 8.0407)
Luminance0.3675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA82E #2E30AA
analogous
#AA6A2E #AAA82E #6EAA2E
triadic
#AAA82E #2EAAA8 #A82EAA
tetradic
#AAA82E #2EAA6A #2E30AA #AA2E6E
square
#AAA82E #2EAA6A #2E30AA #AA2E6E
split-complementary
#AAA82E #2E6EAA #6A2EAA
monochromatic
#4A4914 #7A7821 #AAA82E #CDCB48 #DAD978

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA82E#FFFFFF#000000##000000
##AAA82E1.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)
#B6A117
Deuteranopia (green-blind)
#B8A537
Tritanopia (blue-blind)
#B69D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa82e;
/* rgb */ color: rgb(170, 168, 46);
/* oklch */ color: oklch(71.2% 0.138 108.5);
Tailwind
colors: {
  custom: {
    50: '#c7c170',
    500: '#aaa82e',
    950: '#000000',
  },
}
SCSS
$custom: #aaa82e;
$custom-light: #c7c170;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa82e",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 59.032,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71158,
    "c": 0.13817,
    "h": 108.5
  },
  "luminance": 0.36749
}

Semantic roles & 50–950 ramp

primary
#AAA82E
secondary
#7173C3
accent
#4AE147
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA82E

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

Preview Lab → · Contrast checker → · Palette generator →

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