#AFE588#AFE588

#AFE588 is a very light, vivid yellow-green. Relative luminance 0.669; OKLCH L 86.3% C 0.134 H 133.1°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#AFE588
RGBrgb(175, 229, 136)
HSLhsl(95, 64%, 72%)
HSVhsv(95, 41%, 90%)
CMYKcmyk(23.6%, 0%, 40.6%, 10.2%)
CIE-LABlab(85.47, -33.35, 39.84)
CIE-LCHlch(85.47, 51.96, 129.94°)
OKLaboklab(86.31% -0.0915 0.0977)
OKLCHoklch(86.31% 0.134 133.1)
XYZxyz(50.1414, 66.9289, 33.5646)
Luminance0.6693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE588 #BE88E5
analogous
#DEE588 #AFE588 #88E590
triadic
#AFE588 #88AFE5 #E588AF
tetradic
#AFE588 #88DEE5 #BE88E5 #E59088
square
#AFE588 #88DEE5 #BE88E5 #E59088
split-complementary
#AFE588 #9088E5 #E588DE
monochromatic
#6DC72C #8DDA56 #AFE588 #D1F0BA #EEFAE6

Accessibility & contrast

On white

1.46
#AFE588 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#AFE588 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE588
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE588#FFFFFF#000000##000000
##AFE5881.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD881
Deuteranopia (green-blind)
#E4D48D
Tritanopia (blue-blind)
#B0DECE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe588;
/* rgb */ color: rgb(175, 229, 136);
/* oklch */ color: oklch(86.3% 0.134 133.1);
Tailwind
colors: {
  custom: {
    50: '#c8edac',
    500: '#afe588',
    950: '#000000',
  },
}
SCSS
$custom: #afe588;
$custom-light: #c8edac;
$custom-dark: #000000;
JSON
{
  "hex": "#afe588",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 136
  },
  "hsl": {
    "h": 94.839,
    "s": 64.138,
    "l": 71.569
  },
  "oklch": {
    "l": 0.8631,
    "c": 0.13386,
    "h": 133.1
  },
  "luminance": 0.6693
}

Semantic roles & 50–950 ramp

primary
#AFE588
secondary
#9153BE
accent
#1ACC81
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE588

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

Preview Lab → · Contrast checker → · Palette generator →

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