#AAAE2B#AAAE2B

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

Color values

HEX#AAAE2B
RGBrgb(170, 174, 43)
HSLhsl(62, 60%, 43%)
HSVhsv(62, 75%, 68%)
CMYKcmyk(2.3%, 0%, 75.3%, 31.8%)
CIE-LABlab(68.75, -16.91, 61.94)
CIE-LCHlch(68.75, 64.20, 105.27°)
OKLaboklab(72.48% -0.0531 0.136)
OKLCHoklch(72.48% 0.146 111.3)
XYZxyz(32.1508, 38.9934, 8.1179)
Luminance0.3899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAE2B #2F2BAE
analogous
#AE702B #AAAE2B #69AE2B
triadic
#AAAE2B #2BAAAE #AE2BAA
tetradic
#AAAE2B #2BAE70 #2F2BAE #AE2B69
square
#AAAE2B #2BAE70 #2F2BAE #AE2B69
split-complementary
#AAAE2B #2B69AE #702BAE
monochromatic
#4A4C13 #7A7D1F #AAAE2B #CDD145 #DADD76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAE2B#FFFFFF#000000##000000
##AAAE2B1.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)
#BCA60B
Deuteranopia (green-blind)
#BDA936
Tritanopia (blue-blind)
#B6A395
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aaae2b;
/* rgb */ color: rgb(170, 174, 43);
/* oklch */ color: oklch(72.5% 0.146 111.3);
Tailwind
colors: {
  custom: {
    50: '#c7c56f',
    500: '#aaae2b',
    950: '#000000',
  },
}
SCSS
$custom: #aaae2b;
$custom-light: #c7c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaae2b",
  "rgb": {
    "r": 170,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 61.832,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72478,
    "c": 0.14597,
    "h": 111.3
  },
  "luminance": 0.38993
}

Semantic roles & 50–950 ramp

primary
#AAAE2B
secondary
#7270C5
accent
#44E449
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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