#AFEF86#AFEF86

#AFEF86 is a very light, vivid yellow-green. Relative luminance 0.726; OKLCH L 88.5% C 0.150 H 134.2°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#AFEF86
RGBrgb(175, 239, 134)
HSLhsl(97, 77%, 73%)
HSVhsv(97, 44%, 94%)
CMYKcmyk(26.8%, 0%, 43.9%, 6.3%)
CIE-LABlab(88.24, -38.16, 44.34)
CIE-LCHlch(88.24, 58.50, 130.72°)
OKLaboklab(88.54% -0.1049 0.1079)
OKLCHoklch(88.54% 0.15 134.2)
XYZxyz(52.8476, 72.5666, 33.7720)
Luminance0.7257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF86 #C686EF
analogous
#E4EF86 #AFEF86 #86EF91
triadic
#AFEF86 #86AFEF #EF86AF
tetradic
#AFEF86 #86E4EF #C686EF #EF9186
square
#AFEF86 #86E4EF #C686EF #EF9186
split-complementary
#AFEF86 #9186EF #EF86E4
monochromatic
#68DD1D #8BE850 #AFEF86 #D3F6BC #EDFBE4

Accessibility & contrast

On white

1.35
#AFEF86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.51
#AFEF86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF86
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF86#FFFFFF#000000##000000
##AFEF861.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E17E
Deuteranopia (green-blind)
#EDDB8C
Tritanopia (blue-blind)
#AFE8D6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef86;
/* rgb */ color: rgb(175, 239, 134);
/* oklch */ color: oklch(88.5% 0.150 134.2);
Tailwind
colors: {
  custom: {
    50: '#c9f4ab',
    500: '#afef86',
    950: '#000000',
  },
}
SCSS
$custom: #afef86;
$custom-light: #c9f4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afef86",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 134
  },
  "hsl": {
    "h": 96.571,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.8854,
    "c": 0.15048,
    "h": 134.2
  },
  "luminance": 0.72568
}

Semantic roles & 50–950 ramp

primary
#AFEF86
secondary
#9A4FCA
accent
#0DD989
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFEF86

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

Preview Lab → · Contrast checker → · Palette generator →

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