#AFFE97#AFFE97

#AFFE97 is a very light, vivid green. Relative luminance 0.822; OKLCH L 92.2% C 0.155 H 138.6°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#AFFE97
RGBrgb(175, 254, 151)
HSLhsl(106, 98%, 79%)
HSVhsv(106, 41%, 100%)
CMYKcmyk(31.1%, 0%, 40.6%, 0.4%)
CIE-LABlab(92.68, -42.62, 41.73)
CIE-LCHlch(92.68, 59.65, 135.61°)
OKLaboklab(92.21% -0.1165 0.1026)
OKLCHoklch(92.21% 0.155 138.6)
XYZxyz(58.7050, 82.2296, 42.0509)
Luminance0.8223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE97 #E697FE
analogous
#E3FE97 #AFFE97 #97FEB3
triadic
#AFFE97 #97AFFE #FE97AF
tetradic
#AFFE97 #97E3FE #E697FE #FEB397
square
#AFFE97 #97E3FE #E697FE #FEB397
split-complementary
#AFFE97 #B397FE #FE97E3
monochromatic
#52FD1E #80FD5A #AFFE97 #DEFFD4 #E8FFE1

Accessibility & contrast

On white

1.20
#AFFE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.45
#AFFE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE97
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE97#FFFFFF#000000##000000
##AFFE971.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8F
Deuteranopia (green-blind)
#F8E79D
Tritanopia (blue-blind)
#ABF8E5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #affe97;
/* rgb */ color: rgb(175, 254, 151);
/* oklch */ color: oklch(92.2% 0.155 138.6);
Tailwind
colors: {
  custom: {
    50: '#c9ffb7',
    500: '#affe97',
    950: '#000000',
  },
}
SCSS
$custom: #affe97;
$custom-light: #c9ffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#affe97",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 151
  },
  "hsl": {
    "h": 106.019,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.92207,
    "c": 0.15526,
    "h": 138.6
  },
  "luminance": 0.82232
}

Semantic roles & 50–950 ramp

primary
#AFFE97
secondary
#C159E0
accent
#00E6B0
background
#FEFFFD
surface
#FAFFF8
border
#D3D7D1
text
#131811
muted
#838681

Preview Lab

Preview with #AFFE97

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

Preview Lab → · Contrast checker → · Palette generator →

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