#AAAE42#AAAE42

#AAAE42 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.7% C 0.130 H 111.2°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#AAAE42
RGBrgb(170, 174, 66)
HSLhsl(62, 45%, 47%)
HSVhsv(62, 62%, 68%)
CMYKcmyk(2.3%, 0%, 62.1%, 31.8%)
CIE-LABlab(68.90, -15.62, 53.24)
CIE-LCHlch(68.90, 55.49, 106.35°)
OKLaboklab(72.66% -0.0472 0.1214)
OKLCHoklch(72.66% 0.13 111.2)
XYZxyz(32.6979, 39.2123, 10.9995)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAE42 #4642AE
analogous
#AE7C42 #AAAE42 #74AE42
triadic
#AAAE42 #42AAAE #AE42AA
tetradic
#AAAE42 #42AE7C #4642AE #AE4274
square
#AAAE42 #42AE7C #4642AE #AE4274
split-complementary
#AAAE42 #4274AE #7C42AE
monochromatic
#535520 #7F8231 #AAAE42 #C2C668 #D4D694

Accessibility & contrast

On white

2.37
#AAAE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#AAAE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAE42
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAE42#FFFFFF#000000##000000
##AAAE421.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA735
Deuteranopia (green-blind)
#BBAA49
Tritanopia (blue-blind)
#B5A497
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aaae42;
/* rgb */ color: rgb(170, 174, 66);
/* oklch */ color: oklch(72.7% 0.130 111.2);
Tailwind
colors: {
  custom: {
    50: '#c6c67b',
    500: '#aaae42',
    950: '#000000',
  },
}
SCSS
$custom: #aaae42;
$custom-light: #c6c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#aaae42",
  "rgb": {
    "r": 170,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 62.222,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72655,
    "c": 0.13028,
    "h": 111.2
  },
  "luminance": 0.39211
}

Semantic roles & 50–950 ramp

primary
#AAAE42
secondary
#8C8AC2
accent
#53D558
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AAAE42

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

Preview Lab → · Contrast checker → · Palette generator →

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