#AAA72B#AAA72B

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

Color values

HEX#AAA72B
RGBrgb(170, 167, 43)
HSLhsl(59, 60%, 42%)
HSVhsv(59, 75%, 67%)
CMYKcmyk(0%, 1.8%, 74.7%, 33.3%)
CIE-LABlab(66.79, -13.31, 60.12)
CIE-LCHlch(66.79, 61.57, 102.48°)
OKLaboklab(70.92% -0.0431 0.1321)
OKLCHoklch(70.92% 0.139 108.1)
XYZxyz(30.8335, 36.3589, 7.6788)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA72B #2B2EAA
analogous
#AA682B #AAA72B #6EAA2B
triadic
#AAA72B #2BAAA7 #A72BAA
tetradic
#AAA72B #2BAA68 #2B2EAA #AA2B6E
square
#AAA72B #2BAA68 #2B2EAA #AA2B6E
split-complementary
#AAA72B #2B6EAA #682BAA
monochromatic
#484712 #79771F #AAA72B #CFCC43 #DCD974

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA72B#FFFFFF#000000##000000
##AAA72B1.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)
#B5A010
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#B79C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa72b;
/* rgb */ color: rgb(170, 167, 43);
/* oklch */ color: oklch(70.9% 0.139 108.1);
Tailwind
colors: {
  custom: {
    50: '#c7c06e',
    500: '#aaa72b',
    950: '#000000',
  },
}
SCSS
$custom: #aaa72b;
$custom-light: #c7c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa72b",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 58.583,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70917,
    "c": 0.13895,
    "h": 108.1
  },
  "luminance": 0.36358
}

Semantic roles & 50–950 ramp

primary
#AAA72B
secondary
#6E70C3
accent
#49E345
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA72B

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

Preview Lab → · Contrast checker → · Palette generator →

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