#AAAE2A#AAAE2A

#AAAE2A is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.5% C 0.147 H 111.3°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#AAAE2A
RGBrgb(170, 174, 42)
HSLhsl(62, 61%, 42%)
HSVhsv(62, 76%, 68%)
CMYKcmyk(2.3%, 0%, 75.9%, 31.8%)
CIE-LABlab(68.74, -16.95, 62.26)
CIE-LCHlch(68.74, 64.53, 105.23°)
OKLaboklab(72.47% -0.0533 0.1365)
OKLCHoklch(72.47% 0.147 111.3)
XYZxyz(32.1326, 38.9862, 8.0225)
Luminance0.3898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAE2A #2E2AAE
analogous
#AE702A #AAAE2A #68AE2A
triadic
#AAAE2A #2AAAAE #AE2AAA
tetradic
#AAAE2A #2AAE70 #2E2AAE #AE2A68
square
#AAAE2A #2AAE70 #2E2AAE #AE2A68
split-complementary
#AAAE2A #2A68AE #702AAE
monochromatic
#4A4B12 #7A7D1E #AAAE2A #CDD243 #DADE75

Accessibility & contrast

On white

2.39
#AAAE2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#AAAE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAE2A
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAE2A#FFFFFF#000000##000000
##AAAE2A1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA608
Deuteranopia (green-blind)
#BDA935
Tritanopia (blue-blind)
#B6A395
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aaae2a;
/* rgb */ color: rgb(170, 174, 42);
/* oklch */ color: oklch(72.5% 0.147 111.3);
Tailwind
colors: {
  custom: {
    50: '#c7c56f',
    500: '#aaae2a',
    950: '#000000',
  },
}
SCSS
$custom: #aaae2a;
$custom-light: #c7c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaae2a",
  "rgb": {
    "r": 170,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 61.818,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72472,
    "c": 0.14651,
    "h": 111.3
  },
  "luminance": 0.38985
}

Semantic roles & 50–950 ramp

primary
#AAAE2A
secondary
#716FC5
accent
#44E448
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AAAE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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