#AFEC89#AFEC89

#AFEC89 is a very light, vivid yellow-green. Relative luminance 0.709; OKLCH L 87.9% C 0.143 H 134.3°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#AFEC89
RGBrgb(175, 236, 137)
HSLhsl(97, 72%, 73%)
HSVhsv(97, 42%, 93%)
CMYKcmyk(25.8%, 0%, 41.9%, 7.5%)
CIE-LABlab(87.44, -36.43, 41.87)
CIE-LCHlch(87.44, 55.50, 131.03°)
OKLaboklab(87.91% -0.1 0.1024)
OKLCHoklch(87.91% 0.143 134.3)
XYZxyz(52.1889, 70.9095, 34.5993)
Luminance0.7091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC89 #C689EC
analogous
#E0EC89 #AFEC89 #89EC94
triadic
#AFEC89 #89AFEC #EC89AF
tetradic
#AFEC89 #89E0EC #C689EC #EC9489
square
#AFEC89 #89E0EC #C689EC #EC9489
split-complementary
#AFEC89 #9489EC #EC89E0
monochromatic
#68D823 #8BE454 #AFEC89 #D3F4BE #EDFBE5

Accessibility & contrast

On white

1.38
#AFEC89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#AFEC89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC89
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC89#FFFFFF#000000##000000
##AFEC891.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE81
Deuteranopia (green-blind)
#EAD98F
Tritanopia (blue-blind)
#AFE5D4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #afec89;
/* rgb */ color: rgb(175, 236, 137);
/* oklch */ color: oklch(87.9% 0.143 134.3);
Tailwind
colors: {
  custom: {
    50: '#c9f2ad',
    500: '#afec89',
    950: '#000000',
  },
}
SCSS
$custom: #afec89;
$custom-light: #c9f2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#afec89",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 137
  },
  "hsl": {
    "h": 96.97,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.87907,
    "c": 0.14311,
    "h": 134.3
  },
  "luminance": 0.70911
}

Semantic roles & 50–950 ramp

primary
#AFEC89
secondary
#9A53C6
accent
#11D489
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFEC89

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

Preview Lab → · Contrast checker → · Palette generator →

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