#AAAE2F#AAAE2F

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

Color values

HEX#AAAE2F
RGBrgb(170, 174, 47)
HSLhsl(62, 57%, 43%)
HSVhsv(62, 73%, 68%)
CMYKcmyk(2.3%, 0%, 73%, 31.8%)
CIE-LABlab(68.77, -16.72, 60.60)
CIE-LCHlch(68.77, 62.86, 105.43°)
OKLaboklab(72.5% -0.0522 0.1339)
OKLCHoklch(72.5% 0.144 111.3)
XYZxyz(32.2278, 39.0242, 8.5235)
Luminance0.3902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAE2F #332FAE
analogous
#AE722F #AAAE2F #6AAE2F
triadic
#AAAE2F #2FAAAE #AE2FAA
tetradic
#AAAE2F #2FAE72 #332FAE #AE2F6A
square
#AAAE2F #2FAE72 #332FAE #AE2F6A
split-complementary
#AAAE2F #2F6AAE #722FAE
monochromatic
#4C4E15 #7B7E22 #AAAE2F #CACF4C #D9DC7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAE2F#FFFFFF#000000##000000
##AAAE2F1.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)
#BCA616
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#B6A396
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aaae2f;
/* rgb */ color: rgb(170, 174, 47);
/* oklch */ color: oklch(72.5% 0.144 111.3);
Tailwind
colors: {
  custom: {
    50: '#c7c571',
    500: '#aaae2f',
    950: '#000000',
  },
}
SCSS
$custom: #aaae2f;
$custom-light: #c7c571;
$custom-dark: #000000;
JSON
{
  "hex": "#aaae2f",
  "rgb": {
    "r": 170,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 61.89,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72502,
    "c": 0.14369,
    "h": 111.3
  },
  "luminance": 0.39023
}

Semantic roles & 50–950 ramp

primary
#AAAE2F
secondary
#7775C4
accent
#47E14C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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