#AFE188#AFE188

#AFE188 is a very light, vivid yellow-green. Relative luminance 0.647; OKLCH L 85.4% C 0.128 H 132.4°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#AFE188
RGBrgb(175, 225, 136)
HSLhsl(94, 60%, 71%)
HSVhsv(94, 40%, 88%)
CMYKcmyk(22.2%, 0%, 39.6%, 11.8%)
CIE-LABlab(84.35, -31.50, 38.40)
CIE-LCHlch(84.35, 49.67, 129.36°)
OKLaboklab(85.41% -0.0863 0.0944)
OKLCHoklch(85.41% 0.128 132.4)
XYZxyz(49.0474, 64.7409, 33.1999)
Luminance0.6474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE188 #BA88E1
analogous
#DBE188 #AFE188 #88E18D
triadic
#AFE188 #88AFE1 #E188AF
tetradic
#AFE188 #88DBE1 #BA88E1 #E18D88
square
#AFE188 #88DBE1 #BA88E1 #E18D88
split-complementary
#AFE188 #8D88E1 #E188DB
monochromatic
#6EBF30 #8ED557 #AFE188 #D0EDB9 #EFF9E7

Accessibility & contrast

On white

1.51
#AFE188 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#AFE188 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE188
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE188#FFFFFF#000000##000000
##AFE1881.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D581
Deuteranopia (green-blind)
#E1D18D
Tritanopia (blue-blind)
#B0DACB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe188;
/* rgb */ color: rgb(175, 225, 136);
/* oklch */ color: oklch(85.4% 0.128 132.4);
Tailwind
colors: {
  custom: {
    50: '#c8eaac',
    500: '#afe188',
    950: '#000000',
  },
}
SCSS
$custom: #afe188;
$custom-light: #c8eaac;
$custom-dark: #000000;
JSON
{
  "hex": "#afe188",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 136
  },
  "hsl": {
    "h": 93.708,
    "s": 59.732,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85409,
    "c": 0.12792,
    "h": 132.4
  },
  "luminance": 0.64742
}

Semantic roles & 50–950 ramp

primary
#AFE188
secondary
#8D54B9
accent
#1EC77D
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE188

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

Preview Lab → · Contrast checker → · Palette generator →

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