#AAF87C#AAF87C

#AAF87C is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.2% C 0.175 H 135.1°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#AAF87C
RGBrgb(170, 248, 124)
HSLhsl(98, 90%, 73%)
HSVhsv(98, 50%, 97%)
CMYKcmyk(31.5%, 0%, 50%, 2.7%)
CIE-LABlab(90.38, -44.99, 51.68)
CIE-LCHlch(90.38, 68.52, 131.04°)
OKLaboklab(90.17% -0.1241 0.1237)
OKLCHoklch(90.17% 0.175 135.1)
XYZxyz(53.7818, 77.1340, 31.1195)
Luminance0.7714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAF87C #CA7CF8
analogous
#E8F87C #AAF87C #7CF88C
triadic
#AAF87C #7CAAF8 #F87CAA
tetradic
#AAF87C #7CE8F8 #CA7CF8 #F88C7C
square
#AAF87C #7CE8F8 #CA7CF8 #F88C7C
split-complementary
#AAF87C #8C7CF8 #F87CE8
monochromatic
#60ED0D #84F542 #AAF87C #D0FBB6 #ECFDE2

Accessibility & contrast

On white

1.28
#AAF87C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.43
#AAF87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAF87C
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAF87C#FFFFFF#000000##000000
##AAF87C1.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE871
Deuteranopia (green-blind)
#F5E184
Tritanopia (blue-blind)
#A9F0DC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #aaf87c;
/* rgb */ color: rgb(170, 248, 124);
/* oklch */ color: oklch(90.2% 0.175 135.1);
Tailwind
colors: {
  custom: {
    50: '#c6fba4',
    500: '#aaf87c',
    950: '#000000',
  },
}
SCSS
$custom: #aaf87c;
$custom-light: #c6fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#aaf87c",
  "rgb": {
    "r": 170,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 97.742,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90165,
    "c": 0.17525,
    "h": 135.1
  },
  "luminance": 0.77136
}

Semantic roles & 50–950 ramp

primary
#AAF87C
secondary
#9F44D4
accent
#00E690
background
#FEFFFC
surface
#FAFFF6
border
#D3D7D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AAF87C

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

Preview Lab → · Contrast checker → · Palette generator →

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