#AFF871#AFF871

#AFF871 is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.3% C 0.183 H 132.6°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#AFF871
RGBrgb(175, 248, 113)
HSLhsl(92, 91%, 71%)
HSVhsv(92, 54%, 97%)
CMYKcmyk(29.4%, 0%, 54.4%, 2.7%)
CIE-LABlab(90.52, -44.46, 56.92)
CIE-LCHlch(90.52, 72.22, 127.99°)
OKLaboklab(90.31% -0.1236 0.1343)
OKLCHoklch(90.31% 0.183 132.6)
XYZxyz(54.2264, 77.4392, 27.7098)
Luminance0.7744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF871 #BA71F8
analogous
#F3F871 #AFF871 #71F876
triadic
#AFF871 #71AFF8 #F871AF
tetradic
#AFF871 #71F3F8 #BA71F8 #F87671
square
#AFF871 #71F3F8 #BA71F8 #F87671
split-complementary
#AFF871 #7671F8 #F871F3
monochromatic
#6EE30B #8EF537 #AFF871 #D0FBAB #EFFEE2

Accessibility & contrast

On white

1.27
#AFF871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.49
#AFF871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF871
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF871#FFFFFF#000000##000000
##AFF8711.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#F7E27A
Tritanopia (blue-blind)
#B0EFDA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff871;
/* rgb */ color: rgb(175, 248, 113);
/* oklch */ color: oklch(90.3% 0.183 132.6);
Tailwind
colors: {
  custom: {
    50: '#cafb9d',
    500: '#aff871',
    950: '#000000',
  },
}
SCSS
$custom: #aff871;
$custom-light: #cafb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#aff871",
  "rgb": {
    "r": 175,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 92.444,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90309,
    "c": 0.18256,
    "h": 132.6
  },
  "luminance": 0.77441
}

Semantic roles & 50–950 ramp

primary
#AFF871
secondary
#8D3AD3
accent
#00E67C
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFF871

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

Preview Lab → · Contrast checker → · Palette generator →

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