#AFFB86#AFFB86

#AFFB86 is a very light, vivid yellow-green. Relative luminance 0.798; OKLCH L 91.3% C 0.168 H 135.5°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#AFFB86
RGBrgb(175, 251, 134)
HSLhsl(99, 94%, 75%)
HSVhsv(99, 47%, 98%)
CMYKcmyk(30.3%, 0%, 46.6%, 1.6%)
CIE-LABlab(91.61, -43.47, 48.55)
CIE-LCHlch(91.61, 65.17, 131.84°)
OKLaboklab(91.27% -0.1196 0.1173)
OKLCHoklch(91.27% 0.168 135.5)
XYZxyz(56.4781, 79.8275, 34.9821)
Luminance0.7983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB86 #D286FB
analogous
#EAFB86 #AFFB86 #86FB97
triadic
#AFFB86 #86AFFB #FB86AF
tetradic
#AFFB86 #86EAFB #D286FB #FB9786
square
#AFFB86 #86EAFB #D286FB #FB9786
split-complementary
#AFFB86 #9786FB #FB86EA
monochromatic
#61F710 #88F94B #AFFB86 #D6FDC1 #EBFEE1

Accessibility & contrast

On white

1.24
#AFFB86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#AFFB86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB86
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB86#FFFFFF#000000##000000
##AFFB861.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7C
Deuteranopia (green-blind)
#F7E58D
Tritanopia (blue-blind)
#AEF3DF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affb86;
/* rgb */ color: rgb(175, 251, 134);
/* oklch */ color: oklch(91.3% 0.168 135.5);
Tailwind
colors: {
  custom: {
    50: '#cafdab',
    500: '#affb86',
    950: '#000000',
  },
}
SCSS
$custom: #affb86;
$custom-light: #cafdab;
$custom-dark: #000000;
JSON
{
  "hex": "#affb86",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 134
  },
  "hsl": {
    "h": 98.974,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.91266,
    "c": 0.16753,
    "h": 135.5
  },
  "luminance": 0.7983
}

Semantic roles & 50–950 ramp

primary
#AFFB86
secondary
#A84CDA
accent
#00E695
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFFB86

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

Preview Lab → · Contrast checker → · Palette generator →

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