#AFE686#AFE686

#AFE686 is a very light, vivid yellow-green. Relative luminance 0.674; OKLCH L 86.5% C 0.137 H 132.9°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#AFE686
RGBrgb(175, 230, 134)
HSLhsl(94, 66%, 71%)
HSVhsv(94, 42%, 90%)
CMYKcmyk(23.9%, 0%, 41.7%, 9.8%)
CIE-LABlab(85.72, -34.07, 41.15)
CIE-LCHlch(85.72, 53.42, 129.62°)
OKLaboklab(86.5% -0.0936 0.1006)
OKLCHoklch(86.5% 0.137 132.9)
XYZxyz(50.2781, 67.4276, 32.9155)
Luminance0.6743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE686 #BD86E6
analogous
#DFE686 #AFE686 #86E68D
triadic
#AFE686 #86AFE6 #E686AF
tetradic
#AFE686 #86DFE6 #BD86E6 #E68D86
square
#AFE686 #86DFE6 #BD86E6 #E68D86
split-complementary
#AFE686 #8D86E6 #E686DF
monochromatic
#6DC829 #8DDC53 #AFE686 #D1F0B9 #EEFAE6

Accessibility & contrast

On white

1.45
#AFE686 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#AFE686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE686
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE686#FFFFFF#000000##000000
##AFE6861.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD97F
Deuteranopia (green-blind)
#E5D58B
Tritanopia (blue-blind)
#B0DFCF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe686;
/* rgb */ color: rgb(175, 230, 134);
/* oklch */ color: oklch(86.5% 0.137 132.9);
Tailwind
colors: {
  custom: {
    50: '#c8eeaa',
    500: '#afe686',
    950: '#000000',
  },
}
SCSS
$custom: #afe686;
$custom-light: #c8eeaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afe686",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 134
  },
  "hsl": {
    "h": 94.375,
    "s": 65.753,
    "l": 71.373
  },
  "oklch": {
    "l": 0.86504,
    "c": 0.1374,
    "h": 132.9
  },
  "luminance": 0.67429
}

Semantic roles & 50–950 ramp

primary
#AFE686
secondary
#9051BF
accent
#18CE80
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE686

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

Preview Lab → · Contrast checker → · Palette generator →

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