#AFCD87#AFCD87

#AFCD87 is a light, moderate yellow-green. Relative luminance 0.545; OKLCH L 80.9% C 0.099 H 127.3°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#AFCD87
RGBrgb(175, 205, 135)
HSLhsl(86, 41%, 67%)
HSVhsv(86, 34%, 80%)
CMYKcmyk(14.6%, 0%, 34.1%, 19.6%)
CIE-LABlab(78.77, -22.03, 31.64)
CIE-LCHlch(78.77, 38.55, 124.85°)
OKLaboklab(80.92% -0.06 0.0786)
OKLCHoklch(80.92% 0.099 127.3)
XYZxyz(43.8831, 54.5255, 31.1295)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD87 #A587CD
analogous
#CDC887 #AFCD87 #8CCD87
triadic
#AFCD87 #87AFCD #CD87AF
tetradic
#AFCD87 #87CDC8 #A587CD #CD878C
square
#AFCD87 #87CDC8 #A587CD #CD878C
split-complementary
#AFCD87 #878CCD #C887CD
monochromatic
#739A40 #92BB5C #AFCD87 #CCDFB2 #E9F1DD

Accessibility & contrast

On white

1.76
#AFCD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#AFCD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD87
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD87#FFFFFF#000000##000000
##AFCD871.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C482
Deuteranopia (green-blind)
#D0C28A
Tritanopia (blue-blind)
#B3C7BB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcd87;
/* rgb */ color: rgb(175, 205, 135);
/* oklch */ color: oklch(80.9% 0.099 127.3);
Tailwind
colors: {
  custom: {
    50: '#c7dcaa',
    500: '#afcd87',
    950: '#000000',
  },
}
SCSS
$custom: #afcd87;
$custom-light: #c7dcaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd87",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 85.714,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.80919,
    "c": 0.09889,
    "h": 127.3
  },
  "luminance": 0.54526
}

Semantic roles & 50–950 ramp

primary
#AFCD87
secondary
#7758A0
accent
#31B469
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFCD87

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

Preview Lab → · Contrast checker → · Palette generator →

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