#AFE888#AFE888

#AFE888 is a very light, vivid yellow-green. Relative luminance 0.686; OKLCH L 87.0% C 0.138 H 133.6°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#AFE888
RGBrgb(175, 232, 136)
HSLhsl(96, 68%, 72%)
HSVhsv(96, 41%, 91%)
CMYKcmyk(24.6%, 0%, 41.4%, 9%)
CIE-LABlab(86.31, -34.74, 40.91)
CIE-LCHlch(86.31, 53.67, 130.33°)
OKLaboklab(86.99% -0.0953 0.1002)
OKLCHoklch(86.99% 0.138 133.6)
XYZxyz(50.9787, 68.6034, 33.8437)
Luminance0.6861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE888 #C188E8
analogous
#DFE888 #AFE888 #88E891
triadic
#AFE888 #88AFE8 #E888AF
tetradic
#AFE888 #88DFE8 #C188E8 #E89188
square
#AFE888 #88DFE8 #C188E8 #E89188
split-complementary
#AFE888 #9188E8 #E888DF
monochromatic
#6BCE28 #8DDE55 #AFE888 #D1F2BB #EEFAE5

Accessibility & contrast

On white

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

On black

14.72
#AFE888 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE888
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE888#FFFFFF#000000##000000
##AFE8881.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB81
Deuteranopia (green-blind)
#E7D68D
Tritanopia (blue-blind)
#B0E1D1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe888;
/* rgb */ color: rgb(175, 232, 136);
/* oklch */ color: oklch(87.0% 0.138 133.6);
Tailwind
colors: {
  custom: {
    50: '#c8efac',
    500: '#afe888',
    950: '#000000',
  },
}
SCSS
$custom: #afe888;
$custom-light: #c8efac;
$custom-dark: #000000;
JSON
{
  "hex": "#afe888",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 136
  },
  "hsl": {
    "h": 95.625,
    "s": 67.606,
    "l": 72.157
  },
  "oklch": {
    "l": 0.86987,
    "c": 0.13827,
    "h": 133.6
  },
  "luminance": 0.68605
}

Semantic roles & 50–950 ramp

primary
#AFE888
secondary
#9453C1
accent
#16D084
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE888

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

Preview Lab → · Contrast checker → · Palette generator →

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