#AAA252#AAA252

#AAA252 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.103 H 103.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#AAA252
RGBrgb(170, 162, 82)
HSLhsl(55, 35%, 49%)
HSVhsv(55, 52%, 67%)
CMYKcmyk(0%, 4.7%, 51.8%, 33.3%)
CIE-LABlab(65.75, -8.10, 42.20)
CIE-LCHlch(65.75, 42.97, 100.86°)
OKLaboklab(70.19% -0.024 0.0997)
OKLCHoklch(70.19% 0.103 103.6)
XYZxyz(31.0218, 34.9969, 13.1020)
Luminance0.3500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA252 #525AAA
analogous
#AA7652 #AAA252 #86AA52
triadic
#AAA252 #52AAA2 #A252AA
tetradic
#AAA252 #52AA76 #525AAA #AA5286
square
#AAA252 #52AA76 #525AAA #AA5286
split-complementary
#AAA252 #5286AA #7652AA
monochromatic
#57532A #817B3E #AAA252 #BFB97A #D3CFA4

Accessibility & contrast

On white

2.63
#AAA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#AAA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA252
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA252#FFFFFF#000000##000000
##AAA2521.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4B
Deuteranopia (green-blind)
#B1A256
Tritanopia (blue-blind)
#B59990
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa252;
/* rgb */ color: rgb(170, 162, 82);
/* oklch */ color: oklch(70.2% 0.103 103.6);
Tailwind
colors: {
  custom: {
    50: '#c5bd85',
    500: '#aaa252',
    950: '#000000',
  },
}
SCSS
$custom: #aaa252;
$custom-light: #c5bd85;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa252",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 54.545,
    "s": 34.921,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70191,
    "c": 0.10253,
    "h": 103.6
  },
  "luminance": 0.34996
}

Semantic roles & 50–950 ramp

primary
#AAA252
secondary
#989BC0
accent
#67CB5D
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AAA252

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

Preview Lab → · Contrast checker → · Palette generator →

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