#AFDC5C#AFDC5C

#AFDC5C is a very light, vivid yellow-green. Relative luminance 0.611; OKLCH L 83.7% C 0.164 H 126.0°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#AFDC5C
RGBrgb(175, 220, 92)
HSLhsl(81, 65%, 61%)
HSVhsv(81, 58%, 86%)
CMYKcmyk(20.5%, 0%, 58.2%, 13.7%)
CIE-LABlab(82.42, -33.93, 56.89)
CIE-LCHlch(82.42, 66.24, 120.81°)
OKLaboklab(83.68% -0.0962 0.1323)
OKLCHoklch(83.68% 0.164 126)
XYZxyz(45.2042, 61.0725, 19.5298)
Luminance0.6107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC5C #895CDC
analogous
#DCC95C #AFDC5C #6FDC5C
triadic
#AFDC5C #5CAFDC #DC5CAF
tetradic
#AFDC5C #5CDCC9 #895CDC #DC5C6F
square
#AFDC5C #5CDCC9 #895CDC #DC5C6F
split-complementary
#AFDC5C #5C6FDC #C95CDC
monochromatic
#719C22 #95CE2C #AFDC5C #C8E78E #E0F2C1

Accessibility & contrast

On white

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

On black

13.21
#AFDC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC5C
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC5C#FFFFFF#000000##000000
##AFDC5C1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4E
Deuteranopia (green-blind)
#E0CC65
Tritanopia (blue-blind)
#B5D3C0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdc5c;
/* rgb */ color: rgb(175, 220, 92);
/* oklch */ color: oklch(83.7% 0.164 126.0);
Tailwind
colors: {
  custom: {
    50: '#cae78e',
    500: '#afdc5c',
    950: '#000000',
  },
}
SCSS
$custom: #afdc5c;
$custom-light: #cae78e;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc5c",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 81.094,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83678,
    "c": 0.16355,
    "h": 126
  },
  "luminance": 0.61073
}

Semantic roles & 50–950 ramp

primary
#AFDC5C
secondary
#5F3CA0
accent
#19CC58
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFDC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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