#AFE866#AFE866

#AFE866 is a very light, vivid yellow-green. Relative luminance 0.678; OKLCH L 86.5% C 0.171 H 129.2°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#AFE866
RGBrgb(175, 232, 102)
HSLhsl(86, 74%, 65%)
HSVhsv(86, 56%, 91%)
CMYKcmyk(24.6%, 0%, 56%, 9%)
CIE-LABlab(85.90, -38.48, 56.45)
CIE-LCHlch(85.90, 68.32, 124.28°)
OKLaboklab(86.53% -0.1079 0.1323)
OKLCHoklch(86.53% 0.171 129.2)
XYZxyz(48.9337, 67.7854, 23.0736)
Luminance0.6779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE866 #9F66E8
analogous
#E8E066 #AFE866 #6EE866
triadic
#AFE866 #66AFE8 #E866AF
tetradic
#AFE866 #66E8E0 #9F66E8 #E8666E
square
#AFE866 #66E8E0 #9F66E8 #E8666E
split-complementary
#AFE866 #666EE8 #E066E8
monochromatic
#73B81C #93E031 #AFE866 #CBF09B #E7F8D0

Accessibility & contrast

On white

1.44
#AFE866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#AFE866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE866
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE866#FFFFFF#000000##000000
##AFE8661.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D959
Deuteranopia (green-blind)
#EAD66F
Tritanopia (blue-blind)
#B3DFCB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe866;
/* rgb */ color: rgb(175, 232, 102);
/* oklch */ color: oklch(86.5% 0.171 129.2);
Tailwind
colors: {
  custom: {
    50: '#caef95',
    500: '#afe866',
    950: '#000000',
  },
}
SCSS
$custom: #afe866;
$custom-light: #caef95;
$custom-dark: #000000;
JSON
{
  "hex": "#afe866",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 102
  },
  "hsl": {
    "h": 86.308,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86525,
    "c": 0.17078,
    "h": 129.2
  },
  "luminance": 0.67786
}

Semantic roles & 50–950 ramp

primary
#AFE866
secondary
#713AB8
accent
#10D667
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE866

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

Preview Lab → · Contrast checker → · Palette generator →

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