#AFFD87#AFFD87

#AFFD87 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 91.7% C 0.169 H 135.9°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#AFFD87
RGBrgb(175, 253, 135)
HSLhsl(100, 97%, 76%)
HSVhsv(100, 47%, 99%)
CMYKcmyk(30.8%, 0%, 46.6%, 0.8%)
CIE-LABlab(92.18, -44.22, 48.79)
CIE-LCHlch(92.18, 65.84, 132.19°)
OKLaboklab(91.74% -0.1216 0.1179)
OKLCHoklch(91.74% 0.169 135.9)
XYZxyz(57.1762, 81.1116, 35.5605)
Luminance0.8111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFD87 #D587FD
analogous
#EAFD87 #AFFD87 #87FD9A
triadic
#AFFD87 #87AFFD #FD87AF
tetradic
#AFFD87 #87EAFD #D587FD #FD9A87
square
#AFFD87 #87EAFD #D587FD #FD9A87
split-complementary
#AFFD87 #9A87FD #FD87EA
monochromatic
#5FFB0F #87FC4B #AFFD87 #D7FEC3 #EBFEE1

Accessibility & contrast

On white

1.22
#AFFD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#AFFD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFD87
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFD87#FFFFFF#000000##000000
##AFFD871.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7D
Deuteranopia (green-blind)
#F9E68E
Tritanopia (blue-blind)
#ADF5E1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affd87;
/* rgb */ color: rgb(175, 253, 135);
/* oklch */ color: oklch(91.7% 0.169 135.9);
Tailwind
colors: {
  custom: {
    50: '#cafeac',
    500: '#affd87',
    950: '#000000',
  },
}
SCSS
$custom: #affd87;
$custom-light: #cafeac;
$custom-dark: #000000;
JSON
{
  "hex": "#affd87",
  "rgb": {
    "r": 175,
    "g": 253,
    "b": 135
  },
  "hsl": {
    "h": 99.661,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.91736,
    "c": 0.16938,
    "h": 135.9
  },
  "luminance": 0.81114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFFD87

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

Preview Lab → · Contrast checker → · Palette generator →

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