#AFFC86#AFFC86

#AFFC86 is a very light, vivid yellow-green. Relative luminance 0.805; OKLCH L 91.5% C 0.169 H 135.6°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#AFFC86
RGBrgb(175, 252, 134)
HSLhsl(99, 95%, 76%)
HSVhsv(99, 47%, 99%)
CMYKcmyk(30.6%, 0%, 46.8%, 1.2%)
CIE-LABlab(91.89, -43.90, 48.90)
CIE-LCHlch(91.89, 65.72, 131.92°)
OKLaboklab(91.49% -0.1208 0.1181)
OKLCHoklch(91.49% 0.169 135.6)
XYZxyz(56.7913, 80.4539, 35.0865)
Luminance0.8046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC86 #D386FC
analogous
#EAFC86 #AFFC86 #86FC98
triadic
#AFFC86 #86AFFC #FC86AF
tetradic
#AFFC86 #86EAFC #D386FC #FC9886
square
#AFFC86 #86EAFC #D386FC #FC9886
split-complementary
#AFFC86 #9886FC #FC86EA
monochromatic
#60F90F #88FB4A #AFFC86 #D6FDC2 #EBFEE1

Accessibility & contrast

On white

1.23
#AFFC86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.09
#AFFC86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC86
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC86#FFFFFF#000000##000000
##AFFC861.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7C
Deuteranopia (green-blind)
#F8E58D
Tritanopia (blue-blind)
#AEF4E0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affc86;
/* rgb */ color: rgb(175, 252, 134);
/* oklch */ color: oklch(91.5% 0.169 135.6);
Tailwind
colors: {
  custom: {
    50: '#cafeab',
    500: '#affc86',
    950: '#000000',
  },
}
SCSS
$custom: #affc86;
$custom-light: #cafeab;
$custom-dark: #000000;
JSON
{
  "hex": "#affc86",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 134
  },
  "hsl": {
    "h": 99.153,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.91494,
    "c": 0.16893,
    "h": 135.6
  },
  "luminance": 0.80456
}

Semantic roles & 50–950 ramp

primary
#AFFC86
secondary
#A94BDB
accent
#00E696
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#131810
muted
#838681

Preview Lab

Preview with #AFFC86

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

Preview Lab → · Contrast checker → · Palette generator →

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