#AFF771#AFF771

#AFF771 is a very light, vivid yellow-green. Relative luminance 0.768; OKLCH L 90.1% C 0.181 H 132.5°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#AFF771
RGBrgb(175, 247, 113)
HSLhsl(92, 89%, 71%)
HSVhsv(92, 54%, 97%)
CMYKcmyk(29.1%, 0%, 54.3%, 3.1%)
CIE-LABlab(90.24, -44.03, 56.59)
CIE-LCHlch(90.24, 71.70, 127.88°)
OKLaboklab(90.08% -0.1224 0.1336)
OKLCHoklch(90.08% 0.181 132.5)
XYZxyz(53.9198, 76.8260, 27.6076)
Luminance0.7683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF771 #B971F7
analogous
#F2F771 #AFF771 #71F776
triadic
#AFF771 #71AFF7 #F771AF
tetradic
#AFF771 #71F2F7 #B971F7 #F77671
square
#AFF771 #71F2F7 #B971F7 #F77671
split-complementary
#AFF771 #7671F7 #F771F2
monochromatic
#6FE10D #8EF437 #AFF771 #D0FAAB #EFFDE2

Accessibility & contrast

On white

1.28
#AFF771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#AFF771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF771
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF771#FFFFFF#000000##000000
##AFF7711.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE764
Deuteranopia (green-blind)
#F6E17A
Tritanopia (blue-blind)
#B1EED9
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #aff771;
/* rgb */ color: rgb(175, 247, 113);
/* oklch */ color: oklch(90.1% 0.181 132.5);
Tailwind
colors: {
  custom: {
    50: '#cafa9d',
    500: '#aff771',
    950: '#000000',
  },
}
SCSS
$custom: #aff771;
$custom-light: #cafa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#aff771",
  "rgb": {
    "r": 175,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 92.239,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9008,
    "c": 0.18123,
    "h": 132.5
  },
  "luminance": 0.76828
}

Semantic roles & 50–950 ramp

primary
#AFF771
secondary
#8C3AD2
accent
#00E67B
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFF771

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

Preview Lab → · Contrast checker → · Palette generator →

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