#AFFF87#AFFF87

#AFFF87 is a very light, vivid green. Relative luminance 0.824; OKLCH L 92.2% C 0.172 H 136.1°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#AFFF87
RGBrgb(175, 255, 135)
HSLhsl(100, 100%, 76%)
HSVhsv(100, 47%, 100%)
CMYKcmyk(31.4%, 0%, 47.1%, 0%)
CIE-LABlab(92.74, -45.08, 49.48)
CIE-LCHlch(92.74, 66.94, 132.34°)
OKLaboklab(92.19% -0.124 0.1195)
OKLCHoklch(92.19% 0.172 136.1)
XYZxyz(57.8109, 82.3810, 35.7721)
Luminance0.8238 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF87 #D787FF
analogous
#EBFF87 #AFFF87 #87FF9B
triadic
#AFFF87 #87AFFF #FF87AF
tetradic
#AFFF87 #87EBFF #D787FF #FF9B87
square
#AFFF87 #87EBFF #D787FF #FF9B87
split-complementary
#AFFF87 #9B87FF #FF87EB
monochromatic
#5DFF0D #86FF4A #AFFF87 #D8FFC4 #EBFFE0

Accessibility & contrast

On white

1.20
#AFFF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.48
#AFFF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF87
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF87#FFFFFF#000000##000000
##AFFF871.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF7D
Deuteranopia (green-blind)
#FBE88F
Tritanopia (blue-blind)
#ADF7E3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #afff87;
/* rgb */ color: rgb(175, 255, 135);
/* oklch */ color: oklch(92.2% 0.172 136.1);
Tailwind
colors: {
  custom: {
    50: '#caffac',
    500: '#afff87',
    950: '#000000',
  },
}
SCSS
$custom: #afff87;
$custom-light: #caffac;
$custom-dark: #000000;
JSON
{
  "hex": "#afff87",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 135
  },
  "hsl": {
    "h": 100,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92192,
    "c": 0.17217,
    "h": 136.1
  },
  "luminance": 0.82383
}

Semantic roles & 50–950 ramp

primary
#AFFF87
secondary
#AE4BDF
accent
#00E699
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#131810
muted
#838681

Preview Lab

Preview with #AFFF87

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

Preview Lab → · Contrast checker → · Palette generator →

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