#AFDA87#AFDA87

#AFDA87 is a very light, moderate yellow-green. Relative luminance 0.610; OKLCH L 83.8% C 0.119 H 130.9°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#AFDA87
RGBrgb(175, 218, 135)
HSLhsl(91, 53%, 69%)
HSVhsv(91, 38%, 85%)
CMYKcmyk(19.7%, 0%, 38.1%, 14.5%)
CIE-LABlab(82.38, -28.33, 36.36)
CIE-LCHlch(82.38, 46.09, 127.92°)
OKLaboklab(83.82% -0.0776 0.0896)
OKLCHoklch(83.82% 0.119 130.9)
XYZxyz(47.1230, 61.0052, 32.2095)
Luminance0.6101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA87 #B287DA
analogous
#D9DA87 #AFDA87 #87DA89
triadic
#AFDA87 #87AFDA #DA87AF
tetradic
#AFDA87 #87D9DA #B287DA #DA8987
square
#AFDA87 #87D9DA #B287DA #DA8987
split-complementary
#AFDA87 #8987DA #DA87D9
monochromatic
#71B036 #90CC58 #AFDA87 #CEE8B6 #EDF7E5

Accessibility & contrast

On white

1.59
#AFDA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#AFDA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA87
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA87#FFFFFF#000000##000000
##AFDA871.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CF81
Deuteranopia (green-blind)
#DBCC8B
Tritanopia (blue-blind)
#B1D3C5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afda87;
/* rgb */ color: rgb(175, 218, 135);
/* oklch */ color: oklch(83.8% 0.119 130.9);
Tailwind
colors: {
  custom: {
    50: '#c8e5ab',
    500: '#afda87',
    950: '#000000',
  },
}
SCSS
$custom: #afda87;
$custom-light: #c8e5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afda87",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 135
  },
  "hsl": {
    "h": 91.084,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.8382,
    "c": 0.11854,
    "h": 130.9
  },
  "luminance": 0.61006
}

Semantic roles & 50–950 ramp

primary
#AFDA87
secondary
#8455B1
accent
#25C076
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFDA87

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

Preview Lab → · Contrast checker → · Palette generator →

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