#AFE989#AFE989

#AFE989 is a very light, vivid yellow-green. Relative luminance 0.692; OKLCH L 87.2% C 0.139 H 133.9°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#AFE989
RGBrgb(175, 233, 137)
HSLhsl(96, 69%, 73%)
HSVhsv(96, 41%, 91%)
CMYKcmyk(24.9%, 0%, 41.2%, 8.6%)
CIE-LABlab(86.60, -35.07, 40.80)
CIE-LCHlch(86.60, 53.80, 130.68°)
OKLaboklab(87.23% -0.0962 0.0999)
OKLCHoklch(87.23% 0.139 133.9)
XYZxyz(51.3324, 69.1965, 34.3138)
Luminance0.6920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE989 #C389E9
analogous
#DFE989 #AFE989 #89E993
triadic
#AFE989 #89AFE9 #E989AF
tetradic
#AFE989 #89DFE9 #C389E9 #E99389
square
#AFE989 #89DFE9 #C389E9 #E99389
split-complementary
#AFE989 #9389E9 #E989DF
monochromatic
#6AD127 #8CDF55 #AFE989 #D2F3BD #EEFAE5

Accessibility & contrast

On white

1.42
#AFE989 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#AFE989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE989
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE989#FFFFFF#000000##000000
##AFE9891.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC82
Deuteranopia (green-blind)
#E7D78E
Tritanopia (blue-blind)
#AFE2D2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afe989;
/* rgb */ color: rgb(175, 233, 137);
/* oklch */ color: oklch(87.2% 0.139 133.9);
Tailwind
colors: {
  custom: {
    50: '#c9f0ac',
    500: '#afe989',
    950: '#000000',
  },
}
SCSS
$custom: #afe989;
$custom-light: #c9f0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afe989",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 137
  },
  "hsl": {
    "h": 96.25,
    "s": 68.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.87229,
    "c": 0.13871,
    "h": 133.9
  },
  "luminance": 0.69198
}

Semantic roles & 50–950 ramp

primary
#AFE989
secondary
#9753C3
accent
#15D186
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE989

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

Preview Lab → · Contrast checker → · Palette generator →

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