#AFDC79#AFDC79

#AFDC79 is a very light, vivid yellow-green. Relative luminance 0.617; OKLCH L 84.0% C 0.136 H 129.0°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#AFDC79
RGBrgb(175, 220, 121)
HSLhsl(87, 59%, 67%)
HSVhsv(87, 45%, 86%)
CMYKcmyk(20.5%, 0%, 45%, 13.7%)
CIE-LABlab(82.74, -31.01, 43.78)
CIE-LCHlch(82.74, 53.65, 125.31°)
OKLaboklab(84.05% -0.0858 0.1059)
OKLCHoklch(84.05% 0.136 129)
XYZxyz(46.7231, 61.6801, 27.5293)
Luminance0.6168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC79 #A679DC
analogous
#DCD879 #AFDC79 #7EDC79
triadic
#AFDC79 #79AFDC #DC79AF
tetradic
#AFDC79 #79DCD8 #A679DC #DC797E
square
#AFDC79 #79DCD8 #A679DC #DC797E
split-complementary
#AFDC79 #797EDC #D879DC
monochromatic
#73AD2D #92CF48 #AFDC79 #CCE9AA #E9F5DA

Accessibility & contrast

On white

1.57
#AFDC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#AFDC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC79
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC79#FFFFFF#000000##000000
##AFDC791.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D071
Deuteranopia (green-blind)
#DECD7F
Tritanopia (blue-blind)
#B3D4C4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdc79;
/* rgb */ color: rgb(175, 220, 121);
/* oklch */ color: oklch(84.0% 0.136 129.0);
Tailwind
colors: {
  custom: {
    50: '#c8e7a1',
    500: '#afdc79',
    950: '#000000',
  },
}
SCSS
$custom: #afdc79;
$custom-light: #c8e7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc79",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 121
  },
  "hsl": {
    "h": 87.273,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.84046,
    "c": 0.1363,
    "h": 129
  },
  "luminance": 0.61681
}

Semantic roles & 50–950 ramp

primary
#AFDC79
secondary
#784AB0
accent
#1FC66B
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFDC79

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

Preview Lab → · Contrast checker → · Palette generator →

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