#AFE388#AFE388

#AFE388 is a very light, vivid yellow-green. Relative luminance 0.658; OKLCH L 85.9% C 0.131 H 132.8°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#AFE388
RGBrgb(175, 227, 136)
HSLhsl(94, 62%, 71%)
HSVhsv(94, 40%, 89%)
CMYKcmyk(22.9%, 0%, 40.1%, 11%)
CIE-LABlab(84.91, -32.43, 39.12)
CIE-LCHlch(84.91, 50.81, 129.65°)
OKLaboklab(85.86% -0.0889 0.0961)
OKLCHoklch(85.86% 0.131 132.8)
XYZxyz(49.5913, 65.8285, 33.3812)
Luminance0.6583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE388 #BC88E3
analogous
#DCE388 #AFE388 #88E38E
triadic
#AFE388 #88AFE3 #E388AF
tetradic
#AFE388 #88DCE3 #BC88E3 #E38E88
square
#AFE388 #88DCE3 #BC88E3 #E38E88
split-complementary
#AFE388 #8E88E3 #E388DC
monochromatic
#6EC32E #8ED756 #AFE388 #D0EFBA #EEF9E6

Accessibility & contrast

On white

1.48
#AFE388 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#AFE388 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE388
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE388#FFFFFF#000000##000000
##AFE3881.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD781
Deuteranopia (green-blind)
#E2D38D
Tritanopia (blue-blind)
#B0DCCD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe388;
/* rgb */ color: rgb(175, 227, 136);
/* oklch */ color: oklch(85.9% 0.131 132.8);
Tailwind
colors: {
  custom: {
    50: '#c8ecac',
    500: '#afe388',
    950: '#000000',
  },
}
SCSS
$custom: #afe388;
$custom-light: #c8ecac;
$custom-dark: #000000;
JSON
{
  "hex": "#afe388",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 136
  },
  "hsl": {
    "h": 94.286,
    "s": 61.905,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85859,
    "c": 0.1309,
    "h": 132.8
  },
  "luminance": 0.6583
}

Semantic roles & 50–950 ramp

primary
#AFE388
secondary
#8F54BB
accent
#1CCA7F
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE388

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

Preview Lab → · Contrast checker → · Palette generator →

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