#AFE288#AFE288

#AFE288 is a very light, vivid yellow-green. Relative luminance 0.653; OKLCH L 85.6% C 0.129 H 132.6°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#AFE288
RGBrgb(175, 226, 136)
HSLhsl(94, 61%, 71%)
HSVhsv(94, 40%, 89%)
CMYKcmyk(22.6%, 0%, 39.8%, 11.4%)
CIE-LABlab(84.63, -31.96, 38.76)
CIE-LCHlch(84.63, 50.24, 129.51°)
OKLaboklab(85.63% -0.0876 0.0952)
OKLCHoklch(85.63% 0.129 132.6)
XYZxyz(49.3185, 65.2831, 33.2903)
Luminance0.6528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE288 #BB88E2
analogous
#DCE288 #AFE288 #88E28E
triadic
#AFE288 #88AFE2 #E288AF
tetradic
#AFE288 #88DCE2 #BB88E2 #E28E88
square
#AFE288 #88DCE2 #BB88E2 #E28E88
split-complementary
#AFE288 #8E88E2 #E288DC
monochromatic
#6EC12F #8ED657 #AFE288 #D0EEB9 #EEF9E6

Accessibility & contrast

On white

1.49
#AFE288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#AFE288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE288
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE288#FFFFFF#000000##000000
##AFE2881.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D681
Deuteranopia (green-blind)
#E1D28D
Tritanopia (blue-blind)
#B0DBCC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe288;
/* rgb */ color: rgb(175, 226, 136);
/* oklch */ color: oklch(85.6% 0.129 132.6);
Tailwind
colors: {
  custom: {
    50: '#c8ebac',
    500: '#afe288',
    950: '#000000',
  },
}
SCSS
$custom: #afe288;
$custom-light: #c8ebac;
$custom-dark: #000000;
JSON
{
  "hex": "#afe288",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 136
  },
  "hsl": {
    "h": 94,
    "s": 60.811,
    "l": 70.98
  },
  "oklch": {
    "l": 0.85634,
    "c": 0.12941,
    "h": 132.6
  },
  "luminance": 0.65284
}

Semantic roles & 50–950 ramp

primary
#AFE288
secondary
#8E54BA
accent
#1DC97E
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE288

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

Preview Lab → · Contrast checker → · Palette generator →

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