#AAAD2A#AAAD2A

#AAAD2A is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.2% C 0.145 H 110.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#AAAD2A
RGBrgb(170, 173, 42)
HSLhsl(61, 61%, 42%)
HSVhsv(61, 76%, 68%)
CMYKcmyk(1.7%, 0%, 75.7%, 32.2%)
CIE-LABlab(68.46, -16.44, 62.00)
CIE-LCHlch(68.46, 64.14, 104.85°)
OKLaboklab(72.25% -0.0519 0.1359)
OKLCHoklch(72.25% 0.145 110.9)
XYZxyz(31.9402, 38.6012, 7.9583)
Luminance0.3860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAD2A #2D2AAD
analogous
#AD6F2A #AAAD2A #69AD2A
triadic
#AAAD2A #2AAAAD #AD2AAA
tetradic
#AAAD2A #2AAD6F #2D2AAD #AD2A69
square
#AAAD2A #2AAD6F #2D2AAD #AD2A69
split-complementary
#AAAD2A #2A69AD #6F2AAD
monochromatic
#494B12 #7A7C1E #AAAD2A #CED143 #DBDD74

Accessibility & contrast

On white

2.41
#AAAD2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#AAAD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAD2A
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAD2A#FFFFFF#000000##000000
##AAAD2A1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA509
Deuteranopia (green-blind)
#BCA935
Tritanopia (blue-blind)
#B6A294
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aaad2a;
/* rgb */ color: rgb(170, 173, 42);
/* oklch */ color: oklch(72.2% 0.145 110.9);
Tailwind
colors: {
  custom: {
    50: '#c7c56e',
    500: '#aaad2a',
    950: '#000000',
  },
}
SCSS
$custom: #aaad2a;
$custom-light: #c7c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaad2a",
  "rgb": {
    "r": 170,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 61.374,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72248,
    "c": 0.14549,
    "h": 110.9
  },
  "luminance": 0.386
}

Semantic roles & 50–950 ramp

primary
#AAAD2A
secondary
#706EC5
accent
#44E447
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AAAD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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