#AFDA79#AFDA79

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

Color values

HEX#AFDA79
RGBrgb(175, 218, 121)
HSLhsl(87, 57%, 66%)
HSVhsv(87, 44%, 85%)
CMYKcmyk(19.7%, 0%, 44.5%, 14.5%)
CIE-LABlab(82.18, -30.07, 43.08)
CIE-LCHlch(82.18, 52.54, 124.91°)
OKLaboklab(83.6% -0.0831 0.1044)
OKLCHoklch(83.6% 0.133 128.5)
XYZxyz(46.2013, 60.6365, 27.3554)
Luminance0.6064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA79 #A479DA
analogous
#DAD579 #AFDA79 #7FDA79
triadic
#AFDA79 #79AFDA #DA79AF
tetradic
#AFDA79 #79DAD5 #A479DA #DA797F
square
#AFDA79 #79DAD5 #A479DA #DA797F
split-complementary
#AFDA79 #797FDA #D579DA
monochromatic
#73AA2F #92CD49 #AFDA79 #CCE7A9 #E8F4D9

Accessibility & contrast

On white

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

On black

13.13
#AFDA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA79
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA79#FFFFFF#000000##000000
##AFDA791.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afda79;
/* rgb */ color: rgb(175, 218, 121);
/* oklch */ color: oklch(83.6% 0.133 128.5);
Tailwind
colors: {
  custom: {
    50: '#c8e5a1',
    500: '#afda79',
    950: '#000000',
  },
}
SCSS
$custom: #afda79;
$custom-light: #c8e5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afda79",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 121
  },
  "hsl": {
    "h": 86.598,
    "s": 56.725,
    "l": 66.471
  },
  "oklch": {
    "l": 0.83595,
    "c": 0.13343,
    "h": 128.5
  },
  "luminance": 0.60637
}

Semantic roles & 50–950 ramp

primary
#AFDA79
secondary
#764BAD
accent
#21C46A
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150F
muted
#838480

Preview Lab

Preview with #AFDA79

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

Preview Lab → · Contrast checker → · Palette generator →

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