#AFD779#AFD779

#AFD779 is a very light, vivid yellow-green. Relative luminance 0.591; OKLCH L 82.9% C 0.129 H 127.8°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#AFD779
RGBrgb(175, 215, 121)
HSLhsl(86, 54%, 66%)
HSVhsv(86, 44%, 84%)
CMYKcmyk(18.6%, 0%, 43.7%, 15.7%)
CIE-LABlab(81.34, -28.65, 42.03)
CIE-LCHlch(81.34, 50.87, 124.28°)
OKLaboklab(82.92% -0.0792 0.102)
OKLCHoklch(82.92% 0.129 127.8)
XYZxyz(45.4304, 59.0947, 27.0984)
Luminance0.5909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD779 #A179D7
analogous
#D7D079 #AFD779 #80D779
triadic
#AFD779 #79AFD7 #D779AF
tetradic
#AFD779 #79D7D0 #A179D7 #D77980
square
#AFD779 #79D7D0 #A179D7 #D77980
split-complementary
#AFD779 #7980D7 #D079D7
monochromatic
#73A431 #93C94A #AFD779 #CBE5A8 #E7F3D7

Accessibility & contrast

On white

1.64
#AFD779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#AFD779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD779
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD779#FFFFFF#000000##000000
##AFD7791.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC72
Deuteranopia (green-blind)
#DAC97E
Tritanopia (blue-blind)
#B3CFC0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd779;
/* rgb */ color: rgb(175, 215, 121);
/* oklch */ color: oklch(82.9% 0.129 127.8);
Tailwind
colors: {
  custom: {
    50: '#c8e3a1',
    500: '#afd779',
    950: '#000000',
  },
}
SCSS
$custom: #afd779;
$custom-light: #c8e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afd779",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 121
  },
  "hsl": {
    "h": 85.532,
    "s": 54.023,
    "l": 65.882
  },
  "oklch": {
    "l": 0.82919,
    "c": 0.12912,
    "h": 127.8
  },
  "luminance": 0.59095
}

Semantic roles & 50–950 ramp

primary
#AFD779
secondary
#734CA8
accent
#24C167
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD779

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

Preview Lab → · Contrast checker → · Palette generator →

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