#AFDF8D#AFDF8D

#AFDF8D is a very light, moderate yellow-green. Relative luminance 0.638; OKLCH L 85.0% C 0.120 H 133.1°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#AFDF8D
RGBrgb(175, 223, 141)
HSLhsl(95, 56%, 71%)
HSVhsv(95, 37%, 87%)
CMYKcmyk(21.5%, 0%, 36.8%, 12.5%)
CIE-LABlab(83.87, -29.89, 35.27)
CIE-LCHlch(83.87, 46.23, 130.28°)
OKLaboklab(85.05% -0.0817 0.0873)
OKLCHoklch(85.05% 0.12 133.1)
XYZxyz(48.8736, 63.8113, 34.9360)
Luminance0.6381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF8D #BD8DDF
analogous
#D8DF8D #AFDF8D #8DDF94
triadic
#AFDF8D #8DAFDF #DF8DAF
tetradic
#AFDF8D #8DD8DF #BD8DDF #DF948D
square
#AFDF8D #8DD8DF #BD8DDF #DF948D
split-complementary
#AFDF8D #948DDF #DF8DD8
monochromatic
#6DBD35 #8DD25D #AFDF8D #D1ECBD #EEF8E7

Accessibility & contrast

On white

1.53
#AFDF8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#AFDF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF8D
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF8D#FFFFFF#000000##000000
##AFDF8D1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D487
Deuteranopia (green-blind)
#DED091
Tritanopia (blue-blind)
#B0D9CA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afdf8d;
/* rgb */ color: rgb(175, 223, 141);
/* oklch */ color: oklch(85.0% 0.120 133.1);
Tailwind
colors: {
  custom: {
    50: '#c8e9af',
    500: '#afdf8d',
    950: '#000000',
  },
}
SCSS
$custom: #afdf8d;
$custom-light: #c8e9af;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf8d",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 141
  },
  "hsl": {
    "h": 95.122,
    "s": 56.164,
    "l": 71.373
  },
  "oklch": {
    "l": 0.85045,
    "c": 0.11956,
    "h": 133.1
  },
  "luminance": 0.63812
}

Semantic roles & 50–950 ramp

primary
#AFDF8D
secondary
#9059B7
accent
#22C481
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFDF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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