#AFFE71#AFFE71

#AFFE71 is a very light, vivid yellow-green. Relative luminance 0.812; OKLCH L 91.7% C 0.191 H 133.3°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#AFFE71
RGBrgb(175, 254, 113)
HSLhsl(94, 99%, 72%)
HSVhsv(94, 56%, 100%)
CMYKcmyk(31.1%, 0%, 55.5%, 0.4%)
CIE-LABlab(92.22, -47.03, 58.89)
CIE-LCHlch(92.22, 75.36, 128.61°)
OKLaboklab(91.68% -0.1307 0.1386)
OKLCHoklch(91.68% 0.191 133.3)
XYZxyz(56.1007, 81.1878, 28.3346)
Luminance0.8119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE71 #C071FE
analogous
#F5FE71 #AFFE71 #71FE7A
triadic
#AFFE71 #71AFFE #FE71AF
tetradic
#AFFE71 #71F5FE #C071FE #FE7A71
square
#AFFE71 #71F5FE #C071FE #FE7A71
split-complementary
#AFFE71 #7A71FE #FE71F5
monochromatic
#6CF302 #8DFE34 #AFFE71 #D1FEAE #EEFFE1

Accessibility & contrast

On white

1.22
#AFFE71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#AFFE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE71
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE71#FFFFFF#000000##000000
##AFFE711.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED63
Deuteranopia (green-blind)
#FCE67B
Tritanopia (blue-blind)
#B0F5DF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affe71;
/* rgb */ color: rgb(175, 254, 113);
/* oklch */ color: oklch(91.7% 0.191 133.3);
Tailwind
colors: {
  custom: {
    50: '#cbff9e',
    500: '#affe71',
    950: '#000000',
  },
}
SCSS
$custom: #affe71;
$custom-light: #cbff9e;
$custom-dark: #000000;
JSON
{
  "hex": "#affe71",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 113
  },
  "hsl": {
    "h": 93.617,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91683,
    "c": 0.1905,
    "h": 133.3
  },
  "luminance": 0.8119
}

Semantic roles & 50–950 ramp

primary
#AFFE71
secondary
#9339DB
accent
#00E681
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFE71

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

Preview Lab → · Contrast checker → · Palette generator →

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