#AFE88D#AFE88D

#AFE88D is a very light, vivid yellow-green. Relative luminance 0.688; OKLCH L 87.1% C 0.133 H 134.5°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#AFE88D
RGBrgb(175, 232, 141)
HSLhsl(98, 66%, 73%)
HSVhsv(98, 39%, 91%)
CMYKcmyk(24.6%, 0%, 39.2%, 9%)
CIE-LABlab(86.38, -34.08, 38.53)
CIE-LCHlch(86.38, 51.44, 131.50°)
OKLaboklab(87.07% -0.0933 0.0949)
OKLCHoklch(87.07% 0.133 134.5)
XYZxyz(51.3424, 68.7489, 35.7589)
Luminance0.6875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE88D #C68DE8
analogous
#DDE88D #AFE88D #8DE898
triadic
#AFE88D #8DAFE8 #E88DAF
tetradic
#AFE88D #8DDDE8 #C68DE8 #E8988D
square
#AFE88D #8DDDE8 #C68DE8 #E8988D
split-complementary
#AFE88D #988DE8 #E88DDD
monochromatic
#68D12A #8BDE5A #AFE88D #D3F2C0 #EDFAE6

Accessibility & contrast

On white

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

On black

14.75
#AFE88D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE88D
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE88D#FFFFFF#000000##000000
##AFE88D1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB86
Deuteranopia (green-blind)
#E6D692
Tritanopia (blue-blind)
#AFE2D1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe88d;
/* rgb */ color: rgb(175, 232, 141);
/* oklch */ color: oklch(87.1% 0.133 134.5);
Tailwind
colors: {
  custom: {
    50: '#c8efaf',
    500: '#afe88d',
    950: '#000000',
  },
}
SCSS
$custom: #afe88d;
$custom-light: #c8efaf;
$custom-dark: #000000;
JSON
{
  "hex": "#afe88d",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 141
  },
  "hsl": {
    "h": 97.582,
    "s": 66.423,
    "l": 73.137
  },
  "oklch": {
    "l": 0.87069,
    "c": 0.13307,
    "h": 134.5
  },
  "luminance": 0.6875
}

Semantic roles & 50–950 ramp

primary
#AFE88D
secondary
#9A57C2
accent
#17CE8A
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE88D

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

Preview Lab → · Contrast checker → · Palette generator →

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