#AFD577#AFD577

#AFD577 is a very light, vivid yellow-green. Relative luminance 0.580; OKLCH L 82.4% C 0.128 H 127.0°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#AFD577
RGBrgb(175, 213, 119)
HSLhsl(84, 53%, 65%)
HSVhsv(84, 44%, 84%)
CMYKcmyk(17.8%, 0%, 44.1%, 16.5%)
CIE-LABlab(80.76, -27.93, 42.28)
CIE-LCHlch(80.76, 50.68, 123.45°)
OKLaboklab(82.44% -0.0773 0.1025)
OKLCHoklch(82.44% 0.128 127)
XYZxyz(44.8029, 58.0339, 26.2904)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD577 #9D77D5
analogous
#D5CC77 #AFD577 #80D577
triadic
#AFD577 #77AFD5 #D577AF
tetradic
#AFD577 #77D5CC #9D77D5 #D57780
square
#AFD577 #77D5CC #9D77D5 #D57780
split-complementary
#AFD577 #7780D5 #CC77D5
monochromatic
#73A031 #93C748 #AFD577 #CBE3A6 #E6F2D5

Accessibility & contrast

On white

1.67
#AFD577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#AFD577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD577
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD577#FFFFFF#000000##000000
##AFD5771.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA6F
Deuteranopia (green-blind)
#D8C87C
Tritanopia (blue-blind)
#B4CDBF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd577;
/* rgb */ color: rgb(175, 213, 119);
/* oklch */ color: oklch(82.4% 0.128 127.0);
Tailwind
colors: {
  custom: {
    50: '#c8e2a0',
    500: '#afd577',
    950: '#000000',
  },
}
SCSS
$custom: #afd577;
$custom-light: #c8e2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afd577",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 119
  },
  "hsl": {
    "h": 84.255,
    "s": 52.809,
    "l": 65.098
  },
  "oklch": {
    "l": 0.82439,
    "c": 0.12834,
    "h": 127
  },
  "luminance": 0.58034
}

Semantic roles & 50–950 ramp

primary
#AFD577
secondary
#704CA4
accent
#25C064
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD577

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

Preview Lab → · Contrast checker → · Palette generator →

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