#AFCD86#AFCD86

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

Color values

HEX#AFCD86
RGBrgb(175, 205, 134)
HSLhsl(85, 42%, 66%)
HSVhsv(85, 35%, 80%)
CMYKcmyk(14.6%, 0%, 34.6%, 19.6%)
CIE-LABlab(78.75, -22.17, 32.13)
CIE-LCHlch(78.75, 39.04, 124.60°)
OKLaboklab(80.9% -0.0604 0.0798)
OKLCHoklch(80.9% 0.1 127.1)
XYZxyz(43.8131, 54.4974, 30.7605)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD86 #A486CD
analogous
#CDC886 #AFCD86 #8CCD86
triadic
#AFCD86 #86AFCD #CD86AF
tetradic
#AFCD86 #86CDC8 #A486CD #CD868C
square
#AFCD86 #86CDC8 #A486CD #CD868C
split-complementary
#AFCD86 #868CCD #C886CD
monochromatic
#73993F #92BB5B #AFCD86 #CCDFB1 #E8F1DD

Accessibility & contrast

On white

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

On black

11.90
#AFCD86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD86
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD86#FFFFFF#000000##000000
##AFCD861.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcd86;
/* rgb */ color: rgb(175, 205, 134);
/* oklch */ color: oklch(80.9% 0.100 127.1);
Tailwind
colors: {
  custom: {
    50: '#c7dcaa',
    500: '#afcd86',
    950: '#000000',
  },
}
SCSS
$custom: #afcd86;
$custom-light: #c7dcaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd86",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 134
  },
  "hsl": {
    "h": 85.352,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.80901,
    "c": 0.10004,
    "h": 127.1
  },
  "luminance": 0.54498
}

Semantic roles & 50–950 ramp

primary
#AFCD86
secondary
#7658A0
accent
#31B569
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFCD86

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

Preview Lab → · Contrast checker → · Palette generator →

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