#AAA72C#AAA72C

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

Color values

HEX#AAA72C
RGBrgb(170, 167, 44)
HSLhsl(59, 59%, 42%)
HSVhsv(59, 74%, 67%)
CMYKcmyk(0%, 1.8%, 74.1%, 33.3%)
CIE-LABlab(66.80, -13.27, 59.78)
CIE-LCHlch(66.80, 61.23, 102.51°)
OKLaboklab(70.92% -0.0428 0.1316)
OKLCHoklch(70.92% 0.138 108)
XYZxyz(30.8521, 36.3664, 7.7766)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA72C #2C2FAA
analogous
#AA682C #AAA72C #6EAA2C
triadic
#AAA72C #2CAAA7 #A72CAA
tetradic
#AAA72C #2CAA68 #2C2FAA #AA2C6E
square
#AAA72C #2CAA68 #2C2FAA #AA2C6E
split-complementary
#AAA72C #2C6EAA #682CAA
monochromatic
#494713 #79771F #AAA72C #CFCB44 #DBD975

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA72C#FFFFFF#000000##000000
##AAA72C1.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)
#B5A013
Deuteranopia (green-blind)
#B7A436
Tritanopia (blue-blind)
#B69C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa72c;
/* rgb */ color: rgb(170, 167, 44);
/* oklch */ color: oklch(70.9% 0.138 108.0);
Tailwind
colors: {
  custom: {
    50: '#c7c06f',
    500: '#aaa72c',
    950: '#000000',
  },
}
SCSS
$custom: #aaa72c;
$custom-light: #c7c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa72c",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 44
  },
  "hsl": {
    "h": 58.571,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70923,
    "c": 0.13837,
    "h": 108
  },
  "luminance": 0.36365
}

Semantic roles & 50–950 ramp

primary
#AAA72C
secondary
#6F71C3
accent
#49E246
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA72C

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

Preview Lab → · Contrast checker → · Palette generator →

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