#AFDE77#AFDE77

#AFDE77 is a very light, vivid yellow-green. Relative luminance 0.627; OKLCH L 84.5% C 0.141 H 129.2°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#AFDE77
RGBrgb(175, 222, 119)
HSLhsl(87, 61%, 67%)
HSVhsv(87, 46%, 87%)
CMYKcmyk(21.2%, 0%, 46.4%, 12.9%)
CIE-LABlab(83.28, -32.17, 45.42)
CIE-LCHlch(83.28, 55.65, 125.31°)
OKLaboklab(84.47% -0.0891 0.1095)
OKLCHoklch(84.47% 0.141 129.2)
XYZxyz(47.1298, 62.6876, 27.0661)
Luminance0.6269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDE77 #A677DE
analogous
#DEDA77 #AFDE77 #7CDE77
triadic
#AFDE77 #77AFDE #DE77AF
tetradic
#AFDE77 #77DEDA #A677DE #DE777C
square
#AFDE77 #77DEDA #A677DE #DE777C
split-complementary
#AFDE77 #777CDE #DA77DE
monochromatic
#73B02B #92D246 #AFDE77 #CCEAA8 #E9F6DA

Accessibility & contrast

On white

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

On black

13.54
#AFDE77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDE77
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDE77#FFFFFF#000000##000000
##AFDE771.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D26E
Deuteranopia (green-blind)
#E0CE7D
Tritanopia (blue-blind)
#B3D6C6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afde77;
/* rgb */ color: rgb(175, 222, 119);
/* oklch */ color: oklch(84.5% 0.141 129.2);
Tailwind
colors: {
  custom: {
    50: '#c9e8a0',
    500: '#afde77',
    950: '#000000',
  },
}
SCSS
$custom: #afde77;
$custom-light: #c9e8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afde77",
  "rgb": {
    "r": 175,
    "g": 222,
    "b": 119
  },
  "hsl": {
    "h": 87.379,
    "s": 60.947,
    "l": 66.863
  },
  "oklch": {
    "l": 0.84469,
    "c": 0.14117,
    "h": 129.2
  },
  "luminance": 0.62688
}

Semantic roles & 50–950 ramp

primary
#AFDE77
secondary
#7847B2
accent
#1DC96B
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFDE77

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

Preview Lab → · Contrast checker → · Palette generator →

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