#AFE571#AFE571

#AFE571 is a very light, vivid yellow-green. Relative luminance 0.663; OKLCH L 86.0% C 0.157 H 129.8°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#AFE571
RGBrgb(175, 229, 113)
HSLhsl(88, 69%, 67%)
HSVhsv(88, 51%, 90%)
CMYKcmyk(23.6%, 0%, 50.7%, 10.2%)
CIE-LABlab(85.17, -36.04, 50.58)
CIE-LCHlch(85.17, 62.11, 125.48°)
OKLaboklab(85.97% -0.1003 0.1205)
OKLCHoklch(85.97% 0.157 129.8)
XYZxyz(48.6787, 66.3438, 25.8605)
Luminance0.6634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE571 #A771E5
analogous
#E5E171 #AFE571 #75E571
triadic
#AFE571 #71AFE5 #E571AF
tetradic
#AFE571 #71E5E1 #A771E5 #E57175
square
#AFE571 #71E5E1 #A771E5 #E57175
split-complementary
#AFE571 #7175E5 #E171E5
monochromatic
#73BA22 #92DC3D #AFE571 #CCEEA5 #E9F8D8

Accessibility & contrast

On white

1.47
#AFE571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#AFE571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE571
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE571#FFFFFF#000000##000000
##AFE5711.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED767
Deuteranopia (green-blind)
#E6D378
Tritanopia (blue-blind)
#B3DDCB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe571;
/* rgb */ color: rgb(175, 229, 113);
/* oklch */ color: oklch(86.0% 0.157 129.8);
Tailwind
colors: {
  custom: {
    50: '#c9ed9c',
    500: '#afe571',
    950: '#000000',
  },
}
SCSS
$custom: #afe571;
$custom-light: #c9ed9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe571",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 113
  },
  "hsl": {
    "h": 87.931,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85974,
    "c": 0.15681,
    "h": 129.8
  },
  "luminance": 0.66345
}

Semantic roles & 50–950 ramp

primary
#AFE571
secondary
#7941BA
accent
#14D16C
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE571

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

Preview Lab → · Contrast checker → · Palette generator →

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