#AFF87A#AFF87A

#AFF87A is a very light, vivid yellow-green. Relative luminance 0.777; OKLCH L 90.4% C 0.175 H 133.6°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#AFF87A
RGBrgb(175, 248, 122)
HSLhsl(95, 90%, 73%)
HSVhsv(95, 51%, 97%)
CMYKcmyk(29.4%, 0%, 50.8%, 2.7%)
CIE-LABlab(90.62, -43.53, 52.95)
CIE-LCHlch(90.62, 68.55, 129.42°)
OKLaboklab(90.42% -0.1204 0.1264)
OKLCHoklch(90.42% 0.175 133.6)
XYZxyz(54.7584, 77.6521, 30.5118)
Luminance0.7765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF87A #C37AF8
analogous
#EEF87A #AFF87A #7AF884
triadic
#AFF87A #7AAFF8 #F87AAF
tetradic
#AFF87A #7AEEF8 #C37AF8 #F8847A
square
#AFF87A #7AEEF8 #C37AF8 #F8847A
split-complementary
#AFF87A #847AF8 #F87AEE
monochromatic
#6AEB0C #8CF540 #AFF87A #D2FBB4 #EEFDE2

Accessibility & contrast

On white

1.27
#AFF87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#AFF87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF87A
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF87A#FFFFFF#000000##000000
##AFF87A1.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86F
Deuteranopia (green-blind)
#F6E282
Tritanopia (blue-blind)
#AFF0DB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff87a;
/* rgb */ color: rgb(175, 248, 122);
/* oklch */ color: oklch(90.4% 0.175 133.6);
Tailwind
colors: {
  custom: {
    50: '#cafba3',
    500: '#aff87a',
    950: '#000000',
  },
}
SCSS
$custom: #aff87a;
$custom-light: #cafba3;
$custom-dark: #000000;
JSON
{
  "hex": "#aff87a",
  "rgb": {
    "r": 175,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 94.762,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.9042,
    "c": 0.17456,
    "h": 133.6
  },
  "luminance": 0.77654
}

Semantic roles & 50–950 ramp

primary
#AFF87A
secondary
#9742D4
accent
#00E685
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AFF87A

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

Preview Lab → · Contrast checker → · Palette generator →

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