#AFF371#AFF371

#AFF371 is a very light, vivid yellow-green. Relative luminance 0.744; OKLCH L 89.2% C 0.176 H 132.0°. Best body text is #000000 at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#AFF371
RGBrgb(175, 243, 113)
HSLhsl(91, 84%, 70%)
HSVhsv(91, 53%, 95%)
CMYKcmyk(28%, 0%, 53.5%, 4.7%)
CIE-LABlab(89.11, -42.29, 55.26)
CIE-LCHlch(89.11, 69.59, 127.42°)
OKLaboklab(89.17% -0.1176 0.1307)
OKLCHoklch(89.17% 0.176 132)
XYZxyz(52.7097, 74.4058, 27.2042)
Luminance0.7441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF371 #B571F3
analogous
#F0F371 #AFF371 #71F374
triadic
#AFF371 #71AFF3 #F371AF
tetradic
#AFF371 #71F0F3 #B571F3 #F37471
square
#AFF371 #71F0F3 #B571F3 #F37471
split-complementary
#AFF371 #7471F3 #F371F0
monochromatic
#70D712 #8FEE39 #AFF371 #CFF8A9 #EFFDE2

Accessibility & contrast

On white

1.32
#AFF371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.88
#AFF371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF371
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF371#FFFFFF#000000##000000
##AFF3711.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE365
Deuteranopia (green-blind)
#F2DE7A
Tritanopia (blue-blind)
#B1EAD6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #aff371;
/* rgb */ color: rgb(175, 243, 113);
/* oklch */ color: oklch(89.2% 0.176 132.0);
Tailwind
colors: {
  custom: {
    50: '#caf79d',
    500: '#aff371',
    950: '#000000',
  },
}
SCSS
$custom: #aff371;
$custom-light: #caf79d;
$custom-dark: #000000;
JSON
{
  "hex": "#aff371",
  "rgb": {
    "r": 175,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 91.385,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89166,
    "c": 0.17587,
    "h": 132
  },
  "luminance": 0.74407
}

Semantic roles & 50–950 ramp

primary
#AFF371
secondary
#873BCD
accent
#05E178
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFF371

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

Preview Lab → · Contrast checker → · Palette generator →

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