#AFEF89#AFEF89

#AFEF89 is a very light, vivid yellow-green. Relative luminance 0.727; OKLCH L 88.6% C 0.147 H 134.7°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#AFEF89
RGBrgb(175, 239, 137)
HSLhsl(98, 76%, 74%)
HSVhsv(98, 43%, 94%)
CMYKcmyk(26.8%, 0%, 42.7%, 6.3%)
CIE-LABlab(88.28, -37.79, 42.94)
CIE-LCHlch(88.28, 57.20, 131.35°)
OKLaboklab(88.59% -0.1037 0.1048)
OKLCHoklch(88.59% 0.147 134.7)
XYZxyz(53.0598, 72.6515, 34.8896)
Luminance0.7265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF89 #C989EF
analogous
#E2EF89 #AFEF89 #89EF96
triadic
#AFEF89 #89AFEF #EF89AF
tetradic
#AFEF89 #89E2EF #C989EF #EF9689
square
#AFEF89 #89E2EF #C989EF #EF9689
split-complementary
#AFEF89 #9689EF #EF89E2
monochromatic
#66DF1E #8AE853 #AFEF89 #D4F6BF #EDFBE4

Accessibility & contrast

On white

1.35
#AFEF89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#AFEF89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF89
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF89#FFFFFF#000000##000000
##AFEF891.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E181
Deuteranopia (green-blind)
#EDDC8F
Tritanopia (blue-blind)
#AFE8D6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef89;
/* rgb */ color: rgb(175, 239, 137);
/* oklch */ color: oklch(88.6% 0.147 134.7);
Tailwind
colors: {
  custom: {
    50: '#c9f4ad',
    500: '#afef89',
    950: '#000000',
  },
}
SCSS
$custom: #afef89;
$custom-light: #c9f4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#afef89",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 137
  },
  "hsl": {
    "h": 97.647,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.88586,
    "c": 0.14747,
    "h": 134.7
  },
  "luminance": 0.72653
}

Semantic roles & 50–950 ramp

primary
#AFEF89
secondary
#9D52CA
accent
#0DD88D
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFEF89

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

Preview Lab → · Contrast checker → · Palette generator →

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