#AFFC96#AFFC96

#AFFC96 is a very light, vivid green. Relative luminance 0.809; OKLCH L 91.7% C 0.153 H 138.3°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#AFFC96
RGBrgb(175, 252, 150)
HSLhsl(105, 94%, 79%)
HSVhsv(105, 40%, 99%)
CMYKcmyk(30.6%, 0%, 40.5%, 1.2%)
CIE-LABlab(92.10, -41.88, 41.48)
CIE-LCHlch(92.10, 58.94, 135.28°)
OKLaboklab(91.74% -0.1145 0.102)
OKLCHoklch(91.74% 0.153 138.3)
XYZxyz(57.9928, 80.9345, 41.4146)
Luminance0.8094 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC96 #E396FC
analogous
#E2FC96 #AFFC96 #96FCB0
triadic
#AFFC96 #96AFFC #FC96AF
tetradic
#AFFC96 #96E2FC #E396FC #FCB096
square
#AFFC96 #96E2FC #E396FC #FCB096
split-complementary
#AFFC96 #B096FC #FC96E2
monochromatic
#54F91F #82FA5B #AFFC96 #DCFED2 #E8FEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFFC96#FFFFFF#000000##000000
##AFFC961.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)
#FFED8E
Deuteranopia (green-blind)
#F6E69C
Tritanopia (blue-blind)
#ABF6E3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affc96;
/* rgb */ color: rgb(175, 252, 150);
/* oklch */ color: oklch(91.7% 0.153 138.3);
Tailwind
colors: {
  custom: {
    50: '#c9fdb6',
    500: '#affc96',
    950: '#000000',
  },
}
SCSS
$custom: #affc96;
$custom-light: #c9fdb6;
$custom-dark: #000000;
JSON
{
  "hex": "#affc96",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 150
  },
  "hsl": {
    "h": 105.294,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.91738,
    "c": 0.15335,
    "h": 138.3
  },
  "luminance": 0.80937
}

Semantic roles & 50–950 ramp

primary
#AFFC96
secondary
#BD59DD
accent
#00E6AD
background
#FEFFFD
surface
#FAFFF8
border
#D3D7D1
text
#131811
muted
#838681

Preview Lab

Preview with #AFFC96

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

Preview Lab → · Contrast checker → · Palette generator →

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