#AFE79B#AFE79B

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

Color values

HEX#AFE79B
RGBrgb(175, 231, 155)
HSLhsl(104, 61%, 76%)
HSVhsv(104, 33%, 91%)
CMYKcmyk(24.2%, 0%, 32.9%, 9.4%)
CIE-LABlab(86.32, -31.65, 31.40)
CIE-LCHlch(86.32, 44.59, 135.23°)
OKLaboklab(87.09% -0.0863 0.0786)
OKLCHoklch(87.09% 0.117 137.7)
XYZxyz(52.1700, 68.6308, 41.5024)
Luminance0.6863 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE79B #D39BE7
analogous
#D5E79B #AFE79B #9BE7AD
triadic
#AFE79B #9BAFE7 #E79BAF
tetradic
#AFE79B #9BD5E7 #D39BE7 #E7AD9B
square
#AFE79B #9BD5E7 #D39BE7 #E7AD9B
split-complementary
#AFE79B #AD9BE7 #E79BD5
monochromatic
#60CF38 #88DB6A #AFE79B #D6F3CC #EBF9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE79B#FFFFFF#000000##000000
##AFE79B1.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)
#ECDB96
Deuteranopia (green-blind)
#E3D69F
Tritanopia (blue-blind)
#ADE2D3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe79b;
/* rgb */ color: rgb(175, 231, 155);
/* oklch */ color: oklch(87.1% 0.117 137.7);
Tailwind
colors: {
  custom: {
    50: '#c8efb9',
    500: '#afe79b',
    950: '#000000',
  },
}
SCSS
$custom: #afe79b;
$custom-light: #c8efb9;
$custom-dark: #000000;
JSON
{
  "hex": "#afe79b",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 155
  },
  "hsl": {
    "h": 104.211,
    "s": 61.29,
    "l": 75.686
  },
  "oklch": {
    "l": 0.87094,
    "c": 0.11669,
    "h": 137.7
  },
  "luminance": 0.68632
}

Semantic roles & 50–950 ramp

primary
#AFE79B
secondary
#A965C1
accent
#1DC99C
background
#FDFFFD
surface
#F9FEF8
border
#D2D6D1
text
#131611
muted
#828581

Preview Lab

Preview with #AFE79B

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

Preview Lab → · Contrast checker → · Palette generator →

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