#AFE296#AFE296

#AFE296 is a very light, moderate green. Relative luminance 0.657; OKLCH L 85.9% C 0.114 H 135.7°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#AFE296
RGBrgb(175, 226, 150)
HSLhsl(100, 57%, 74%)
HSVhsv(100, 34%, 89%)
CMYKcmyk(22.6%, 0%, 33.6%, 11.4%)
CIE-LABlab(84.85, -30.04, 31.99)
CIE-LCHlch(84.85, 43.88, 133.20°)
OKLaboklab(85.88% -0.0819 0.0798)
OKLCHoklch(85.88% 0.114 135.7)
XYZxyz(50.3793, 65.7074, 38.8767)
Luminance0.6571 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE296 #C996E2
analogous
#D5E296 #AFE296 #96E2A3
triadic
#AFE296 #96AFE2 #E296AF
tetradic
#AFE296 #96D5E2 #C996E2 #E2A396
square
#AFE296 #96D5E2 #C996E2 #E2A396
split-complementary
#AFE296 #A396E2 #E296D5
monochromatic
#66C737 #8AD566 #AFE296 #D4EFC6 #EDF8E7

Accessibility & contrast

On white

1.48
#AFE296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#AFE296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE296
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE296#FFFFFF#000000##000000
##AFE2961.001.4814.1414.14
#FFFFFF1.481.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D791
Deuteranopia (green-blind)
#E0D29A
Tritanopia (blue-blind)
#AEDCCE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe296;
/* rgb */ color: rgb(175, 226, 150);
/* oklch */ color: oklch(85.9% 0.114 135.7);
Tailwind
colors: {
  custom: {
    50: '#c8ebb5',
    500: '#afe296',
    950: '#000000',
  },
}
SCSS
$custom: #afe296;
$custom-light: #c8ebb5;
$custom-dark: #000000;
JSON
{
  "hex": "#afe296",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 150
  },
  "hsl": {
    "h": 100.263,
    "s": 56.716,
    "l": 73.725
  },
  "oklch": {
    "l": 0.8588,
    "c": 0.11436,
    "h": 135.7
  },
  "luminance": 0.65709
}

Semantic roles & 50–950 ramp

primary
#AFE296
secondary
#9D61BB
accent
#21C48F
background
#FDFEFD
surface
#F9FDF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFE296

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

Preview Lab → · Contrast checker → · Palette generator →

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