#AFE886#AFE886

#AFE886 is a very light, vivid yellow-green. Relative luminance 0.685; OKLCH L 87.0% C 0.140 H 133.2°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#AFE886
RGBrgb(175, 232, 134)
HSLhsl(95, 68%, 72%)
HSVhsv(95, 42%, 91%)
CMYKcmyk(24.6%, 0%, 42.2%, 9%)
CIE-LABlab(86.28, -34.99, 41.86)
CIE-LCHlch(86.28, 54.56, 129.89°)
OKLaboklab(86.96% -0.0961 0.1022)
OKLCHoklch(86.96% 0.14 133.2)
XYZxyz(50.8379, 68.5471, 33.1021)
Luminance0.6855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE886 #BF86E8
analogous
#E0E886 #AFE886 #86E88E
triadic
#AFE886 #86AFE8 #E886AF
tetradic
#AFE886 #86E0E8 #BF86E8 #E88E86
square
#AFE886 #86E0E8 #BF86E8 #E88E86
split-complementary
#AFE886 #8E86E8 #E886E0
monochromatic
#6CCD27 #8DDE53 #AFE886 #D1F2B9 #EEFAE5

Accessibility & contrast

On white

1.43
#AFE886 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#AFE886 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE886
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE886#FFFFFF#000000##000000
##AFE8861.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB7E
Deuteranopia (green-blind)
#E7D68C
Tritanopia (blue-blind)
#B0E1D0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe886;
/* rgb */ color: rgb(175, 232, 134);
/* oklch */ color: oklch(87.0% 0.140 133.2);
Tailwind
colors: {
  custom: {
    50: '#c9efaa',
    500: '#afe886',
    950: '#000000',
  },
}
SCSS
$custom: #afe886;
$custom-light: #c9efaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afe886",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 134
  },
  "hsl": {
    "h": 94.898,
    "s": 68.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.86955,
    "c": 0.14033,
    "h": 133.2
  },
  "luminance": 0.68548
}

Semantic roles & 50–950 ramp

primary
#AFE886
secondary
#9251C1
accent
#16D082
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE886

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

Preview Lab → · Contrast checker → · Palette generator →

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