#AFFE87#AFFE87

#AFFE87 is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.0% C 0.171 H 136.0°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#AFFE87
RGBrgb(175, 254, 135)
HSLhsl(100, 98%, 76%)
HSVhsv(100, 47%, 100%)
CMYKcmyk(31.1%, 0%, 46.9%, 0.4%)
CIE-LABlab(92.46, -44.65, 49.14)
CIE-LCHlch(92.46, 66.39, 132.26°)
OKLaboklab(91.96% -0.1228 0.1187)
OKLCHoklch(91.96% 0.171 136)
XYZxyz(57.4927, 81.7446, 35.6660)
Luminance0.8175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE87 #D687FE
analogous
#EBFE87 #AFFE87 #87FE9B
triadic
#AFFE87 #87AFFE #FE87AF
tetradic
#AFFE87 #87EBFE #D687FE #FE9B87
square
#AFFE87 #87EBFE #D687FE #FE9B87
split-complementary
#AFFE87 #9B87FE #FE87EB
monochromatic
#5EFD0E #87FD4A #AFFE87 #D7FFC4 #EBFFE1

Accessibility & contrast

On white

1.21
#AFFE87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#AFFE87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE87
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE87#FFFFFF#000000##000000
##AFFE871.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7D
Deuteranopia (green-blind)
#FAE78E
Tritanopia (blue-blind)
#ADF6E2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affe87;
/* rgb */ color: rgb(175, 254, 135);
/* oklch */ color: oklch(92.0% 0.171 136.0);
Tailwind
colors: {
  custom: {
    50: '#caffac',
    500: '#affe87',
    950: '#000000',
  },
}
SCSS
$custom: #affe87;
$custom-light: #caffac;
$custom-dark: #000000;
JSON
{
  "hex": "#affe87",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 135
  },
  "hsl": {
    "h": 99.832,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.91964,
    "c": 0.17078,
    "h": 136
  },
  "luminance": 0.81747
}

Semantic roles & 50–950 ramp

primary
#AFFE87
secondary
#AD4BDE
accent
#00E698
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#131810
muted
#838681

Preview Lab

Preview with #AFFE87

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

Preview Lab → · Contrast checker → · Palette generator →

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