#AFFB71#AFFB71

#AFFB71 is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.0% C 0.187 H 133.0°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#AFFB71
RGBrgb(175, 251, 113)
HSLhsl(93, 95%, 71%)
HSVhsv(93, 55%, 98%)
CMYKcmyk(30.3%, 0%, 55%, 1.6%)
CIE-LABlab(91.37, -45.75, 57.91)
CIE-LCHlch(91.37, 73.80, 128.31°)
OKLaboklab(91% -0.1272 0.1365)
OKLCHoklch(91% 0.187 133)
XYZxyz(55.1561, 79.2987, 28.0197)
Luminance0.7930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB71 #BD71FB
analogous
#F4FB71 #AFFB71 #71FB78
triadic
#AFFB71 #71AFFB #FB71AF
tetradic
#AFFB71 #71F4FB #BD71FB #FB7871
square
#AFFB71 #71F4FB #BD71FB #FB7871
split-complementary
#AFFB71 #7871FB #FB71F4
monochromatic
#6DEB07 #8DF935 #AFFB71 #D1FDAD #EEFEE1

Accessibility & contrast

On white

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

On black

16.86
#AFFB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB71
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB71#FFFFFF#000000##000000
##AFFB711.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA63
Deuteranopia (green-blind)
#F9E47B
Tritanopia (blue-blind)
#B0F2DC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #affb71;
/* rgb */ color: rgb(175, 251, 113);
/* oklch */ color: oklch(91.0% 0.187 133.0);
Tailwind
colors: {
  custom: {
    50: '#cafd9d',
    500: '#affb71',
    950: '#000000',
  },
}
SCSS
$custom: #affb71;
$custom-light: #cafd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#affb71",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 113
  },
  "hsl": {
    "h": 93.043,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.90996,
    "c": 0.18654,
    "h": 133
  },
  "luminance": 0.79301
}

Semantic roles & 50–950 ramp

primary
#AFFB71
secondary
#9039D7
accent
#00E67E
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFFB71

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

Preview Lab → · Contrast checker → · Palette generator →

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