#AFD887#AFD887

#AFD887 is a very light, moderate yellow-green. Relative luminance 0.600; OKLCH L 83.4% C 0.116 H 130.4°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#AFD887
RGBrgb(175, 216, 135)
HSLhsl(90, 51%, 69%)
HSVhsv(90, 38%, 85%)
CMYKcmyk(19%, 0%, 37.5%, 15.3%)
CIE-LABlab(81.82, -27.37, 35.64)
CIE-LCHlch(81.82, 44.94, 127.53°)
OKLaboklab(83.37% -0.0749 0.088)
OKLCHoklch(83.37% 0.116 130.4)
XYZxyz(46.6075, 59.9742, 32.0376)
Luminance0.5998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD887 #B087D8
analogous
#D8D887 #AFD887 #87D888
triadic
#AFD887 #87AFD8 #D887AF
tetradic
#AFD887 #87D8D8 #B087D8 #D88887
square
#AFD887 #87D8D8 #B087D8 #D88887
split-complementary
#AFD887 #8887D8 #D887D8
monochromatic
#72AD38 #90C959 #AFD887 #CEE7B5 #EDF6E3

Accessibility & contrast

On white

1.62
#AFD887 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#AFD887 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD887
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD887#FFFFFF#000000##000000
##AFD8871.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCD81
Deuteranopia (green-blind)
#D9CA8B
Tritanopia (blue-blind)
#B1D2C4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd887;
/* rgb */ color: rgb(175, 216, 135);
/* oklch */ color: oklch(83.4% 0.116 130.4);
Tailwind
colors: {
  custom: {
    50: '#c8e4ab',
    500: '#afd887',
    950: '#000000',
  },
}
SCSS
$custom: #afd887;
$custom-light: #c8e4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afd887",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 135
  },
  "hsl": {
    "h": 90.37,
    "s": 50.943,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83372,
    "c": 0.11554,
    "h": 130.4
  },
  "luminance": 0.59975
}

Semantic roles & 50–950 ramp

primary
#AFD887
secondary
#8255AE
accent
#27BE74
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD887

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

Preview Lab → · Contrast checker → · Palette generator →

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