#AFF271#AFF271

#AFF271 is a very light, vivid yellow-green. Relative luminance 0.738; OKLCH L 88.9% C 0.175 H 131.8°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#AFF271
RGBrgb(175, 242, 113)
HSLhsl(91, 83%, 70%)
HSVhsv(91, 53%, 95%)
CMYKcmyk(27.7%, 0%, 53.3%, 5.1%)
CIE-LABlab(88.83, -41.85, 54.93)
CIE-LCHlch(88.83, 69.06, 127.30°)
OKLaboklab(88.94% -0.1164 0.13)
OKLCHoklch(88.94% 0.175 131.8)
XYZxyz(52.4112, 73.8089, 27.1047)
Luminance0.7381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF271 #B471F2
analogous
#EFF271 #AFF271 #71F274
triadic
#AFF271 #71AFF2 #F271AF
tetradic
#AFF271 #71EFF2 #B471F2 #F27471
square
#AFF271 #71EFF2 #B471F2 #F27471
split-complementary
#AFF271 #7471F2 #F271EF
monochromatic
#71D514 #8FED39 #AFF271 #CFF7A9 #EEFCE1

Accessibility & contrast

On white

1.33
#AFF271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.76
#AFF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF271
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF271#FFFFFF#000000##000000
##AFF2711.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE265
Deuteranopia (green-blind)
#F2DD7A
Tritanopia (blue-blind)
#B1E9D5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #aff271;
/* rgb */ color: rgb(175, 242, 113);
/* oklch */ color: oklch(88.9% 0.175 131.8);
Tailwind
colors: {
  custom: {
    50: '#caf69d',
    500: '#aff271',
    950: '#000000',
  },
}
SCSS
$custom: #aff271;
$custom-light: #caf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#aff271",
  "rgb": {
    "r": 175,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 91.163,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88937,
    "c": 0.17452,
    "h": 131.8
  },
  "luminance": 0.7381
}

Semantic roles & 50–950 ramp

primary
#AFF271
secondary
#863CCB
accent
#06E077
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170E
muted
#83857F

Preview Lab

Preview with #AFF271

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

Preview Lab → · Contrast checker → · Palette generator →

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