#AFE796#AFE796

#AFE796 is a very light, vivid green. Relative luminance 0.685; OKLCH L 87.0% C 0.122 H 136.4°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#AFE796
RGBrgb(175, 231, 150)
HSLhsl(101, 63%, 75%)
HSVhsv(101, 35%, 91%)
CMYKcmyk(24.2%, 0%, 35.1%, 9.4%)
CIE-LABlab(86.24, -32.38, 33.83)
CIE-LCHlch(86.24, 46.83, 133.75°)
OKLaboklab(87% -0.0884 0.0842)
OKLCHoklch(87% 0.122 136.4)
XYZxyz(51.7587, 68.4663, 39.3366)
Luminance0.6847 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE796 #CE96E7
analogous
#D8E796 #AFE796 #96E7A5
triadic
#AFE796 #96AFE7 #E796AF
tetradic
#AFE796 #96D8E7 #CE96E7 #E7A596
square
#AFE796 #96D8E7 #CE96E7 #E7A596
split-complementary
#AFE796 #A596E7 #E796D8
monochromatic
#63D032 #89DC64 #AFE796 #D5F2C8 #ECF9E6

Accessibility & contrast

On white

1.43
#AFE796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#AFE796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE796
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE796#FFFFFF#000000##000000
##AFE7961.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDB90
Deuteranopia (green-blind)
#E4D69A
Tritanopia (blue-blind)
#AEE1D2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe796;
/* rgb */ color: rgb(175, 231, 150);
/* oklch */ color: oklch(87.0% 0.122 136.4);
Tailwind
colors: {
  custom: {
    50: '#c8efb5',
    500: '#afe796',
    950: '#000000',
  },
}
SCSS
$custom: #afe796;
$custom-light: #c8efb5;
$custom-dark: #000000;
JSON
{
  "hex": "#afe796",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 150
  },
  "hsl": {
    "h": 101.481,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.87001,
    "c": 0.12204,
    "h": 136.4
  },
  "luminance": 0.68468
}

Semantic roles & 50–950 ramp

primary
#AFE796
secondary
#A360C1
accent
#1BCB94
background
#FDFFFD
surface
#F9FEF8
border
#D2D6D1
text
#131611
muted
#828581

Preview Lab

Preview with #AFE796

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

Preview Lab → · Contrast checker → · Palette generator →

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