#AFF587#AFF587

#AFF587 is a very light, vivid yellow-green. Relative luminance 0.762; OKLCH L 89.9% C 0.158 H 135.1°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#AFF587
RGBrgb(175, 245, 135)
HSLhsl(98, 85%, 75%)
HSVhsv(98, 45%, 96%)
CMYKcmyk(28.6%, 0%, 44.9%, 3.9%)
CIE-LABlab(89.94, -40.72, 45.99)
CIE-LCHlch(89.94, 61.42, 131.52°)
OKLaboklab(89.92% -0.1119 0.1116)
OKLCHoklch(89.92% 0.158 135.1)
XYZxyz(54.7035, 76.1662, 34.7363)
Luminance0.7617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF587 #CD87F5
analogous
#E6F587 #AFF587 #87F596
triadic
#AFF587 #87AFF5 #F587AF
tetradic
#AFF587 #87E6F5 #CD87F5 #F59687
square
#AFF587 #87E6F5 #CD87F5 #F59687
split-complementary
#AFF587 #9687F5 #F587E6
monochromatic
#64EC16 #89F04F #AFF587 #D5FABF #ECFDE3

Accessibility & contrast

On white

1.29
#AFF587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#AFF587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF587
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF587#FFFFFF#000000##000000
##AFF5871.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE67E
Deuteranopia (green-blind)
#F2E08E
Tritanopia (blue-blind)
#AEEEDB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #aff587;
/* rgb */ color: rgb(175, 245, 135);
/* oklch */ color: oklch(89.9% 0.158 135.1);
Tailwind
colors: {
  custom: {
    50: '#c9f9ac',
    500: '#aff587',
    950: '#000000',
  },
}
SCSS
$custom: #aff587;
$custom-light: #c9f9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#aff587",
  "rgb": {
    "r": 175,
    "g": 245,
    "b": 135
  },
  "hsl": {
    "h": 98.182,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.89917,
    "c": 0.15808,
    "h": 135.1
  },
  "luminance": 0.76168
}

Semantic roles & 50–950 ramp

primary
#AFF587
secondary
#A24ED2
accent
#04E191
background
#FEFFFD
surface
#FAFFF7
border
#D3D7D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFF587

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

Preview Lab → · Contrast checker → · Palette generator →

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