#AFDC71#AFDC71

#AFDC71 is a very light, vivid yellow-green. Relative luminance 0.615; OKLCH L 83.9% C 0.144 H 128.0°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#AFDC71
RGBrgb(175, 220, 113)
HSLhsl(85, 60%, 65%)
HSVhsv(85, 49%, 86%)
CMYKcmyk(20.5%, 0%, 48.6%, 13.7%)
CIE-LABlab(82.64, -31.90, 47.52)
CIE-LCHlch(82.64, 57.24, 123.87°)
OKLaboklab(83.93% -0.0888 0.1138)
OKLCHoklch(83.93% 0.144 128)
XYZxyz(46.2527, 61.4919, 25.0519)
Luminance0.6149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC71 #9E71DC
analogous
#DCD471 #AFDC71 #79DC71
triadic
#AFDC71 #71AFDC #DC71AF
tetradic
#AFDC71 #71DCD4 #9E71DC #DC7179
square
#AFDC71 #71DCD4 #9E71DC #DC7179
split-complementary
#AFDC71 #7179DC #D471DC
monochromatic
#73A92A #93D040 #AFDC71 #CBE8A2 #E6F4D3

Accessibility & contrast

On white

1.58
#AFDC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#AFDC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC71
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC71#FFFFFF#000000##000000
##AFDC711.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D068
Deuteranopia (green-blind)
#DFCD77
Tritanopia (blue-blind)
#B4D4C3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdc71;
/* rgb */ color: rgb(175, 220, 113);
/* oklch */ color: oklch(83.9% 0.144 128.0);
Tailwind
colors: {
  custom: {
    50: '#c9e79c',
    500: '#afdc71',
    950: '#000000',
  },
}
SCSS
$custom: #afdc71;
$custom-light: #c9e79c;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc71",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 113
  },
  "hsl": {
    "h": 85.234,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83933,
    "c": 0.14433,
    "h": 128
  },
  "luminance": 0.61493
}

Semantic roles & 50–950 ramp

primary
#AFDC71
secondary
#7046AC
accent
#1DC865
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFDC71

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

Preview Lab → · Contrast checker → · Palette generator →

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