#AEA162#AEA162

#AEA162 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.084 H 98.0°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#AEA162
RGBrgb(174, 161, 98)
HSLhsl(50, 32%, 53%)
HSVhsv(50, 44%, 68%)
CMYKcmyk(0%, 7.5%, 43.7%, 31.8%)
CIE-LABlab(66.04, -4.31, 34.44)
CIE-LCHlch(66.04, 34.71, 97.13°)
OKLaboklab(70.57% -0.0117 0.0836)
OKLCHoklch(70.57% 0.084 98)
XYZxyz(32.4058, 35.3713, 16.6732)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA162 #626FAE
analogous
#AE7B62 #AEA162 #95AE62
triadic
#AEA162 #62AEA1 #A162AE
tetradic
#AEA162 #62AE7B #626FAE #AE6295
square
#AEA162 #62AE7B #626FAE #AE6295
split-complementary
#AEA162 #6295AE #7B62AE
monochromatic
#635B33 #8B8048 #AEA162 #C3B98A #D8D1B3

Accessibility & contrast

On white

2.60
#AEA162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#AEA162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA162
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA162#FFFFFF#000000##000000
##AEA1621.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9E5D
Deuteranopia (green-blind)
#B0A364
Tritanopia (blue-blind)
#B99992
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aea162;
/* rgb */ color: rgb(174, 161, 98);
/* oklch */ color: oklch(70.6% 0.084 98.0);
Tailwind
colors: {
  custom: {
    50: '#c7bc8f',
    500: '#aea162',
    950: '#000000',
  },
}
SCSS
$custom: #aea162;
$custom-light: #c7bc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#aea162",
  "rgb": {
    "r": 174,
    "g": 161,
    "b": 98
  },
  "hsl": {
    "h": 49.737,
    "s": 31.933,
    "l": 53.333
  },
  "oklch": {
    "l": 0.70574,
    "c": 0.08442,
    "h": 98
  },
  "luminance": 0.3537
}

Semantic roles & 50–950 ramp

primary
#AEA162
secondary
#A6ABC6
accent
#72C860
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AEA162

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

Preview Lab → · Contrast checker → · Palette generator →

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