#AFFD71#AFFD71

#AFFD71 is a very light, vivid yellow-green. Relative luminance 0.806; OKLCH L 91.5% C 0.189 H 133.2°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#AFFD71
RGBrgb(175, 253, 113)
HSLhsl(93, 97%, 72%)
HSVhsv(93, 55%, 99%)
CMYKcmyk(30.8%, 0%, 55.3%, 0.8%)
CIE-LABlab(91.93, -46.60, 58.56)
CIE-LCHlch(91.93, 74.84, 128.51°)
OKLaboklab(91.45% -0.1295 0.1379)
OKLCHoklch(91.45% 0.189 133.2)
XYZxyz(55.7842, 80.5548, 28.2290)
Luminance0.8056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFD71 #BF71FD
analogous
#F5FD71 #AFFD71 #71FD79
triadic
#AFFD71 #71AFFD #FD71AF
tetradic
#AFFD71 #71F5FD #BF71FD #FD7971
square
#AFFD71 #71F5FD #BF71FD #FD7971
split-complementary
#AFFD71 #7971FD #FD71F5
monochromatic
#6CF003 #8DFC35 #AFFD71 #D1FEAD #EEFFE1

Accessibility & contrast

On white

1.23
#AFFD71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.11
#AFFD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFD71
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFD71#FFFFFF#000000##000000
##AFFD711.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC63
Deuteranopia (green-blind)
#FBE67B
Tritanopia (blue-blind)
#B0F4DE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affd71;
/* rgb */ color: rgb(175, 253, 113);
/* oklch */ color: oklch(91.5% 0.189 133.2);
Tailwind
colors: {
  custom: {
    50: '#cafe9e',
    500: '#affd71',
    950: '#000000',
  },
}
SCSS
$custom: #affd71;
$custom-light: #cafe9e;
$custom-dark: #000000;
JSON
{
  "hex": "#affd71",
  "rgb": {
    "r": 175,
    "g": 253,
    "b": 113
  },
  "hsl": {
    "h": 93.429,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91454,
    "c": 0.18919,
    "h": 133.2
  },
  "luminance": 0.80557
}

Semantic roles & 50–950 ramp

primary
#AFFD71
secondary
#9239D9
accent
#00E680
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFD71

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

Preview Lab → · Contrast checker → · Palette generator →

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