#AFE189#AFE189

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

Color values

HEX#AFE189
RGBrgb(175, 225, 137)
HSLhsl(94, 59%, 71%)
HSVhsv(94, 39%, 88%)
CMYKcmyk(22.2%, 0%, 39.1%, 11.8%)
CIE-LABlab(84.36, -31.36, 37.92)
CIE-LCHlch(84.36, 49.21, 129.59°)
OKLaboklab(85.43% -0.0859 0.0933)
OKLCHoklch(85.43% 0.127 132.6)
XYZxyz(49.1188, 64.7694, 33.5759)
Luminance0.6477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE189 #BB89E1
analogous
#DBE189 #AFE189 #89E18F
triadic
#AFE189 #89AFE1 #E189AF
tetradic
#AFE189 #89DBE1 #BB89E1 #E18F89
square
#AFE189 #89DBE1 #BB89E1 #E18F89
split-complementary
#AFE189 #8F89E1 #E189DB
monochromatic
#6EBF31 #8ED558 #AFE189 #D0EDBA #EEF9E7

Accessibility & contrast

On white

1.50
#AFE189 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE189#FFFFFF#000000##000000
##AFE1891.001.5013.9513.95
#FFFFFF1.501.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe189;
/* rgb */ color: rgb(175, 225, 137);
/* oklch */ color: oklch(85.4% 0.127 132.6);
Tailwind
colors: {
  custom: {
    50: '#c8eaac',
    500: '#afe189',
    950: '#000000',
  },
}
SCSS
$custom: #afe189;
$custom-light: #c8eaac;
$custom-dark: #000000;
JSON
{
  "hex": "#afe189",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 137
  },
  "hsl": {
    "h": 94.091,
    "s": 59.459,
    "l": 70.98
  },
  "oklch": {
    "l": 0.85426,
    "c": 0.12686,
    "h": 132.6
  },
  "luminance": 0.64771
}

Semantic roles & 50–950 ramp

primary
#AFE189
secondary
#8E55B9
accent
#1EC77E
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE189

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

Preview Lab → · Contrast checker → · Palette generator →

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