#AFDC57#AFDC57

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

Color values

HEX#AFDC57
RGBrgb(175, 220, 87)
HSLhsl(80, 66%, 60%)
HSVhsv(80, 60%, 86%)
CMYKcmyk(20.5%, 0%, 60.5%, 13.7%)
CIE-LABlab(82.37, -34.34, 59.00)
CIE-LCHlch(82.37, 68.27, 120.20°)
OKLaboklab(83.63% -0.0977 0.1362)
OKLCHoklch(83.63% 0.168 125.7)
XYZxyz(44.9928, 60.9879, 18.4164)
Luminance0.6099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC57 #8457DC
analogous
#DCC757 #AFDC57 #6CDC57
triadic
#AFDC57 #57AFDC #DC57AF
tetradic
#AFDC57 #57DCC7 #8457DC #DC576C
square
#AFDC57 #57DCC7 #8457DC #DC576C
split-complementary
#AFDC57 #576CDC #C757DC
monochromatic
#709920 #95CB2A #AFDC57 #C7E78A #DFF1BC

Accessibility & contrast

On white

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

On black

13.20
#AFDC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC57
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC57#FFFFFF#000000##000000
##AFDC571.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afdc57;
/* rgb */ color: rgb(175, 220, 87);
/* oklch */ color: oklch(83.6% 0.168 125.7);
Tailwind
colors: {
  custom: {
    50: '#cae78b',
    500: '#afdc57',
    950: '#000000',
  },
}
SCSS
$custom: #afdc57;
$custom-light: #cae78b;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc57",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 80.301,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83627,
    "c": 0.16767,
    "h": 125.7
  },
  "luminance": 0.60988
}

Semantic roles & 50–950 ramp

primary
#AFDC57
secondary
#5C3A9D
accent
#18CD55
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDC57

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

Preview Lab → · Contrast checker → · Palette generator →

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