#AFDC58#AFDC58

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

Color values

HEX#AFDC58
RGBrgb(175, 220, 88)
HSLhsl(80, 65%, 60%)
HSVhsv(80, 60%, 86%)
CMYKcmyk(20.5%, 0%, 60%, 13.7%)
CIE-LABlab(82.38, -34.26, 58.58)
CIE-LCHlch(82.38, 67.87, 120.32°)
OKLaboklab(83.64% -0.0974 0.1355)
OKLCHoklch(83.64% 0.167 125.7)
XYZxyz(45.0339, 61.0044, 18.6331)
Luminance0.6100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC58 #8558DC
analogous
#DCC758 #AFDC58 #6DDC58
triadic
#AFDC58 #58AFDC #DC58AF
tetradic
#AFDC58 #58DCC7 #8558DC #DC586D
square
#AFDC58 #58DCC7 #8558DC #DC586D
split-complementary
#AFDC58 #586DDC #C758DC
monochromatic
#709920 #95CC2B #AFDC58 #C7E78B #DFF1BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDC58#FFFFFF#000000##000000
##AFDC581.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)
#E7CF49
Deuteranopia (green-blind)
#E1CC61
Tritanopia (blue-blind)
#B6D2C0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdc58;
/* rgb */ color: rgb(175, 220, 88);
/* oklch */ color: oklch(83.6% 0.167 125.7);
Tailwind
colors: {
  custom: {
    50: '#cae78c',
    500: '#afdc58',
    950: '#000000',
  },
}
SCSS
$custom: #afdc58;
$custom-light: #cae78c;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc58",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 88
  },
  "hsl": {
    "h": 80.455,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83637,
    "c": 0.16686,
    "h": 125.7
  },
  "luminance": 0.61005
}

Semantic roles & 50–950 ramp

primary
#AFDC58
secondary
#5C3B9E
accent
#18CD56
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDC58

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

Preview Lab → · Contrast checker → · Palette generator →

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