#AFDC97#AFDC97

#AFDC97 is a very light, moderate yellow-green. Relative luminance 0.625; OKLCH L 84.6% C 0.104 H 135.1°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#AFDC97
RGBrgb(175, 220, 151)
HSLhsl(99, 50%, 73%)
HSVhsv(99, 31%, 86%)
CMYKcmyk(20.5%, 0%, 31.4%, 13.7%)
CIE-LABlab(83.20, -27.04, 29.27)
CIE-LCHlch(83.20, 39.85, 132.73°)
OKLaboklab(84.56% -0.0736 0.0734)
OKLCHoklch(84.56% 0.104 135.1)
XYZxyz(48.8571, 62.5337, 38.7683)
Luminance0.6253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC97 #C497DC
analogous
#D2DC97 #AFDC97 #97DCA1
triadic
#AFDC97 #97AFDC #DC97AF
tetradic
#AFDC97 #97D2DC #C497DC #DCA197
square
#AFDC97 #97D2DC #C497DC #DCA197
split-complementary
#AFDC97 #A197DC #DC97D2
monochromatic
#6ABA3F #8CCD69 #AFDC97 #D2EBC5 #EDF7E8

Accessibility & contrast

On white

1.55
#AFDC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#AFDC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC97
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC97#FFFFFF#000000##000000
##AFDC971.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D292
Deuteranopia (green-blind)
#DACE9B
Tritanopia (blue-blind)
#AFD7CA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdc97;
/* rgb */ color: rgb(175, 220, 151);
/* oklch */ color: oklch(84.6% 0.104 135.1);
Tailwind
colors: {
  custom: {
    50: '#c8e7b6',
    500: '#afdc97',
    950: '#000000',
  },
}
SCSS
$custom: #afdc97;
$custom-light: #c8e7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc97",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 151
  },
  "hsl": {
    "h": 99.13,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.84559,
    "c": 0.10394,
    "h": 135.1
  },
  "luminance": 0.62535
}

Semantic roles & 50–950 ramp

primary
#AFDC97
secondary
#9864B4
accent
#29BD89
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFDC97

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

Preview Lab → · Contrast checker → · Palette generator →

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