#AFEC86#AFEC86

#AFEC86 is a very light, vivid yellow-green. Relative luminance 0.708; OKLCH L 87.9% C 0.146 H 133.8°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#AFEC86
RGBrgb(175, 236, 134)
HSLhsl(96, 73%, 73%)
HSVhsv(96, 43%, 93%)
CMYKcmyk(25.8%, 0%, 43.2%, 7.5%)
CIE-LABlab(87.40, -36.81, 43.28)
CIE-LCHlch(87.40, 56.82, 130.38°)
OKLaboklab(87.86% -0.1012 0.1055)
OKLCHoklch(87.86% 0.146 133.8)
XYZxyz(51.9766, 70.8246, 33.4817)
Luminance0.7083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC86 #C386EC
analogous
#E2EC86 #AFEC86 #86EC90
triadic
#AFEC86 #86AFEC #EC86AF
tetradic
#AFEC86 #86E2EC #C386EC #EC9086
square
#AFEC86 #86E2EC #C386EC #EC9086
split-complementary
#AFEC86 #9086EC #EC86E2
monochromatic
#6AD622 #8CE451 #AFEC86 #D2F4BB #EEFBE5

Accessibility & contrast

On white

1.38
#AFEC86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.17
#AFEC86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC86
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC86#FFFFFF#000000##000000
##AFEC861.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE7E
Deuteranopia (green-blind)
#EAD98C
Tritanopia (blue-blind)
#AFE5D3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #afec86;
/* rgb */ color: rgb(175, 236, 134);
/* oklch */ color: oklch(87.9% 0.146 133.8);
Tailwind
colors: {
  custom: {
    50: '#c9f2ab',
    500: '#afec86',
    950: '#000000',
  },
}
SCSS
$custom: #afec86;
$custom-light: #c9f2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afec86",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 134
  },
  "hsl": {
    "h": 95.882,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.8786,
    "c": 0.14615,
    "h": 133.8
  },
  "luminance": 0.70826
}

Semantic roles & 50–950 ramp

primary
#AFEC86
secondary
#9750C6
accent
#11D586
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFEC86

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

Preview Lab → · Contrast checker → · Palette generator →

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