#AFDA77#AFDA77

#AFDA77 is a very light, vivid yellow-green. Relative luminance 0.606; OKLCH L 83.6% C 0.135 H 128.3°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#AFDA77
RGBrgb(175, 218, 119)
HSLhsl(86, 57%, 66%)
HSVhsv(86, 45%, 85%)
CMYKcmyk(19.7%, 0%, 45.4%, 14.5%)
CIE-LABlab(82.16, -30.30, 44.03)
CIE-LCHlch(82.16, 53.45, 124.53°)
OKLaboklab(83.57% -0.0839 0.1064)
OKLCHoklch(83.57% 0.135 128.3)
XYZxyz(46.0800, 60.5880, 26.7161)
Luminance0.6059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA77 #A277DA
analogous
#DAD377 #AFDA77 #7DDA77
triadic
#AFDA77 #77AFDA #DA77AF
tetradic
#AFDA77 #77DAD3 #A277DA #DA777D
square
#AFDA77 #77DAD3 #A277DA #DA777D
split-complementary
#AFDA77 #777DDA #D377DA
monochromatic
#73A92E #93CD47 #AFDA77 #CBE7A7 #E8F4D7

Accessibility & contrast

On white

1.60
#AFDA77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#AFDA77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA77
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA77#FFFFFF#000000##000000
##AFDA771.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6F
Deuteranopia (green-blind)
#DCCB7D
Tritanopia (blue-blind)
#B3D2C3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afda77;
/* rgb */ color: rgb(175, 218, 119);
/* oklch */ color: oklch(83.6% 0.135 128.3);
Tailwind
colors: {
  custom: {
    50: '#c8e5a0',
    500: '#afda77',
    950: '#000000',
  },
}
SCSS
$custom: #afda77;
$custom-light: #c8e5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afda77",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 119
  },
  "hsl": {
    "h": 86.061,
    "s": 57.225,
    "l": 66.078
  },
  "oklch": {
    "l": 0.83565,
    "c": 0.13549,
    "h": 128.3
  },
  "luminance": 0.60589
}

Semantic roles & 50–950 ramp

primary
#AFDA77
secondary
#7449AC
accent
#21C568
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150F
muted
#838480

Preview Lab

Preview with #AFDA77

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

Preview Lab → · Contrast checker → · Palette generator →

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