#AFE79C#AFE79C

#AFE79C is a very light, moderate green. Relative luminance 0.687; OKLCH L 87.1% C 0.116 H 138.0°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#AFE79C
RGBrgb(175, 231, 156)
HSLhsl(105, 61%, 76%)
HSVhsv(105, 32%, 91%)
CMYKcmyk(24.2%, 0%, 32.5%, 9.4%)
CIE-LABlab(86.34, -31.51, 30.92)
CIE-LCHlch(86.34, 44.14, 135.54°)
OKLaboklab(87.11% -0.0859 0.0774)
OKLCHoklch(87.11% 0.116 138)
XYZxyz(52.2543, 68.6646, 41.9465)
Luminance0.6867 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE79C #D49CE7
analogous
#D4E79C #AFE79C #9CE7AE
triadic
#AFE79C #9CAFE7 #E79CAF
tetradic
#AFE79C #9CD4E7 #D49CE7 #E7AE9C
square
#AFE79C #9CD4E7 #D49CE7 #E7AE9C
split-complementary
#AFE79C #AE9CE7 #E79CD4
monochromatic
#5FCF39 #87DB6B #AFE79C #D7F3CD #EBF9E6

Accessibility & contrast

On white

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

On black

14.73
#AFE79C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE79C
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE79C#FFFFFF#000000##000000
##AFE79C1.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDB97
Deuteranopia (green-blind)
#E3D6A0
Tritanopia (blue-blind)
#ADE2D4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe79c;
/* rgb */ color: rgb(175, 231, 156);
/* oklch */ color: oklch(87.1% 0.116 138.0);
Tailwind
colors: {
  custom: {
    50: '#c8efb9',
    500: '#afe79c',
    950: '#000000',
  },
}
SCSS
$custom: #afe79c;
$custom-light: #c8efb9;
$custom-dark: #000000;
JSON
{
  "hex": "#afe79c",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 156
  },
  "hsl": {
    "h": 104.8,
    "s": 60.976,
    "l": 75.882
  },
  "oklch": {
    "l": 0.87113,
    "c": 0.11562,
    "h": 138
  },
  "luminance": 0.68666
}

Semantic roles & 50–950 ramp

primary
#AFE79C
secondary
#AA66C1
accent
#1DC99D
background
#FDFFFD
surface
#F9FEF8
border
#D2D6D1
text
#131611
muted
#828581

Preview Lab

Preview with #AFE79C

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

Preview Lab → · Contrast checker → · Palette generator →

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