#AFDF91#AFDF91

#AFDF91 is a very light, moderate yellow-green. Relative luminance 0.639; OKLCH L 85.1% C 0.115 H 134.0°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#AFDF91
RGBrgb(175, 223, 145)
HSLhsl(97, 55%, 72%)
HSVhsv(97, 35%, 87%)
CMYKcmyk(21.5%, 0%, 35%, 12.5%)
CIE-LABlab(83.93, -29.34, 33.32)
CIE-LCHlch(83.93, 44.39, 131.36°)
OKLaboklab(85.12% -0.08 0.0828)
OKLCHoklch(85.12% 0.115 134)
XYZxyz(49.1766, 63.9325, 36.5319)
Luminance0.6393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF91 #C191DF
analogous
#D6DF91 #AFDF91 #91DF9A
triadic
#AFDF91 #91AFDF #DF91AF
tetradic
#AFDF91 #91D6DF #C191DF #DF9A91
square
#AFDF91 #91D6DF #C191DF #DF9A91
split-complementary
#AFDF91 #9A91DF #DF91D6
monochromatic
#6BBE37 #8DD162 #AFDF91 #D1EDC0 #EEF8E7

Accessibility & contrast

On white

1.52
#AFDF91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#AFDF91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF91
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF91#FFFFFF#000000##000000
##AFDF911.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D48C
Deuteranopia (green-blind)
#DED095
Tritanopia (blue-blind)
#AFD9CB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afdf91;
/* rgb */ color: rgb(175, 223, 145);
/* oklch */ color: oklch(85.1% 0.115 134.0);
Tailwind
colors: {
  custom: {
    50: '#c8e9b2',
    500: '#afdf91',
    950: '#000000',
  },
}
SCSS
$custom: #afdf91;
$custom-light: #c8e9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf91",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 145
  },
  "hsl": {
    "h": 96.923,
    "s": 54.93,
    "l": 72.157
  },
  "oklch": {
    "l": 0.85116,
    "c": 0.1152,
    "h": 134
  },
  "luminance": 0.63934
}

Semantic roles & 50–950 ramp

primary
#AFDF91
secondary
#945DB7
accent
#23C285
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFDF91

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

Preview Lab → · Contrast checker → · Palette generator →

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