#AAA72E#AAA72E

#AAA72E 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#AAA72E
RGBrgb(170, 167, 46)
HSLhsl(59, 57%, 42%)
HSVhsv(59, 73%, 67%)
CMYKcmyk(0%, 1.8%, 72.9%, 33.3%)
CIE-LABlab(66.81, -13.17, 59.08)
CIE-LCHlch(66.81, 60.53, 102.57°)
OKLaboklab(70.94% -0.0424 0.1305)
OKLCHoklch(70.94% 0.137 108)
XYZxyz(30.8906, 36.3818, 7.9794)
Luminance0.3638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA72E #2E31AA
analogous
#AA692E #AAA72E #6FAA2E
triadic
#AAA72E #2EAAA7 #A72EAA
tetradic
#AAA72E #2EAA69 #2E31AA #AA2E6F
square
#AAA72E #2EAA69 #2E31AA #AA2E6F
split-complementary
#AAA72E #2E6FAA #692EAA
monochromatic
#4A4814 #7A7821 #AAA72E #CDCA48 #DAD878

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA72E#FFFFFF#000000##000000
##AAA72E1.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)
#B5A017
Deuteranopia (green-blind)
#B7A537
Tritanopia (blue-blind)
#B69C90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa72e;
/* rgb */ color: rgb(170, 167, 46);
/* oklch */ color: oklch(70.9% 0.137 108.0);
Tailwind
colors: {
  custom: {
    50: '#c7c070',
    500: '#aaa72e',
    950: '#000000',
  },
}
SCSS
$custom: #aaa72e;
$custom-light: #c7c070;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa72e",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 46
  },
  "hsl": {
    "h": 58.548,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70936,
    "c": 0.13718,
    "h": 108
  },
  "luminance": 0.36381
}

Semantic roles & 50–950 ramp

primary
#AAA72E
secondary
#7173C3
accent
#4BE147
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA72E

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

Preview Lab → · Contrast checker → · Palette generator →

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