#AFDC87#AFDC87

#AFDC87 is a very light, vivid yellow-green. Relative luminance 0.621; OKLCH L 84.3% C 0.122 H 131.3°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#AFDC87
RGBrgb(175, 220, 135)
HSLhsl(92, 55%, 70%)
HSVhsv(92, 39%, 86%)
CMYKcmyk(20.5%, 0%, 38.6%, 13.7%)
CIE-LABlab(82.94, -29.27, 37.08)
CIE-LCHlch(82.94, 47.25, 128.29°)
OKLaboklab(84.27% -0.0802 0.0913)
OKLCHoklch(84.27% 0.122 131.3)
XYZxyz(47.6448, 62.0487, 32.3834)
Luminance0.6205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC87 #B487DC
analogous
#D9DC87 #AFDC87 #87DC8A
triadic
#AFDC87 #87AFDC #DC87AF
tetradic
#AFDC87 #87D9DC #B487DC #DC8A87
square
#AFDC87 #87D9DC #B487DC #DC8A87
split-complementary
#AFDC87 #8A87DC #DC87D9
monochromatic
#71B435 #8FCE58 #AFDC87 #CFEAB6 #EEF8E6

Accessibility & contrast

On white

1.57
#AFDC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#AFDC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC87
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC87#FFFFFF#000000##000000
##AFDC871.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D181
Deuteranopia (green-blind)
#DCCD8C
Tritanopia (blue-blind)
#B1D5C7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdc87;
/* rgb */ color: rgb(175, 220, 135);
/* oklch */ color: oklch(84.3% 0.122 131.3);
Tailwind
colors: {
  custom: {
    50: '#c8e7ab',
    500: '#afdc87',
    950: '#000000',
  },
}
SCSS
$custom: #afdc87;
$custom-light: #c8e7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc87",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 135
  },
  "hsl": {
    "h": 91.765,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.84268,
    "c": 0.12153,
    "h": 131.3
  },
  "luminance": 0.6205
}

Semantic roles & 50–950 ramp

primary
#AFDC87
secondary
#8654B3
accent
#23C277
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFDC87

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

Preview Lab → · Contrast checker → · Palette generator →

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