#AFDD71#AFDD71

#AFDD71 is a very light, vivid yellow-green. Relative luminance 0.620; OKLCH L 84.2% C 0.146 H 128.2°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#AFDD71
RGBrgb(175, 221, 113)
HSLhsl(86, 61%, 65%)
HSVhsv(86, 49%, 87%)
CMYKcmyk(20.8%, 0%, 48.9%, 13.3%)
CIE-LABlab(82.92, -32.37, 47.86)
CIE-LCHlch(82.92, 57.78, 124.07°)
OKLaboklab(84.16% -0.0901 0.1145)
OKLCHoklch(84.16% 0.146 128.2)
XYZxyz(46.5159, 62.0184, 25.1396)
Luminance0.6202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD71 #9F71DD
analogous
#DDD571 #AFDD71 #79DD71
triadic
#AFDD71 #71AFDD #DD71AF
tetradic
#AFDD71 #71DDD5 #9F71DD #DD7179
square
#AFDD71 #71DDD5 #9F71DD #DD7179
split-complementary
#AFDD71 #7179DD #D571DD
monochromatic
#73AB29 #93D140 #AFDD71 #CBE9A2 #E7F5D4

Accessibility & contrast

On white

1.57
#AFDD71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#AFDD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDD71
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDD71#FFFFFF#000000##000000
##AFDD711.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D068
Deuteranopia (green-blind)
#E0CE77
Tritanopia (blue-blind)
#B3D5C4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdd71;
/* rgb */ color: rgb(175, 221, 113);
/* oklch */ color: oklch(84.2% 0.146 128.2);
Tailwind
colors: {
  custom: {
    50: '#c9e79c',
    500: '#afdd71',
    950: '#000000',
  },
}
SCSS
$custom: #afdd71;
$custom-light: #c9e79c;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd71",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 113
  },
  "hsl": {
    "h": 85.556,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.84159,
    "c": 0.14571,
    "h": 128.2
  },
  "luminance": 0.62019
}

Semantic roles & 50–950 ramp

primary
#AFDD71
secondary
#7145AD
accent
#1CC966
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFDD71

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

Preview Lab → · Contrast checker → · Palette generator →

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