#AAA162#AAA162

#AAA162 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.084 H 101.2°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#AAA162
RGBrgb(170, 161, 98)
HSLhsl(53, 30%, 53%)
HSVhsv(53, 42%, 67%)
CMYKcmyk(0%, 5.3%, 42.4%, 33.3%)
CIE-LABlab(65.69, -5.98, 33.92)
CIE-LCHlch(65.69, 34.45, 99.99°)
OKLaboklab(70.21% -0.0163 0.0825)
OKLCHoklch(70.21% 0.084 101.2)
XYZxyz(31.5277, 34.9185, 16.6321)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA162 #626BAA
analogous
#AA7D62 #AAA162 #8FAA62
triadic
#AAA162 #62AAA1 #A162AA
tetradic
#AAA162 #62AA7D #626BAA #AA628F
square
#AAA162 #62AA7D #626BAA #AA628F
split-complementary
#AAA162 #628FAA #7D62AA
monochromatic
#5E5933 #867E49 #AAA162 #BFB98A #D5D1B1

Accessibility & contrast

On white

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

On black

7.98
#AAA162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA162
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA162#FFFFFF#000000##000000
##AAA1621.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D5D
Deuteranopia (green-blind)
#AFA165
Tritanopia (blue-blind)
#B49992
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa162;
/* rgb */ color: rgb(170, 161, 98);
/* oklch */ color: oklch(70.2% 0.084 101.2);
Tailwind
colors: {
  custom: {
    50: '#c4bc8f',
    500: '#aaa162',
    950: '#000000',
  },
}
SCSS
$custom: #aaa162;
$custom-light: #c4bc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa162",
  "rgb": {
    "r": 170,
    "g": 161,
    "b": 98
  },
  "hsl": {
    "h": 52.5,
    "s": 29.752,
    "l": 52.549
  },
  "oklch": {
    "l": 0.70211,
    "c": 0.08407,
    "h": 101.2
  },
  "luminance": 0.34918
}

Semantic roles & 50–950 ramp

primary
#AAA162
secondary
#A4A8C4
accent
#6EC662
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AAA162

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

Preview Lab → · Contrast checker → · Palette generator →

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