#AFFC97#AFFC97

#AFFC97 is a very light, vivid green. Relative luminance 0.810; OKLCH L 91.8% C 0.152 H 138.5°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#AFFC97
RGBrgb(175, 252, 151)
HSLhsl(106, 94%, 79%)
HSVhsv(106, 40%, 99%)
CMYKcmyk(30.6%, 0%, 40.1%, 1.2%)
CIE-LABlab(92.12, -41.74, 41.00)
CIE-LCHlch(92.12, 58.51, 135.51°)
OKLaboklab(91.75% -0.1141 0.1009)
OKLCHoklch(91.75% 0.152 138.5)
XYZxyz(58.0737, 80.9668, 41.8405)
Luminance0.8097 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC97 #E497FC
analogous
#E1FC97 #AFFC97 #97FCB2
triadic
#AFFC97 #97AFFC #FC97AF
tetradic
#AFFC97 #97E1FC #E497FC #FCB297
square
#AFFC97 #97E1FC #E497FC #FCB297
split-complementary
#AFFC97 #B297FC #FC97E1
monochromatic
#53F920 #81FA5C #AFFC97 #DDFED2 #E8FEE1

Accessibility & contrast

On white

1.22
#AFFC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.19
#AFFC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC97
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC97#FFFFFF#000000##000000
##AFFC971.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED90
Deuteranopia (green-blind)
#F6E69D
Tritanopia (blue-blind)
#ABF6E3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affc97;
/* rgb */ color: rgb(175, 252, 151);
/* oklch */ color: oklch(91.8% 0.152 138.5);
Tailwind
colors: {
  custom: {
    50: '#c9fdb7',
    500: '#affc97',
    950: '#000000',
  },
}
SCSS
$custom: #affc97;
$custom-light: #c9fdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#affc97",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 151
  },
  "hsl": {
    "h": 105.743,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.91754,
    "c": 0.15235,
    "h": 138.5
  },
  "luminance": 0.80969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFFC97

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

Preview Lab → · Contrast checker → · Palette generator →

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