#AFD587#AFD587

#AFD587 is a very light, moderate yellow-green. Relative luminance 0.585; OKLCH L 82.7% C 0.111 H 129.7°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#AFD587
RGBrgb(175, 213, 135)
HSLhsl(89, 48%, 68%)
HSVhsv(89, 37%, 84%)
CMYKcmyk(17.8%, 0%, 36.6%, 16.5%)
CIE-LABlab(80.99, -25.93, 34.55)
CIE-LCHlch(80.99, 43.20, 126.89°)
OKLaboklab(82.7% -0.0709 0.0854)
OKLCHoklch(82.7% 0.111 129.7)
XYZxyz(45.8459, 58.4511, 31.7838)
Luminance0.5845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD587 #AD87D5
analogous
#D5D487 #AFD587 #88D587
triadic
#AFD587 #87AFD5 #D587AF
tetradic
#AFD587 #87D5D4 #AD87D5 #D58788
square
#AFD587 #87D5D4 #AD87D5 #D58788
split-complementary
#AFD587 #8788D5 #D487D5
monochromatic
#72A73A #91C55A #AFD587 #CDE5B4 #EBF5E2

Accessibility & contrast

On white

1.65
#AFD587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#AFD587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD587
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD587#FFFFFF#000000##000000
##AFD5871.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCB81
Deuteranopia (green-blind)
#D6C88B
Tritanopia (blue-blind)
#B2CFC1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd587;
/* rgb */ color: rgb(175, 213, 135);
/* oklch */ color: oklch(82.7% 0.111 129.7);
Tailwind
colors: {
  custom: {
    50: '#c8e2ab',
    500: '#afd587',
    950: '#000000',
  },
}
SCSS
$custom: #afd587;
$custom-light: #c8e2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afd587",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 135
  },
  "hsl": {
    "h": 89.231,
    "s": 48.148,
    "l": 68.235
  },
  "oklch": {
    "l": 0.82701,
    "c": 0.11101,
    "h": 129.7
  },
  "luminance": 0.58452
}

Semantic roles & 50–950 ramp

primary
#AFD587
secondary
#7F55AB
accent
#2ABB71
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD587

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

Preview Lab → · Contrast checker → · Palette generator →

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