#AFDF89#AFDF89

#AFDF89 is a very light, vivid yellow-green. Relative luminance 0.637; OKLCH L 85.0% C 0.124 H 132.3°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#AFDF89
RGBrgb(175, 223, 137)
HSLhsl(93, 57%, 71%)
HSVhsv(93, 39%, 87%)
CMYKcmyk(21.5%, 0%, 38.6%, 12.5%)
CIE-LABlab(83.81, -30.43, 37.20)
CIE-LCHlch(83.81, 48.06, 129.28°)
OKLaboklab(84.98% -0.0833 0.0917)
OKLCHoklch(84.98% 0.124 132.3)
XYZxyz(48.5813, 63.6944, 33.3968)
Luminance0.6370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF89 #B989DF
analogous
#DADF89 #AFDF89 #89DF8E
triadic
#AFDF89 #89AFDF #DF89AF
tetradic
#AFDF89 #89DADF #B989DF #DF8E89
square
#AFDF89 #89DADF #B989DF #DF8E89
split-complementary
#AFDF89 #8E89DF #DF89DA
monochromatic
#6FBB33 #8ED259 #AFDF89 #D0ECB9 #EFF8E7

Accessibility & contrast

On white

1.53
#AFDF89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#AFDF89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF89
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF89#FFFFFF#000000##000000
##AFDF891.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D383
Deuteranopia (green-blind)
#DFD08E
Tritanopia (blue-blind)
#B0D8CA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afdf89;
/* rgb */ color: rgb(175, 223, 137);
/* oklch */ color: oklch(85.0% 0.124 132.3);
Tailwind
colors: {
  custom: {
    50: '#c8e9ac',
    500: '#afdf89',
    950: '#000000',
  },
}
SCSS
$custom: #afdf89;
$custom-light: #c8e9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf89",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 137
  },
  "hsl": {
    "h": 93.488,
    "s": 57.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.84976,
    "c": 0.12387,
    "h": 132.3
  },
  "luminance": 0.63695
}

Semantic roles & 50–950 ramp

primary
#AFDF89
secondary
#8C56B7
accent
#21C57C
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFDF89

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

Preview Lab → · Contrast checker → · Palette generator →

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