#AFEF71#AFEF71

#AFEF71 is a very light, vivid yellow-green. Relative luminance 0.720; OKLCH L 88.3% C 0.170 H 131.4°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#AFEF71
RGBrgb(175, 239, 113)
HSLhsl(90, 80%, 69%)
HSVhsv(90, 53%, 94%)
CMYKcmyk(26.8%, 0%, 52.7%, 6.3%)
CIE-LABlab(87.99, -40.53, 53.93)
CIE-LCHlch(87.99, 67.46, 126.92°)
OKLaboklab(88.25% -0.1128 0.1278)
OKLCHoklch(88.25% 0.17 131.4)
XYZxyz(51.5257, 72.0378, 26.8095)
Luminance0.7204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF71 #B171EF
analogous
#EEEF71 #AFEF71 #71EF72
triadic
#AFEF71 #71AFEF #EF71AF
tetradic
#AFEF71 #71EEEF #B171EF #EF7271
square
#AFEF71 #71EEEF #B171EF #EF7271
split-complementary
#AFEF71 #7271EF #EF71EE
monochromatic
#71CE17 #90E93A #AFEF71 #CEF5A8 #EDFBDF

Accessibility & contrast

On white

1.36
#AFEF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.41
#AFEF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF71
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF71#FFFFFF#000000##000000
##AFEF711.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E065
Deuteranopia (green-blind)
#EFDB79
Tritanopia (blue-blind)
#B2E6D3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef71;
/* rgb */ color: rgb(175, 239, 113);
/* oklch */ color: oklch(88.3% 0.170 131.4);
Tailwind
colors: {
  custom: {
    50: '#caf49d',
    500: '#afef71',
    950: '#000000',
  },
}
SCSS
$custom: #afef71;
$custom-light: #caf49d;
$custom-dark: #000000;
JSON
{
  "hex": "#afef71",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 113
  },
  "hsl": {
    "h": 90.476,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88252,
    "c": 0.17047,
    "h": 131.4
  },
  "luminance": 0.72039
}

Semantic roles & 50–950 ramp

primary
#AFEF71
secondary
#833CC8
accent
#09DC74
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170E
muted
#83857F

Preview Lab

Preview with #AFEF71

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

Preview Lab → · Contrast checker → · Palette generator →

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