#AAD942#AAD942

#AAD942 is a very light, vivid yellow-green. Relative luminance 0.586; OKLCH L 82.4% C 0.181 H 125.3°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#AAD942
RGBrgb(170, 217, 66)
HSLhsl(79, 67%, 55%)
HSVhsv(79, 70%, 85%)
CMYKcmyk(21.7%, 0%, 69.6%, 14.9%)
CIE-LABlab(81.05, -36.36, 65.85)
CIE-LCHlch(81.05, 75.22, 118.91°)
OKLaboklab(82.43% -0.1048 0.148)
OKLCHoklch(82.43% 0.181 125.3)
XYZxyz(42.3741, 58.5646, 14.2249)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAD942 #7142D9
analogous
#D9BC42 #AAD942 #5FD942
triadic
#AAD942 #42AAD9 #D942AA
tetradic
#AAD942 #42D9BC #7142D9 #D9425F
square
#AAD942 #42D9BC #7142D9 #D9425F
split-complementary
#AAD942 #425FD9 #BC42D9
monochromatic
#64861B #8BB925 #AAD942 #C1E375 #D8EDA8

Accessibility & contrast

On white

1.65
#AAD942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#AAD942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAD942
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAD942#FFFFFF#000000##000000
##AAD9421.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB29
Deuteranopia (green-blind)
#DEC94F
Tritanopia (blue-blind)
#B1CFBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #aad942;
/* rgb */ color: rgb(170, 217, 66);
/* oklch */ color: oklch(82.4% 0.181 125.3);
Tailwind
colors: {
  custom: {
    50: '#c7e57f',
    500: '#aad942',
    950: '#000000',
  },
}
SCSS
$custom: #aad942;
$custom-light: #c7e57f;
$custom-dark: #000000;
JSON
{
  "hex": "#aad942",
  "rgb": {
    "r": 170,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 78.675,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82428,
    "c": 0.18135,
    "h": 125.3
  },
  "luminance": 0.58565
}

Semantic roles & 50–950 ramp

primary
#AAD942
secondary
#4F338C
accent
#3EE974
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #AAD942

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

Preview Lab → · Contrast checker → · Palette generator →

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