#AFE487#AFE487

#AFE487 is a very light, vivid yellow-green. Relative luminance 0.663; OKLCH L 86.1% C 0.133 H 132.8°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#AFE487
RGBrgb(175, 228, 135)
HSLhsl(94, 63%, 71%)
HSVhsv(94, 41%, 89%)
CMYKcmyk(23.2%, 0%, 40.8%, 10.6%)
CIE-LABlab(85.17, -33.02, 39.96)
CIE-LCHlch(85.17, 51.84, 129.57°)
OKLaboklab(86.07% -0.0906 0.0979)
OKLCHoklch(86.07% 0.133 132.8)
XYZxyz(49.7948, 66.3488, 33.1001)
Luminance0.6635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE487 #BC87E4
analogous
#DDE487 #AFE487 #87E48D
triadic
#AFE487 #87AFE4 #E487AF
tetradic
#AFE487 #87DDE4 #BC87E4 #E48D87
square
#AFE487 #87DDE4 #BC87E4 #E48D87
split-complementary
#AFE487 #8D87E4 #E487DD
monochromatic
#6EC42C #8ED955 #AFE487 #D0EFB9 #EEF9E6

Accessibility & contrast

On white

1.47
#AFE487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#AFE487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE487
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE487#FFFFFF#000000##000000
##AFE4871.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD880
Deuteranopia (green-blind)
#E3D38C
Tritanopia (blue-blind)
#B0DDCD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe487;
/* rgb */ color: rgb(175, 228, 135);
/* oklch */ color: oklch(86.1% 0.133 132.8);
Tailwind
colors: {
  custom: {
    50: '#c8ecab',
    500: '#afe487',
    950: '#000000',
  },
}
SCSS
$custom: #afe487;
$custom-light: #c8ecab;
$custom-dark: #000000;
JSON
{
  "hex": "#afe487",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 135
  },
  "hsl": {
    "h": 94.194,
    "s": 63.265,
    "l": 71.176
  },
  "oklch": {
    "l": 0.86068,
    "c": 0.13343,
    "h": 132.8
  },
  "luminance": 0.6635
}

Semantic roles & 50–950 ramp

primary
#AFE487
secondary
#8F53BC
accent
#1ACB7F
background
#FEFEFD
surface
#FAFDF7
border
#D3D5D0
text
#131610
muted
#838481

Preview Lab

Preview with #AFE487

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

Preview Lab → · Contrast checker → · Palette generator →

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