#AFFF71#AFFF71

#AFFF71 is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 91.9% C 0.192 H 133.4°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#AFFF71
RGBrgb(175, 255, 113)
HSLhsl(94, 100%, 72%)
HSVhsv(94, 56%, 100%)
CMYKcmyk(31.4%, 0%, 55.7%, 0%)
CIE-LABlab(92.50, -47.45, 59.22)
CIE-LCHlch(92.50, 75.88, 128.71°)
OKLaboklab(91.91% -0.1319 0.1393)
OKLCHoklch(91.91% 0.192 133.4)
XYZxyz(56.4188, 81.8241, 28.4406)
Luminance0.8183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF71 #C171FF
analogous
#F6FF71 #AFFF71 #71FF7A
triadic
#AFFF71 #71AFFF #FF71AF
tetradic
#AFFF71 #71F6FF #C171FF #FF7A71
square
#AFFF71 #71F6FF #C171FF #FF7A71
split-complementary
#AFFF71 #7A71FF #FF71F6
monochromatic
#6BF600 #8DFF34 #AFFF71 #D1FFAE #EEFFE0

Accessibility & contrast

On white

1.21
#AFFF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.37
#AFFF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF71
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF71#FFFFFF#000000##000000
##AFFF711.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE63
Deuteranopia (green-blind)
#FDE77B
Tritanopia (blue-blind)
#B0F6E0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #afff71;
/* rgb */ color: rgb(175, 255, 113);
/* oklch */ color: oklch(91.9% 0.192 133.4);
Tailwind
colors: {
  custom: {
    50: '#cbff9e',
    500: '#afff71',
    950: '#000000',
  },
}
SCSS
$custom: #afff71;
$custom-light: #cbff9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afff71",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 113
  },
  "hsl": {
    "h": 93.803,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91913,
    "c": 0.19182,
    "h": 133.4
  },
  "luminance": 0.81826
}

Semantic roles & 50–950 ramp

primary
#AFFF71
secondary
#9438DC
accent
#00E681
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFF71

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

Preview Lab → · Contrast checker → · Palette generator →

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