#AFE86C#AFE86C

#AFE86C is a very light, vivid yellow-green. Relative luminance 0.679; OKLCH L 86.6% C 0.166 H 129.8°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#AFE86C
RGBrgb(175, 232, 108)
HSLhsl(88, 73%, 67%)
HSVhsv(88, 53%, 91%)
CMYKcmyk(24.6%, 0%, 53.4%, 9%)
CIE-LABlab(85.96, -37.91, 53.82)
CIE-LCHlch(85.96, 65.83, 125.16°)
OKLaboklab(86.6% -0.1059 0.1272)
OKLCHoklch(86.6% 0.166 129.8)
XYZxyz(49.2421, 67.9088, 24.6978)
Luminance0.6791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE86C #A56CE8
analogous
#E8E36C #AFE86C #71E86C
triadic
#AFE86C #6CAFE8 #E86CAF
tetradic
#AFE86C #6CE8E3 #A56CE8 #E86C71
square
#AFE86C #6CE8E3 #A56CE8 #E86C71
split-complementary
#AFE86C #6C71E8 #E36CE8
monochromatic
#73BC1D #92E037 #AFE86C #CCF0A1 #E9F9D6

Accessibility & contrast

On white

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

On black

14.58
#AFE86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE86C
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE86C#FFFFFF#000000##000000
##AFE86C1.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA60
Deuteranopia (green-blind)
#E9D674
Tritanopia (blue-blind)
#B3DFCC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe86c;
/* rgb */ color: rgb(175, 232, 108);
/* oklch */ color: oklch(86.6% 0.166 129.8);
Tailwind
colors: {
  custom: {
    50: '#c9ef99',
    500: '#afe86c',
    950: '#000000',
  },
}
SCSS
$custom: #afe86c;
$custom-light: #c9ef99;
$custom-dark: #000000;
JSON
{
  "hex": "#afe86c",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 108
  },
  "hsl": {
    "h": 87.581,
    "s": 72.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86595,
    "c": 0.1655,
    "h": 129.8
  },
  "luminance": 0.6791
}

Semantic roles & 50–950 ramp

primary
#AFE86C
secondary
#773DBB
accent
#10D56B
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE86C

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

Preview Lab → · Contrast checker → · Palette generator →

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