#AFFA71#AFFA71

#AFFA71 is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 90.8% C 0.185 H 132.9°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#AFFA71
RGBrgb(175, 250, 113)
HSLhsl(93, 93%, 71%)
HSVhsv(93, 55%, 98%)
CMYKcmyk(30%, 0%, 54.8%, 2%)
CIE-LABlab(91.09, -45.32, 57.58)
CIE-LCHlch(91.09, 73.27, 128.21°)
OKLaboklab(90.77% -0.126 0.1358)
OKLCHoklch(90.77% 0.185 132.9)
XYZxyz(54.8445, 78.6756, 27.9158)
Luminance0.7868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA71 #BC71FA
analogous
#F3FA71 #AFFA71 #71FA77
triadic
#AFFA71 #71AFFA #FA71AF
tetradic
#AFFA71 #71F3FA #BC71FA #FA7771
square
#AFFA71 #71F3FA #BC71FA #FA7771
split-complementary
#AFFA71 #7771FA #FA71F3
monochromatic
#6EE808 #8EF836 #AFFA71 #D0FCAC #EEFEE1

Accessibility & contrast

On white

1.25
#AFFA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#AFFA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA71
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA71#FFFFFF#000000##000000
##AFFA711.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #affa71;
/* rgb */ color: rgb(175, 250, 113);
/* oklch */ color: oklch(90.8% 0.185 132.9);
Tailwind
colors: {
  custom: {
    50: '#cafc9d',
    500: '#affa71',
    950: '#000000',
  },
}
SCSS
$custom: #affa71;
$custom-light: #cafc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#affa71",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 113
  },
  "hsl": {
    "h": 92.847,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90767,
    "c": 0.18522,
    "h": 132.9
  },
  "luminance": 0.78677
}

Semantic roles & 50–950 ramp

primary
#AFFA71
secondary
#8F3AD5
accent
#00E67E
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFFA71

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

Preview Lab → · Contrast checker → · Palette generator →

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