#AFE488#AFE488

#AFE488 is a very light, vivid yellow-green. Relative luminance 0.664; OKLCH L 86.1% C 0.132 H 133.0°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#AFE488
RGBrgb(175, 228, 136)
HSLhsl(95, 63%, 71%)
HSVhsv(95, 40%, 89%)
CMYKcmyk(23.2%, 0%, 40.4%, 10.6%)
CIE-LABlab(85.19, -32.89, 39.48)
CIE-LCHlch(85.19, 51.39, 129.80°)
OKLaboklab(86.09% -0.0902 0.0969)
OKLCHoklch(86.09% 0.132 133)
XYZxyz(49.8656, 66.3771, 33.4726)
Luminance0.6638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE488 #BD88E4
analogous
#DDE488 #AFE488 #88E48F
triadic
#AFE488 #88AFE4 #E488AF
tetradic
#AFE488 #88DDE4 #BD88E4 #E48F88
square
#AFE488 #88DDE4 #BD88E4 #E48F88
split-complementary
#AFE488 #8F88E4 #E488DD
monochromatic
#6DC52D #8DD956 #AFE488 #D1EFBA #EEF9E6

Accessibility & contrast

On white

1.47
#AFE488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#AFE488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE488
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE488#FFFFFF#000000##000000
##AFE4881.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD881
Deuteranopia (green-blind)
#E3D38D
Tritanopia (blue-blind)
#B0DDCD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe488;
/* rgb */ color: rgb(175, 228, 136);
/* oklch */ color: oklch(86.1% 0.132 133.0);
Tailwind
colors: {
  custom: {
    50: '#c8ecac',
    500: '#afe488',
    950: '#000000',
  },
}
SCSS
$custom: #afe488;
$custom-light: #c8ecac;
$custom-dark: #000000;
JSON
{
  "hex": "#afe488",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 136
  },
  "hsl": {
    "h": 94.565,
    "s": 63.014,
    "l": 71.373
  },
  "oklch": {
    "l": 0.86085,
    "c": 0.13238,
    "h": 133
  },
  "luminance": 0.66378
}

Semantic roles & 50–950 ramp

primary
#AFE488
secondary
#9054BD
accent
#1BCB80
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE488

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

Preview Lab → · Contrast checker → · Palette generator →

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