#AFF796#AFF796

#AFF796 is a very light, vivid green. Relative luminance 0.778; OKLCH L 90.6% C 0.146 H 138.0°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#AFF796
RGBrgb(175, 247, 150)
HSLhsl(105, 86%, 78%)
HSVhsv(105, 39%, 97%)
CMYKcmyk(29.1%, 0%, 39.3%, 3.1%)
CIE-LABlab(90.70, -39.66, 39.67)
CIE-LCHlch(90.70, 56.10, 135.00°)
OKLaboklab(90.61% -0.1084 0.0978)
OKLCHoklch(90.61% 0.146 138)
XYZxyz(56.4433, 77.8354, 40.8981)
Luminance0.7784 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF796 #DE96F7
analogous
#E0F796 #AFF796 #96F7AD
triadic
#AFF796 #96AFF7 #F796AF
tetradic
#AFF796 #96E0F7 #DE96F7 #F7AD96
square
#AFF796 #96E0F7 #DE96F7 #F7AD96
split-complementary
#AFF796 #AD96F7 #F796E0
monochromatic
#58EE24 #84F35D #AFF796 #DAFBCF #E9FDE3

Accessibility & contrast

On white

1.27
#AFF796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#AFF796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF796
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF796#FFFFFF#000000##000000
##AFF7961.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE88F
Deuteranopia (green-blind)
#F2E29C
Tritanopia (blue-blind)
#ACF1DF
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff796;
/* rgb */ color: rgb(175, 247, 150);
/* oklch */ color: oklch(90.6% 0.146 138.0);
Tailwind
colors: {
  custom: {
    50: '#c9fab6',
    500: '#aff796',
    950: '#000000',
  },
}
SCSS
$custom: #aff796;
$custom-light: #c9fab6;
$custom-dark: #000000;
JSON
{
  "hex": "#aff796",
  "rgb": {
    "r": 175,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 104.536,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.90606,
    "c": 0.14603,
    "h": 138
  },
  "luminance": 0.77837
}

Semantic roles & 50–950 ramp

primary
#AFF796
secondary
#B65BD6
accent
#03E2A9
background
#FEFFFD
surface
#FAFFF8
border
#D3D7D1
text
#131711
muted
#838581

Preview Lab

Preview with #AFF796

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

Preview Lab → · Contrast checker → · Palette generator →

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