#AAA82F#AAA82F

#AAA82F is a light, vivid yellow. Relative luminance 0.368; 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#AAA82F
RGBrgb(170, 168, 47)
HSLhsl(59, 57%, 43%)
HSVhsv(59, 72%, 67%)
CMYKcmyk(0%, 1.2%, 72.4%, 33.3%)
CIE-LABlab(67.09, -13.64, 58.99)
CIE-LCHlch(67.09, 60.55, 103.02°)
OKLaboklab(71.17% -0.0436 0.1305)
OKLCHoklch(71.17% 0.138 108.5)
XYZxyz(31.0944, 36.7575, 8.1457)
Luminance0.3676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA82F #2F31AA
analogous
#AA6A2F #AAA82F #6FAA2F
triadic
#AAA82F #2FAAA8 #A82FAA
tetradic
#AAA82F #2FAA6A #2F31AA #AA2F6F
square
#AAA82F #2FAA6A #2F31AA #AA2F6F
split-complementary
#AAA82F #2F6FAA #6A2FAA
monochromatic
#4A4914 #7A7922 #AAA82F #CDCB49 #DAD879

Accessibility & contrast

On white

2.51
#AAA82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA82F#FFFFFF#000000##000000
##AAA82F1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A119
Deuteranopia (green-blind)
#B8A538
Tritanopia (blue-blind)
#B69D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa82f;
/* rgb */ color: rgb(170, 168, 47);
/* oklch */ color: oklch(71.2% 0.138 108.5);
Tailwind
colors: {
  custom: {
    50: '#c7c170',
    500: '#aaa82f',
    950: '#000000',
  },
}
SCSS
$custom: #aaa82f;
$custom-light: #c7c170;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa82f",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 59.024,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71165,
    "c": 0.13757,
    "h": 108.5
  },
  "luminance": 0.36757
}

Semantic roles & 50–950 ramp

primary
#AAA82F
secondary
#7274C2
accent
#4AE048
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA82F

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

Preview Lab → · Contrast checker → · Palette generator →

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