#AFDC56#AFDC56

#AFDC56 is a very light, vivid yellow-green. Relative luminance 0.610; OKLCH L 83.6% C 0.168 H 125.6°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#AFDC56
RGBrgb(175, 220, 86)
HSLhsl(80, 66%, 60%)
HSVhsv(80, 61%, 86%)
CMYKcmyk(20.5%, 0%, 60.9%, 13.7%)
CIE-LABlab(82.36, -34.42, 59.42)
CIE-LCHlch(82.36, 68.67, 120.08°)
OKLaboklab(83.62% -0.098 0.137)
OKLCHoklch(83.62% 0.168 125.6)
XYZxyz(44.9522, 60.9717, 18.2028)
Luminance0.6097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC56 #8356DC
analogous
#DCC656 #AFDC56 #6CDC56
triadic
#AFDC56 #56AFDC #DC56AF
tetradic
#AFDC56 #56DCC6 #8356DC #DC566C
square
#AFDC56 #56DCC6 #8356DC #DC566C
split-complementary
#AFDC56 #566CDC #C656DC
monochromatic
#709820 #95CB2A #AFDC56 #C7E689 #DFF1BB

Accessibility & contrast

On white

1.59
#AFDC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#AFDC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC56
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC56#FFFFFF#000000##000000
##AFDC561.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF46
Deuteranopia (green-blind)
#E1CC60
Tritanopia (blue-blind)
#B6D2C0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdc56;
/* rgb */ color: rgb(175, 220, 86);
/* oklch */ color: oklch(83.6% 0.168 125.6);
Tailwind
colors: {
  custom: {
    50: '#cae78b',
    500: '#afdc56',
    950: '#000000',
  },
}
SCSS
$custom: #afdc56;
$custom-light: #cae78b;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc56",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 86
  },
  "hsl": {
    "h": 80.149,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.83617,
    "c": 0.16847,
    "h": 125.6
  },
  "luminance": 0.60972
}

Semantic roles & 50–950 ramp

primary
#AFDC56
secondary
#5B3A9C
accent
#3FE978
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDC56

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

Preview Lab → · Contrast checker → · Palette generator →

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