#AFFE86#AFFE86

#AFFE86 is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.0% C 0.172 H 135.8°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#AFFE86
RGBrgb(175, 254, 134)
HSLhsl(100, 98%, 76%)
HSVhsv(100, 47%, 100%)
CMYKcmyk(31.1%, 0%, 47.2%, 0.4%)
CIE-LABlab(92.45, -44.77, 49.59)
CIE-LCHlch(92.45, 66.81, 132.07°)
OKLaboklab(91.95% -0.1232 0.1197)
OKLCHoklch(91.95% 0.172 135.8)
XYZxyz(57.4226, 81.7166, 35.2970)
Luminance0.8172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE86 #D586FE
analogous
#EBFE86 #AFFE86 #86FE99
triadic
#AFFE86 #86AFFE #FE86AF
tetradic
#AFFE86 #86EBFE #D586FE #FE9986
square
#AFFE86 #86EBFE #D586FE #FE9986
split-complementary
#AFFE86 #9986FE #FE86EB
monochromatic
#5FFD0D #87FD49 #AFFE86 #D7FFC3 #EBFFE1

Accessibility & contrast

On white

1.21
#AFFE86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#AFFE86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE86
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE86#FFFFFF#000000##000000
##AFFE861.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7C
Deuteranopia (green-blind)
#FAE78E
Tritanopia (blue-blind)
#ADF6E2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affe86;
/* rgb */ color: rgb(175, 254, 134);
/* oklch */ color: oklch(92.0% 0.172 135.8);
Tailwind
colors: {
  custom: {
    50: '#caffab',
    500: '#affe86',
    950: '#000000',
  },
}
SCSS
$custom: #affe86;
$custom-light: #caffab;
$custom-dark: #000000;
JSON
{
  "hex": "#affe86",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 134
  },
  "hsl": {
    "h": 99.5,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.9195,
    "c": 0.17172,
    "h": 135.8
  },
  "luminance": 0.81719
}

Semantic roles & 50–950 ramp

primary
#AFFE86
secondary
#AB4ADE
accent
#00E697
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#131810
muted
#838681

Preview Lab

Preview with #AFFE86

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

Preview Lab → · Contrast checker → · Palette generator →

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