#AFF971#AFF971

#AFF971 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 90.5% C 0.184 H 132.7°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#AFF971
RGBrgb(175, 249, 113)
HSLhsl(93, 92%, 71%)
HSVhsv(93, 55%, 98%)
CMYKcmyk(29.7%, 0%, 54.6%, 2.4%)
CIE-LABlab(90.81, -44.89, 57.25)
CIE-LCHlch(90.81, 72.75, 128.10°)
OKLaboklab(90.54% -0.1248 0.135)
OKLCHoklch(90.54% 0.184 132.7)
XYZxyz(54.5346, 78.0558, 27.8125)
Luminance0.7806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF971 #BB71F9
analogous
#F3F971 #AFF971 #71F977
triadic
#AFF971 #71AFF9 #F971AF
tetradic
#AFF971 #71F3F9 #BB71F9 #F97771
square
#AFF971 #71F3F9 #BB71F9 #F97771
split-complementary
#AFF971 #7771F9 #F971F3
monochromatic
#6EE60A #8EF736 #AFF971 #D0FBAC #EEFEE2

Accessibility & contrast

On white

1.26
#AFF971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.61
#AFF971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF971
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF971#FFFFFF#000000##000000
##AFF9711.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#F8E37A
Tritanopia (blue-blind)
#B0F0DB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #aff971;
/* rgb */ color: rgb(175, 249, 113);
/* oklch */ color: oklch(90.5% 0.184 132.7);
Tailwind
colors: {
  custom: {
    50: '#cafb9d',
    500: '#aff971',
    950: '#000000',
  },
}
SCSS
$custom: #aff971;
$custom-light: #cafb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#aff971",
  "rgb": {
    "r": 175,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 92.647,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90538,
    "c": 0.18389,
    "h": 132.7
  },
  "luminance": 0.78058
}

Semantic roles & 50–950 ramp

primary
#AFF971
secondary
#8E3AD4
accent
#00E67D
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFF971

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

Preview Lab → · Contrast checker → · Palette generator →

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