#AAD540#AAD540

#AAD540 is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.5% C 0.178 H 124.4°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#AAD540
RGBrgb(170, 213, 64)
HSLhsl(77, 64%, 54%)
HSVhsv(77, 70%, 84%)
CMYKcmyk(20.2%, 0%, 70%, 16.5%)
CIE-LABlab(79.90, -34.66, 65.42)
CIE-LCHlch(79.90, 74.03, 117.91°)
OKLaboklab(81.49% -0.1003 0.1468)
OKLCHoklch(81.49% 0.178 124.4)
XYZxyz(41.2976, 56.5043, 13.5802)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAD540 #6B40D5
analogous
#D5B540 #AAD540 #60D540
triadic
#AAD540 #40AAD5 #D540AA
tetradic
#AAD540 #40D5B5 #6B40D5 #D54060
square
#AAD540 #40D5B5 #6B40D5 #D54060
split-complementary
#AAD540 #4060D5 #B540D5
monochromatic
#627F1C #89B127 #AAD540 #C0E072 #D7EBA4

Accessibility & contrast

On white

1.71
#AAD540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#AAD540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAD540
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAD540#FFFFFF#000000##000000
##AAD5401.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C727
Deuteranopia (green-blind)
#DBC64D
Tritanopia (blue-blind)
#B2CBB8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #aad540;
/* rgb */ color: rgb(170, 213, 64);
/* oklch */ color: oklch(81.5% 0.178 124.4);
Tailwind
colors: {
  custom: {
    50: '#c7e27e',
    500: '#aad540',
    950: '#000000',
  },
}
SCSS
$custom: #aad540;
$custom-light: #c7e27e;
$custom-dark: #000000;
JSON
{
  "hex": "#aad540",
  "rgb": {
    "r": 170,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 77.315,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81492,
    "c": 0.1778,
    "h": 124.4
  },
  "luminance": 0.56505
}

Semantic roles & 50–950 ramp

primary
#AAD540
secondary
#4B3386
accent
#41E771
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #AAD540

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

Preview Lab → · Contrast checker → · Palette generator →

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