#AFDF86#AFDF86

#AFDF86 is a very light, vivid yellow-green. Relative luminance 0.636; OKLCH L 84.9% C 0.127 H 131.7°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#AFDF86
RGBrgb(175, 223, 134)
HSLhsl(92, 58%, 70%)
HSVhsv(92, 40%, 87%)
CMYKcmyk(21.5%, 0%, 39.9%, 12.5%)
CIE-LABlab(83.76, -30.82, 38.65)
CIE-LCHlch(83.76, 49.43, 128.57°)
OKLaboklab(84.93% -0.0845 0.0949)
OKLCHoklch(84.93% 0.127 131.7)
XYZxyz(48.3691, 63.6095, 32.2791)
Luminance0.6361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF86 #B686DF
analogous
#DBDF86 #AFDF86 #86DF8A
triadic
#AFDF86 #86AFDF #DF86AF
tetradic
#AFDF86 #86DBDF #B686DF #DF8A86
square
#AFDF86 #86DBDF #B686DF #DF8A86
split-complementary
#AFDF86 #8A86DF #DF86DB
monochromatic
#70BA31 #8FD256 #AFDF86 #CFECB6 #EFF9E7

Accessibility & contrast

On white

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

On black

13.72
#AFDF86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF86
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF86#FFFFFF#000000##000000
##AFDF861.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D37F
Deuteranopia (green-blind)
#DFD08B
Tritanopia (blue-blind)
#B1D8C9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afdf86;
/* rgb */ color: rgb(175, 223, 134);
/* oklch */ color: oklch(84.9% 0.127 131.7);
Tailwind
colors: {
  custom: {
    50: '#c8e9aa',
    500: '#afdf86',
    950: '#000000',
  },
}
SCSS
$custom: #afdf86;
$custom-light: #c8e9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf86",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 134
  },
  "hsl": {
    "h": 92.36,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.84926,
    "c": 0.12707,
    "h": 131.7
  },
  "luminance": 0.63611
}

Semantic roles & 50–950 ramp

primary
#AFDF86
secondary
#8953B6
accent
#20C679
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFDF86

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

Preview Lab → · Contrast checker → · Palette generator →

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