#AAA72F#AAA72F

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

Color values

HEX#AAA72F
RGBrgb(170, 167, 47)
HSLhsl(59, 57%, 43%)
HSVhsv(59, 72%, 67%)
CMYKcmyk(0%, 1.8%, 72.4%, 33.3%)
CIE-LABlab(66.82, -13.13, 58.73)
CIE-LCHlch(66.82, 60.18, 102.60°)
OKLaboklab(70.94% -0.0422 0.1299)
OKLCHoklch(70.94% 0.137 108)
XYZxyz(30.9105, 36.3897, 8.0844)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA72F #2F32AA
analogous
#AA6A2F #AAA72F #6FAA2F
triadic
#AAA72F #2FAAA7 #A72FAA
tetradic
#AAA72F #2FAA6A #2F32AA #AA2F6F
square
#AAA72F #2FAA6A #2F32AA #AA2F6F
split-complementary
#AAA72F #2F6FAA #6A2FAA
monochromatic
#4A4914 #7A7822 #AAA72F #CDCA49 #DAD879

Accessibility & contrast

On white

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

On black

8.28
#AAA72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA72F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA72F#FFFFFF#000000##000000
##AAA72F1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A019
Deuteranopia (green-blind)
#B7A538
Tritanopia (blue-blind)
#B69C90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa72f;
/* rgb */ color: rgb(170, 167, 47);
/* oklch */ color: oklch(70.9% 0.137 108.0);
Tailwind
colors: {
  custom: {
    50: '#c7c070',
    500: '#aaa72f',
    950: '#000000',
  },
}
SCSS
$custom: #aaa72f;
$custom-light: #c7c070;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa72f",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 58.537,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70943,
    "c": 0.13657,
    "h": 108
  },
  "luminance": 0.36389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AAA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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