#AFFE81#AFFE81

#AFFE81 is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 91.9% C 0.176 H 135.1°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#AFFE81
RGBrgb(175, 254, 129)
HSLhsl(98, 98%, 75%)
HSVhsv(98, 49%, 100%)
CMYKcmyk(31.1%, 0%, 49.2%, 0.4%)
CIE-LABlab(92.39, -45.35, 51.86)
CIE-LCHlch(92.39, 68.89, 131.17°)
OKLaboklab(91.88% -0.125 0.1244)
OKLCHoklch(91.88% 0.176 135.1)
XYZxyz(57.0821, 81.5804, 33.5036)
Luminance0.8158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE81 #D081FE
analogous
#EDFE81 #AFFE81 #81FE91
triadic
#AFFE81 #81AFFE #FE81AF
tetradic
#AFFE81 #81EDFE #D081FE #FE9181
square
#AFFE81 #81EDFE #D081FE #FE9181
split-complementary
#AFFE81 #9181FE #FE81ED
monochromatic
#62FD08 #88FE44 #AFFE81 #D6FEBE #ECFFE1

Accessibility & contrast

On white

1.21
#AFFE81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.32
#AFFE81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE81
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE81#FFFFFF#000000##000000
##AFFE811.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED76
Deuteranopia (green-blind)
#FBE789
Tritanopia (blue-blind)
#AEF6E1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affe81;
/* rgb */ color: rgb(175, 254, 129);
/* oklch */ color: oklch(91.9% 0.176 135.1);
Tailwind
colors: {
  custom: {
    50: '#caffa8',
    500: '#affe81',
    950: '#000000',
  },
}
SCSS
$custom: #affe81;
$custom-light: #caffa8;
$custom-dark: #000000;
JSON
{
  "hex": "#affe81",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 129
  },
  "hsl": {
    "h": 97.92,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.91881,
    "c": 0.17637,
    "h": 135.1
  },
  "luminance": 0.81583
}

Semantic roles & 50–950 ramp

primary
#AFFE81
secondary
#A546DD
accent
#00E691
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141810
muted
#838681

Preview Lab

Preview with #AFFE81

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

Preview Lab → · Contrast checker → · Palette generator →

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