#AAAE28#AAAE28

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

Color values

HEX#AAAE28
RGBrgb(170, 174, 40)
HSLhsl(62, 63%, 42%)
HSVhsv(62, 77%, 68%)
CMYKcmyk(2.3%, 0%, 77%, 31.8%)
CIE-LABlab(68.73, -17.03, 62.89)
CIE-LCHlch(68.73, 65.15, 105.15°)
OKLaboklab(72.46% -0.0537 0.1374)
OKLCHoklch(72.46% 0.148 111.3)
XYZxyz(32.0977, 38.9722, 7.8386)
Luminance0.3897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAE28 #2C28AE
analogous
#AE6F28 #AAAE28 #67AE28
triadic
#AAAE28 #28AAAE #AE28AA
tetradic
#AAAE28 #28AE6F #2C28AE #AE2867
square
#AAAE28 #28AE6F #2C28AE #AE2867
split-complementary
#AAAE28 #2867AE #6F28AE
monochromatic
#494A11 #797C1D #AAAE28 #CFD340 #DBDF72

Accessibility & contrast

On white

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

On black

8.79
#AAAE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAE28
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAE28#FFFFFF#000000##000000
##AAAE281.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaae28;
/* rgb */ color: rgb(170, 174, 40);
/* oklch */ color: oklch(72.5% 0.148 111.3);
Tailwind
colors: {
  custom: {
    50: '#c7c56e',
    500: '#aaae28',
    950: '#000000',
  },
}
SCSS
$custom: #aaae28;
$custom-light: #c7c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaae28",
  "rgb": {
    "r": 170,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 61.791,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.7246,
    "c": 0.14755,
    "h": 111.3
  },
  "luminance": 0.38971
}

Semantic roles & 50–950 ramp

primary
#AAAE28
secondary
#6F6CC6
accent
#42E647
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AAAE28

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

Preview Lab → · Contrast checker → · Palette generator →

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