#AFE889#AFE889

#AFE889 is a very light, vivid yellow-green. Relative luminance 0.686; OKLCH L 87.0% C 0.137 H 133.8°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#AFE889
RGBrgb(175, 232, 137)
HSLhsl(96, 67%, 72%)
HSVhsv(96, 41%, 91%)
CMYKcmyk(24.6%, 0%, 40.9%, 9%)
CIE-LABlab(86.32, -34.61, 40.44)
CIE-LCHlch(86.32, 53.23, 130.56°)
OKLaboklab(87% -0.0949 0.0991)
OKLCHoklch(87% 0.137 133.8)
XYZxyz(51.0501, 68.6320, 34.2197)
Luminance0.6863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE889 #C289E8
analogous
#DFE889 #AFE889 #89E893
triadic
#AFE889 #89AFE8 #E889AF
tetradic
#AFE889 #89DFE8 #C289E8 #E89389
square
#AFE889 #89DFE8 #C289E8 #E89389
split-complementary
#AFE889 #9389E8 #E889DF
monochromatic
#6BCE28 #8CDE56 #AFE889 #D2F2BC #EEFAE5

Accessibility & contrast

On white

1.43
#AFE889 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#AFE889 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE889
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE889#FFFFFF#000000##000000
##AFE8891.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB82
Deuteranopia (green-blind)
#E6D68E
Tritanopia (blue-blind)
#B0E1D1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe889;
/* rgb */ color: rgb(175, 232, 137);
/* oklch */ color: oklch(87.0% 0.137 133.8);
Tailwind
colors: {
  custom: {
    50: '#c8efac',
    500: '#afe889',
    950: '#000000',
  },
}
SCSS
$custom: #afe889;
$custom-light: #c8efac;
$custom-dark: #000000;
JSON
{
  "hex": "#afe889",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 137
  },
  "hsl": {
    "h": 96,
    "s": 67.376,
    "l": 72.353
  },
  "oklch": {
    "l": 0.87003,
    "c": 0.13724,
    "h": 133.8
  },
  "luminance": 0.68633
}

Semantic roles & 50–950 ramp

primary
#AFE889
secondary
#9654C1
accent
#16CF85
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE889

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

Preview Lab → · Contrast checker → · Palette generator →

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