#AFF87C#AFF87C

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

Color values

HEX#AFF87C
RGBrgb(175, 248, 124)
HSLhsl(95, 90%, 73%)
HSVhsv(95, 50%, 97%)
CMYKcmyk(29.4%, 0%, 50%, 2.7%)
CIE-LABlab(90.64, -43.31, 52.05)
CIE-LCHlch(90.64, 67.72, 129.76°)
OKLaboklab(90.45% -0.1197 0.1245)
OKLCHoklch(90.45% 0.173 133.9)
XYZxyz(54.8836, 77.7021, 31.1712)
Luminance0.7770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF87C #C57CF8
analogous
#EDF87C #AFF87C #7CF887
triadic
#AFF87C #7CAFF8 #F87CAF
tetradic
#AFF87C #7CEDF8 #C57CF8 #F8877C
square
#AFF87C #7CEDF8 #C57CF8 #F8877C
split-complementary
#AFF87C #877CF8 #F87CED
monochromatic
#69ED0D #8CF542 #AFF87C #D2FBB6 #EDFDE2

Accessibility & contrast

On white

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

On black

16.54
#AFF87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF87C
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF87C#FFFFFF#000000##000000
##AFF87C1.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE871
Deuteranopia (green-blind)
#F6E284
Tritanopia (blue-blind)
#AFF0DC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff87c;
/* rgb */ color: rgb(175, 248, 124);
/* oklch */ color: oklch(90.4% 0.173 133.9);
Tailwind
colors: {
  custom: {
    50: '#cafba4',
    500: '#aff87c',
    950: '#000000',
  },
}
SCSS
$custom: #aff87c;
$custom-light: #cafba4;
$custom-dark: #000000;
JSON
{
  "hex": "#aff87c",
  "rgb": {
    "r": 175,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 95.323,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90446,
    "c": 0.17274,
    "h": 133.9
  },
  "luminance": 0.77704
}

Semantic roles & 50–950 ramp

primary
#AFF87C
secondary
#9944D4
accent
#00E687
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AFF87C

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

Preview Lab → · Contrast checker → · Palette generator →

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