#AFFF97#AFFF97

#AFFF97 is a very light, vivid green. Relative luminance 0.829; OKLCH L 92.4% C 0.157 H 138.7°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#AFFF97
RGBrgb(175, 255, 151)
HSLhsl(106, 100%, 80%)
HSVhsv(106, 41%, 100%)
CMYKcmyk(31.4%, 0%, 40.8%, 0%)
CIE-LABlab(92.96, -43.06, 42.09)
CIE-LCHlch(92.96, 60.21, 135.66°)
OKLaboklab(92.43% -0.1177 0.1034)
OKLCHoklch(92.43% 0.157 138.7)
XYZxyz(59.0232, 82.8659, 42.1570)
Luminance0.8287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF97 #E797FF
analogous
#E3FF97 #AFFF97 #97FFB3
triadic
#AFFF97 #97AFFF #FF97AF
tetradic
#AFFF97 #97E3FF #E797FF #FFB397
square
#AFFF97 #97E3FF #E797FF #FFB397
split-complementary
#AFFF97 #B397FF #FF97E3
monochromatic
#51FF1D #80FF5A #AFFF97 #DEFFD4 #E7FFE0

Accessibility & contrast

On white

1.19
#AFFF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.57
#AFFF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF97
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF97#FFFFFF#000000##000000
##AFFF971.001.1917.5717.57
#FFFFFF1.191.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8F
Deuteranopia (green-blind)
#F9E89D
Tritanopia (blue-blind)
#ABF8E6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #afff97;
/* rgb */ color: rgb(175, 255, 151);
/* oklch */ color: oklch(92.4% 0.157 138.7);
Tailwind
colors: {
  custom: {
    50: '#c9ffb7',
    500: '#afff97',
    950: '#000000',
  },
}
SCSS
$custom: #afff97;
$custom-light: #c9ffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#afff97",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 151
  },
  "hsl": {
    "h": 106.154,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.92434,
    "c": 0.1567,
    "h": 138.7
  },
  "luminance": 0.82868
}

Semantic roles & 50–950 ramp

primary
#AFFF97
secondary
#C259E2
accent
#00E6B1
background
#FEFFFD
surface
#FAFFF8
border
#D3D7D1
text
#131811
muted
#838681

Preview Lab

Preview with #AFFF97

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

Preview Lab → · Contrast checker → · Palette generator →

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