#AFFC71#AFFC71

#AFFC71 is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.2% C 0.188 H 133.1°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#AFFC71
RGBrgb(175, 252, 113)
HSLhsl(93, 96%, 72%)
HSVhsv(93, 55%, 99%)
CMYKcmyk(30.6%, 0%, 55.2%, 1.2%)
CIE-LABlab(91.65, -46.18, 58.23)
CIE-LCHlch(91.65, 74.32, 128.41°)
OKLaboklab(91.23% -0.1284 0.1372)
OKLCHoklch(91.23% 0.188 133.1)
XYZxyz(55.4693, 79.9251, 28.1241)
Luminance0.7993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC71 #BE71FC
analogous
#F5FC71 #AFFC71 #71FC79
triadic
#AFFC71 #71AFFC #FC71AF
tetradic
#AFFC71 #71F5FC #BE71FC #FC7971
square
#AFFC71 #71F5FC #BE71FC #FC7971
split-complementary
#AFFC71 #7971FC #FC71F5
monochromatic
#6DEE05 #8DFB35 #AFFC71 #D1FDAD #EEFEE1

Accessibility & contrast

On white

1.24
#AFFC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#AFFC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC71
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC71#FFFFFF#000000##000000
##AFFC711.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB63
Deuteranopia (green-blind)
#FAE57B
Tritanopia (blue-blind)
#B0F3DD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affc71;
/* rgb */ color: rgb(175, 252, 113);
/* oklch */ color: oklch(91.2% 0.188 133.1);
Tailwind
colors: {
  custom: {
    50: '#cafe9d',
    500: '#affc71',
    950: '#000000',
  },
}
SCSS
$custom: #affc71;
$custom-light: #cafe9d;
$custom-dark: #000000;
JSON
{
  "hex": "#affc71",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 113
  },
  "hsl": {
    "h": 93.237,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91225,
    "c": 0.18787,
    "h": 133.1
  },
  "luminance": 0.79927
}

Semantic roles & 50–950 ramp

primary
#AFFC71
secondary
#9139D8
accent
#00E67F
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFC71

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

Preview Lab → · Contrast checker → · Palette generator →

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