#AAAD27#AAAD27

#AAAD27 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.2% C 0.147 H 110.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#AAAD27
RGBrgb(170, 173, 39)
HSLhsl(61, 63%, 42%)
HSVhsv(61, 77%, 68%)
CMYKcmyk(1.7%, 0%, 77.5%, 32.2%)
CIE-LABlab(68.45, -16.56, 62.94)
CIE-LCHlch(68.45, 65.08, 104.74°)
OKLaboklab(72.23% -0.0525 0.1374)
OKLCHoklch(72.23% 0.147 110.9)
XYZxyz(31.8885, 38.5806, 7.6861)
Luminance0.3858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAD27 #2A27AD
analogous
#AD6D27 #AAAD27 #67AD27
triadic
#AAAD27 #27AAAD #AD27AA
tetradic
#AAAD27 #27AD6D #2A27AD #AD2767
square
#AAAD27 #27AD6D #2A27AD #AD2767
split-complementary
#AAAD27 #2767AD #6D27AD
monochromatic
#484910 #797B1C #AAAD27 #D0D33E #DCDF70

Accessibility & contrast

On white

2.41
#AAAD27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#AAAD27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAD27
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAD27#FFFFFF#000000##000000
##AAAD271.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BCA933
Tritanopia (blue-blind)
#B6A294
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aaad27;
/* rgb */ color: rgb(170, 173, 39);
/* oklch */ color: oklch(72.2% 0.147 110.9);
Tailwind
colors: {
  custom: {
    50: '#c7c56d',
    500: '#aaad27',
    950: '#000000',
  },
}
SCSS
$custom: #aaad27;
$custom-light: #c7c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaad27",
  "rgb": {
    "r": 170,
    "g": 173,
    "b": 39
  },
  "hsl": {
    "h": 61.343,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72231,
    "c": 0.14705,
    "h": 110.9
  },
  "luminance": 0.3858
}

Semantic roles & 50–950 ramp

primary
#AAAD27
secondary
#6C6AC6
accent
#42E645
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AAAD27

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

Preview Lab → · Contrast checker → · Palette generator →

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