#AFFE98#AFFE98

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

Color values

HEX#AFFE98
RGBrgb(175, 254, 152)
HSLhsl(106, 98%, 80%)
HSVhsv(106, 40%, 100%)
CMYKcmyk(31.1%, 0%, 40.2%, 0.4%)
CIE-LABlab(92.69, -42.49, 41.26)
CIE-LCHlch(92.69, 59.22, 135.84°)
OKLaboklab(92.22% -0.1161 0.1015)
OKLCHoklch(92.22% 0.154 138.8)
XYZxyz(58.7866, 82.2622, 42.4804)
Luminance0.8226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE98 #E798FE
analogous
#E2FE98 #AFFE98 #98FEB4
triadic
#AFFE98 #98AFFE #FE98AF
tetradic
#AFFE98 #98E2FE #E798FE #FEB498
square
#AFFE98 #98E2FE #E798FE #FEB498
split-complementary
#AFFE98 #B498FE #FE98E2
monochromatic
#51FD1F #80FD5B #AFFE98 #DEFFD5 #E7FFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFFE98#FFFFFF#000000##000000
##AFFE981.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)
#FFEF90
Deuteranopia (green-blind)
#F8E79E
Tritanopia (blue-blind)
#ABF8E5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #affe98;
/* rgb */ color: rgb(175, 254, 152);
/* oklch */ color: oklch(92.2% 0.154 138.8);
Tailwind
colors: {
  custom: {
    50: '#c9ffb7',
    500: '#affe98',
    950: '#000000',
  },
}
SCSS
$custom: #affe98;
$custom-light: #c9ffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#affe98",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 152
  },
  "hsl": {
    "h": 106.471,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.92223,
    "c": 0.15427,
    "h": 138.8
  },
  "luminance": 0.82265
}

Semantic roles & 50–950 ramp

primary
#AFFE98
secondary
#C25AE0
accent
#00E6B2
background
#FEFFFD
surface
#FAFFF8
border
#D3D7D1
text
#131811
muted
#838681

Preview Lab

Preview with #AFFE98

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

Preview Lab → · Contrast checker → · Palette generator →

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