#AFDC78#AFDC78

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

Color values

HEX#AFDC78
RGBrgb(175, 220, 120)
HSLhsl(87, 59%, 67%)
HSVhsv(87, 45%, 86%)
CMYKcmyk(20.5%, 0%, 45.5%, 13.7%)
CIE-LABlab(82.73, -31.12, 44.25)
CIE-LCHlch(82.73, 54.10, 125.12°)
OKLaboklab(84.03% -0.0861 0.1069)
OKLCHoklch(84.03% 0.137 128.9)
XYZxyz(46.6621, 61.6557, 27.2080)
Luminance0.6166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC78 #A578DC
analogous
#DCD778 #AFDC78 #7DDC78
triadic
#AFDC78 #78AFDC #DC78AF
tetradic
#AFDC78 #78DCD7 #A578DC #DC787D
square
#AFDC78 #78DCD7 #A578DC #DC787D
split-complementary
#AFDC78 #787DDC #D778DC
monochromatic
#73AD2D #92CF47 #AFDC78 #CCE9A9 #E9F5D9

Accessibility & contrast

On white

1.58
#AFDC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#AFDC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC78
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC78#FFFFFF#000000##000000
##AFDC781.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afdc78;
/* rgb */ color: rgb(175, 220, 120);
/* oklch */ color: oklch(84.0% 0.137 128.9);
Tailwind
colors: {
  custom: {
    50: '#c8e7a1',
    500: '#afdc78',
    950: '#000000',
  },
}
SCSS
$custom: #afdc78;
$custom-light: #c8e7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc78",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 120
  },
  "hsl": {
    "h": 87,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.84031,
    "c": 0.13732,
    "h": 128.9
  },
  "luminance": 0.61656
}

Semantic roles & 50–950 ramp

primary
#AFDC78
secondary
#7749AF
accent
#1FC66A
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFDC78

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

Preview Lab → · Contrast checker → · Palette generator →

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