#AAA72A#AAA72A

#AAA72A is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.9% C 0.140 H 108.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#AAA72A
RGBrgb(170, 167, 42)
HSLhsl(59, 60%, 42%)
HSVhsv(59, 75%, 67%)
CMYKcmyk(0%, 1.8%, 75.3%, 33.3%)
CIE-LABlab(66.79, -13.35, 60.45)
CIE-LCHlch(66.79, 61.91, 102.46°)
OKLaboklab(70.91% -0.0433 0.1326)
OKLCHoklch(70.91% 0.14 108.1)
XYZxyz(30.8154, 36.3517, 7.5834)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA72A #2A2DAA
analogous
#AA672A #AAA72A #6DAA2A
triadic
#AAA72A #2AAAA7 #A72AAA
tetradic
#AAA72A #2AAA67 #2A2DAA #AA2A6D
square
#AAA72A #2AAA67 #2A2DAA #AA2A6D
split-complementary
#AAA72A #2A6DAA #672AAA
monochromatic
#484712 #79771E #AAA72A #D0CD41 #DCDA72

Accessibility & contrast

On white

2.54
#AAA72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#AAA72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA72A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA72A#FFFFFF#000000##000000
##AAA72A1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00D
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#B79C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa72a;
/* rgb */ color: rgb(170, 167, 42);
/* oklch */ color: oklch(70.9% 0.140 108.1);
Tailwind
colors: {
  custom: {
    50: '#c7c06e',
    500: '#aaa72a',
    950: '#000000',
  },
}
SCSS
$custom: #aaa72a;
$custom-light: #c7c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa72a",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 58.594,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70911,
    "c": 0.13951,
    "h": 108.1
  },
  "luminance": 0.36351
}

Semantic roles & 50–950 ramp

primary
#AAA72A
secondary
#6C6EC3
accent
#48E444
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AAA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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