#AFE587#AFE587

#AFE587 is a very light, vivid yellow-green. Relative luminance 0.669; OKLCH L 86.3% C 0.135 H 132.9°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#AFE587
RGBrgb(175, 229, 135)
HSLhsl(94, 64%, 71%)
HSVhsv(94, 41%, 90%)
CMYKcmyk(23.6%, 0%, 41%, 10.2%)
CIE-LABlab(85.45, -33.48, 40.32)
CIE-LCHlch(85.45, 52.41, 129.71°)
OKLaboklab(86.29% -0.0919 0.0988)
OKLCHoklch(86.29% 0.135 132.9)
XYZxyz(50.0707, 66.9006, 33.1920)
Luminance0.6690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE587 #BD87E5
analogous
#DEE587 #AFE587 #87E58E
triadic
#AFE587 #87AFE5 #E587AF
tetradic
#AFE587 #87DEE5 #BD87E5 #E58E87
square
#AFE587 #87DEE5 #BD87E5 #E58E87
split-complementary
#AFE587 #8E87E5 #E587DE
monochromatic
#6DC72B #8DDA55 #AFE587 #D1F0B9 #EEFAE6

Accessibility & contrast

On white

1.46
#AFE587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#AFE587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE587
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE587#FFFFFF#000000##000000
##AFE5871.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD880
Deuteranopia (green-blind)
#E4D48C
Tritanopia (blue-blind)
#B0DECE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe587;
/* rgb */ color: rgb(175, 229, 135);
/* oklch */ color: oklch(86.3% 0.135 132.9);
Tailwind
colors: {
  custom: {
    50: '#c8edab',
    500: '#afe587',
    950: '#000000',
  },
}
SCSS
$custom: #afe587;
$custom-light: #c8edab;
$custom-dark: #000000;
JSON
{
  "hex": "#afe587",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 135
  },
  "hsl": {
    "h": 94.468,
    "s": 64.384,
    "l": 71.373
  },
  "oklch": {
    "l": 0.86294,
    "c": 0.1349,
    "h": 132.9
  },
  "luminance": 0.66902
}

Semantic roles & 50–950 ramp

primary
#AFE587
secondary
#9053BE
accent
#19CC80
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE587

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

Preview Lab → · Contrast checker → · Palette generator →

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