#AFD571#AFD571

#AFD571 is a very light, vivid yellow-green. Relative luminance 0.579; OKLCH L 82.4% C 0.135 H 126.3°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#AFD571
RGBrgb(175, 213, 113)
HSLhsl(83, 54%, 64%)
HSVhsv(83, 47%, 84%)
CMYKcmyk(17.8%, 0%, 46.9%, 16.5%)
CIE-LABlab(80.68, -28.61, 45.12)
CIE-LCHlch(80.68, 53.43, 122.38°)
OKLaboklab(82.35% -0.0796 0.1085)
OKLCHoklch(82.35% 0.135 126.3)
XYZxyz(44.4539, 57.8942, 24.4523)
Luminance0.5789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD571 #9771D5
analogous
#D5C971 #AFD571 #7DD571
triadic
#AFD571 #71AFD5 #D571AF
tetradic
#AFD571 #71D5C9 #9771D5 #D5717D
square
#AFD571 #71D5C9 #9771D5 #D5717D
split-complementary
#AFD571 #717DD5 #C971D5
monochromatic
#739D2E #94C742 #AFD571 #CAE3A0 #E4F1CF

Accessibility & contrast

On white

1.67
#AFD571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#AFD571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD571
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD571#FFFFFF#000000##000000
##AFD5711.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA69
Deuteranopia (green-blind)
#D9C877
Tritanopia (blue-blind)
#B4CDBE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd571;
/* rgb */ color: rgb(175, 213, 113);
/* oklch */ color: oklch(82.4% 0.135 126.3);
Tailwind
colors: {
  custom: {
    50: '#c8e29c',
    500: '#afd571',
    950: '#000000',
  },
}
SCSS
$custom: #afd571;
$custom-light: #c8e29c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd571",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 113
  },
  "hsl": {
    "h": 82.8,
    "s": 54.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82352,
    "c": 0.13453,
    "h": 126.3
  },
  "luminance": 0.57895
}

Semantic roles & 50–950 ramp

primary
#AFD571
secondary
#6A49A2
accent
#24C260
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD571

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

Preview Lab → · Contrast checker → · Palette generator →

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