#AFE7BC#AFE7BC

#AFE7BC is a very light, moderate green. Relative luminance 0.699; OKLCH L 87.8% C 0.082 H 151.6°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#AFE7BC
RGBrgb(175, 231, 188)
HSLhsl(134, 54%, 80%)
HSVhsv(134, 24%, 91%)
CMYKcmyk(24.2%, 0%, 18.6%, 9.4%)
CIE-LABlab(86.95, -26.24, 15.23)
CIE-LCHlch(86.95, 30.34, 149.87°)
OKLaboklab(87.8% -0.0723 0.0392)
OKLCHoklch(87.8% 0.082 151.6)
XYZxyz(55.3296, 69.8947, 58.1430)
Luminance0.6990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE7BC #E7AFDA
analogous
#BEE7AF #AFE7BC #AFE7D8
triadic
#AFE7BC #BCAFE7 #E7BCAF
tetradic
#AFE7BC #AFBEE7 #E7AFDA #E7D8AF
square
#AFE7BC #AFBEE7 #E7AFDA #E7D8AF
split-complementary
#AFE7BC #D8AFE7 #E7AFBE
monochromatic
#51CB6D #80D995 #AFE7BC #DEF5E3 #E7F8EB

Accessibility & contrast

On white

1.40
#AFE7BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.98
#AFE7BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE7BC
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE7BC#FFFFFF#000000##000000
##AFE7BC1.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8DEBA
Deuteranopia (green-blind)
#DED7BE
Tritanopia (blue-blind)
#A7E5DB
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afe7bc;
/* rgb */ color: rgb(175, 231, 188);
/* oklch */ color: oklch(87.8% 0.082 151.6);
Tailwind
colors: {
  custom: {
    50: '#c8eed0',
    500: '#afe7bc',
    950: '#000000',
  },
}
SCSS
$custom: #afe7bc;
$custom-light: #c8eed0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe7bc",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 188
  },
  "hsl": {
    "h": 133.929,
    "s": 53.846,
    "l": 79.608
  },
  "oklch": {
    "l": 0.87801,
    "c": 0.08229,
    "h": 151.6
  },
  "luminance": 0.69897
}

Semantic roles & 50–950 ramp

primary
#AFE7BC
secondary
#C278B1
accent
#249DC1
background
#FDFFFE
surface
#F9FEFB
border
#D2D6D4
text
#131614
muted
#828583

Preview Lab

Preview with #AFE7BC

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

Preview Lab → · Contrast checker → · Palette generator →

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