#AFDD79#AFDD79

#AFDD79 is a very light, vivid yellow-green. Relative luminance 0.622; OKLCH L 84.3% C 0.138 H 129.2°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#AFDD79
RGBrgb(175, 221, 121)
HSLhsl(88, 60%, 67%)
HSVhsv(88, 45%, 87%)
CMYKcmyk(20.8%, 0%, 45.2%, 13.3%)
CIE-LABlab(83.02, -31.47, 44.13)
CIE-LCHlch(83.02, 54.20, 125.50°)
OKLaboklab(84.27% -0.0871 0.1067)
OKLCHoklch(84.27% 0.138 129.2)
XYZxyz(46.9863, 62.2065, 27.6170)
Luminance0.6221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD79 #A779DD
analogous
#DDD979 #AFDD79 #7DDD79
triadic
#AFDD79 #79AFDD #DD79AF
tetradic
#AFDD79 #79DDD9 #A779DD #DD797D
square
#AFDD79 #79DDD9 #A779DD #DD797D
split-complementary
#AFDD79 #797DDD #D979DD
monochromatic
#73AF2C #92D148 #AFDD79 #CCE9AA #E9F6DB

Accessibility & contrast

On white

1.56
#AFDD79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#AFDD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDD79
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDD79#FFFFFF#000000##000000
##AFDD791.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D171
Deuteranopia (green-blind)
#DFCE7F
Tritanopia (blue-blind)
#B3D5C5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdd79;
/* rgb */ color: rgb(175, 221, 121);
/* oklch */ color: oklch(84.3% 0.138 129.2);
Tailwind
colors: {
  custom: {
    50: '#c8e7a1',
    500: '#afdd79',
    950: '#000000',
  },
}
SCSS
$custom: #afdd79;
$custom-light: #c8e7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd79",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 121
  },
  "hsl": {
    "h": 87.6,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.84272,
    "c": 0.13773,
    "h": 129.2
  },
  "luminance": 0.62207
}

Semantic roles & 50–950 ramp

primary
#AFDD79
secondary
#7949B1
accent
#1EC76C
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFDD79

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

Preview Lab → · Contrast checker → · Palette generator →

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