#AAA52A#AAA52A

#AAA52A is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.5% C 0.138 H 107.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#AAA52A
RGBrgb(170, 165, 42)
HSLhsl(58, 60%, 42%)
HSVhsv(58, 75%, 67%)
CMYKcmyk(0%, 2.9%, 75.3%, 33.3%)
CIE-LABlab(66.23, -12.32, 59.93)
CIE-LCHlch(66.23, 61.19, 101.61°)
OKLaboklab(70.47% -0.0404 0.1315)
OKLCHoklch(70.47% 0.138 107.1)
XYZxyz(30.4518, 35.6246, 7.4622)
Luminance0.3562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA52A #2A2FAA
analogous
#AA652A #AAA52A #6FAA2A
triadic
#AAA52A #2AAAA5 #A52AAA
tetradic
#AAA52A #2AAA65 #2A2FAA #AA2A6F
square
#AAA52A #2AAA65 #2A2FAA #AA2A6F
split-complementary
#AAA52A #2A6FAA #652AAA
monochromatic
#484612 #79751E #AAA52A #D0CB41 #DCD872

Accessibility & contrast

On white

2.58
#AAA52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#AAA52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA52A
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA52A#FFFFFF#000000##000000
##AAA52A1.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0F
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#B79A8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aaa52a;
/* rgb */ color: rgb(170, 165, 42);
/* oklch */ color: oklch(70.5% 0.138 107.1);
Tailwind
colors: {
  custom: {
    50: '#c7bf6d',
    500: '#aaa52a',
    950: '#000000',
  },
}
SCSS
$custom: #aaa52a;
$custom-light: #c7bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa52a",
  "rgb": {
    "r": 170,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 57.656,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70467,
    "c": 0.13758,
    "h": 107.1
  },
  "luminance": 0.35623
}

Semantic roles & 50–950 ramp

primary
#AAA52A
secondary
#6C70C3
accent
#4BE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AAA52A

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

Preview Lab → · Contrast checker → · Palette generator →

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