#AFFD97#AFFD97

#AFFD97 is a very light, vivid green. Relative luminance 0.816; OKLCH L 92.0% C 0.154 H 138.6°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#AFFD97
RGBrgb(175, 253, 151)
HSLhsl(106, 96%, 79%)
HSVhsv(106, 40%, 99%)
CMYKcmyk(30.8%, 0%, 40.3%, 0.8%)
CIE-LABlab(92.40, -42.18, 41.37)
CIE-LCHlch(92.40, 59.08, 135.56°)
OKLaboklab(91.98% -0.1153 0.1017)
OKLCHoklch(91.98% 0.154 138.6)
XYZxyz(58.3885, 81.5965, 41.9454)
Luminance0.8160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFD97 #E597FD
analogous
#E2FD97 #AFFD97 #97FDB2
triadic
#AFFD97 #97AFFD #FD97AF
tetradic
#AFFD97 #97E2FD #E597FD #FDB297
square
#AFFD97 #97E2FD #E597FD #FDB297
split-complementary
#AFFD97 #B297FD #FD97E2
monochromatic
#53FB1F #81FC5B #AFFD97 #DDFED3 #E8FEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFFD97#FFFFFF#000000##000000
##AFFD971.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)
#FFEE8F
Deuteranopia (green-blind)
#F7E79D
Tritanopia (blue-blind)
#ABF7E4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affd97;
/* rgb */ color: rgb(175, 253, 151);
/* oklch */ color: oklch(92.0% 0.154 138.6);
Tailwind
colors: {
  custom: {
    50: '#c9feb7',
    500: '#affd97',
    950: '#000000',
  },
}
SCSS
$custom: #affd97;
$custom-light: #c9feb7;
$custom-dark: #000000;
JSON
{
  "hex": "#affd97",
  "rgb": {
    "r": 175,
    "g": 253,
    "b": 151
  },
  "hsl": {
    "h": 105.882,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.91981,
    "c": 0.15381,
    "h": 138.6
  },
  "luminance": 0.81599
}

Semantic roles & 50–950 ramp

primary
#AFFD97
secondary
#BF59DF
accent
#00E6AF
background
#FEFFFD
surface
#FAFFF8
border
#D3D7D1
text
#131811
muted
#838681

Preview Lab

Preview with #AFFD97

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

Preview Lab → · Contrast checker → · Palette generator →

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