#AFE79D#AFE79D

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

Color values

HEX#AFE79D
RGBrgb(175, 231, 157)
HSLhsl(105, 61%, 76%)
HSVhsv(105, 32%, 91%)
CMYKcmyk(24.2%, 0%, 32%, 9.4%)
CIE-LABlab(86.35, -31.36, 30.43)
CIE-LCHlch(86.35, 43.70, 135.86°)
OKLaboklab(87.13% -0.0854 0.0763)
OKLCHoklch(87.13% 0.115 138.2)
XYZxyz(52.3393, 68.6986, 42.3943)
Luminance0.6870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE79D #D59DE7
analogous
#D4E79D #AFE79D #9DE7B0
triadic
#AFE79D #9DAFE7 #E79DAF
tetradic
#AFE79D #9DD4E7 #D59DE7 #E7B09D
square
#AFE79D #9DD4E7 #D59DE7 #E7B09D
split-complementary
#AFE79D #B09DE7 #E79DD4
monochromatic
#5FCF3B #87DB6C #AFE79D #D7F3CE #EBF9E6

Accessibility & contrast

On white

1.42
#AFE79D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#AFE79D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE79D
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE79D#FFFFFF#000000##000000
##AFE79D1.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe79d;
/* rgb */ color: rgb(175, 231, 157);
/* oklch */ color: oklch(87.1% 0.115 138.2);
Tailwind
colors: {
  custom: {
    50: '#c8efba',
    500: '#afe79d',
    950: '#000000',
  },
}
SCSS
$custom: #afe79d;
$custom-light: #c8efba;
$custom-dark: #000000;
JSON
{
  "hex": "#afe79d",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 157
  },
  "hsl": {
    "h": 105.405,
    "s": 60.656,
    "l": 76.078
  },
  "oklch": {
    "l": 0.87132,
    "c": 0.11454,
    "h": 138.2
  },
  "luminance": 0.687
}

Semantic roles & 50–950 ramp

primary
#AFE79D
secondary
#AB67C1
accent
#1DC89F
background
#FDFFFD
surface
#F9FEF8
border
#D2D6D1
text
#131611
muted
#828581

Preview Lab

Preview with #AFE79D

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

Preview Lab → · Contrast checker → · Palette generator →

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