#AFE08E#AFE08E

#AFE08E is a very light, moderate yellow-green. Relative luminance 0.644; OKLCH L 85.3% C 0.120 H 133.5°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#AFE08E
RGBrgb(175, 224, 142)
HSLhsl(96, 57%, 72%)
HSVhsv(96, 37%, 88%)
CMYKcmyk(21.9%, 0%, 36.6%, 12.2%)
CIE-LABlab(84.16, -30.22, 35.14)
CIE-LCHlch(84.16, 46.35, 130.70°)
OKLaboklab(85.29% -0.0826 0.087)
OKLCHoklch(85.29% 0.12 133.5)
XYZxyz(49.2163, 64.3771, 35.4190)
Luminance0.6438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE08E #BF8EE0
analogous
#D8E08E #AFE08E #8EE096
triadic
#AFE08E #8EAFE0 #E08EAF
tetradic
#AFE08E #8ED8E0 #BF8EE0 #E0968E
square
#AFE08E #8ED8E0 #BF8EE0 #E0968E
split-complementary
#AFE08E #968EE0 #E08ED8
monochromatic
#6CBF34 #8DD35E #AFE08E #D1EDBE #EEF8E7

Accessibility & contrast

On white

1.51
#AFE08E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#AFE08E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE08E
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE08E#FFFFFF#000000##000000
##AFE08E1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D588
Deuteranopia (green-blind)
#DFD192
Tritanopia (blue-blind)
#B0DACB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe08e;
/* rgb */ color: rgb(175, 224, 142);
/* oklch */ color: oklch(85.3% 0.120 133.5);
Tailwind
colors: {
  custom: {
    50: '#c8eab0',
    500: '#afe08e',
    950: '#000000',
  },
}
SCSS
$custom: #afe08e;
$custom-light: #c8eab0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe08e",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 142
  },
  "hsl": {
    "h": 95.854,
    "s": 56.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85287,
    "c": 0.11999,
    "h": 133.5
  },
  "luminance": 0.64378
}

Semantic roles & 50–950 ramp

primary
#AFE08E
secondary
#925AB8
accent
#21C583
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE08E

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

Preview Lab → · Contrast checker → · Palette generator →

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