#AFF171#AFF171

#AFF171 is a very light, vivid yellow-green. Relative luminance 0.732; OKLCH L 88.7% C 0.173 H 131.7°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#AFF171
RGBrgb(175, 241, 113)
HSLhsl(91, 82%, 69%)
HSVhsv(91, 53%, 95%)
CMYKcmyk(27.4%, 0%, 53.1%, 5.5%)
CIE-LABlab(88.55, -41.41, 54.60)
CIE-LCHlch(88.55, 68.53, 127.18°)
OKLaboklab(88.71% -0.1152 0.1293)
OKLCHoklch(88.71% 0.173 131.7)
XYZxyz(52.1144, 73.2153, 27.0058)
Luminance0.7322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF171 #B371F1
analogous
#EFF171 #AFF171 #71F173
triadic
#AFF171 #71AFF1 #F171AF
tetradic
#AFF171 #71EFF1 #B371F1 #F17371
square
#AFF171 #71EFF1 #B371F1 #F17371
split-complementary
#AFF171 #7371F1 #F171EF
monochromatic
#71D315 #90EC39 #AFF171 #CEF6A9 #EEFCE0

Accessibility & contrast

On white

1.34
#AFF171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.64
#AFF171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF171
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF171#FFFFFF#000000##000000
##AFF1711.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE265
Deuteranopia (green-blind)
#F1DD79
Tritanopia (blue-blind)
#B1E8D4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #aff171;
/* rgb */ color: rgb(175, 241, 113);
/* oklch */ color: oklch(88.7% 0.173 131.7);
Tailwind
colors: {
  custom: {
    50: '#caf69d',
    500: '#aff171',
    950: '#000000',
  },
}
SCSS
$custom: #aff171;
$custom-light: #caf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#aff171",
  "rgb": {
    "r": 175,
    "g": 241,
    "b": 113
  },
  "hsl": {
    "h": 90.938,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88709,
    "c": 0.17317,
    "h": 131.7
  },
  "luminance": 0.73217
}

Semantic roles & 50–950 ramp

primary
#AFF171
secondary
#853CCA
accent
#07DE76
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170E
muted
#83857F

Preview Lab

Preview with #AFF171

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

Preview Lab → · Contrast checker → · Palette generator →

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