#AAA962#AAA962

#AAA962 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.0% C 0.093 H 107.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#AAA962
RGBrgb(170, 169, 98)
HSLhsl(59, 30%, 53%)
HSVhsv(59, 42%, 67%)
CMYKcmyk(0%, 0.6%, 42.4%, 33.3%)
CIE-LABlab(67.88, -10.22, 36.68)
CIE-LCHlch(67.88, 38.08, 105.57°)
OKLaboklab(71.95% -0.0285 0.0887)
OKLCHoklch(71.95% 0.093 107.8)
XYZxyz(32.9707, 37.8046, 17.1131)
Luminance0.3780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA962 #6263AA
analogous
#AA8562 #AAA962 #87AA62
triadic
#AAA962 #62AAA9 #A962AA
tetradic
#AAA962 #62AA85 #6263AA #AA6287
square
#AAA962 #62AA85 #6263AA #AA6287
split-complementary
#AAA962 #6287AA #8562AA
monochromatic
#5E5E33 #868549 #AAA962 #BFBF8A #D5D4B1

Accessibility & contrast

On white

2.45
#AAA962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#AAA962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA962
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA962#FFFFFF#000000##000000
##AAA9621.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A45C
Deuteranopia (green-blind)
#B5A765
Tritanopia (blue-blind)
#B3A198
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaa962;
/* rgb */ color: rgb(170, 169, 98);
/* oklch */ color: oklch(72.0% 0.093 107.8);
Tailwind
colors: {
  custom: {
    50: '#c4c290',
    500: '#aaa962',
    950: '#000000',
  },
}
SCSS
$custom: #aaa962;
$custom-light: #c4c290;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa962",
  "rgb": {
    "r": 170,
    "g": 169,
    "b": 98
  },
  "hsl": {
    "h": 59.167,
    "s": 29.752,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7195,
    "c": 0.09316,
    "h": 107.8
  },
  "luminance": 0.37804
}

Semantic roles & 50–950 ramp

primary
#AAA962
secondary
#A4A5C4
accent
#63C662
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AAA962

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

Preview Lab → · Contrast checker → · Palette generator →

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