#AFDC52#AFDC52

#AFDC52 is a very light, vivid yellow-green. Relative luminance 0.609; OKLCH L 83.6% C 0.172 H 125.3°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#AFDC52
RGBrgb(175, 220, 82)
HSLhsl(80, 66%, 59%)
HSVhsv(80, 63%, 86%)
CMYKcmyk(20.5%, 0%, 62.7%, 13.7%)
CIE-LABlab(82.33, -34.73, 61.05)
CIE-LCHlch(82.33, 70.23, 119.63°)
OKLaboklab(83.58% -0.0993 0.14)
OKLCHoklch(83.58% 0.172 125.3)
XYZxyz(44.7956, 60.9090, 17.3776)
Luminance0.6091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC52 #7F52DC
analogous
#DCC452 #AFDC52 #6ADC52
triadic
#AFDC52 #52AFDC #DC52AF
tetradic
#AFDC52 #52DCC4 #7F52DC #DC526A
square
#AFDC52 #52DCC4 #7F52DC #DC526A
split-complementary
#AFDC52 #526ADC #C452DC
monochromatic
#6F951E #94C829 #AFDC52 #C7E685 #DEF1B8

Accessibility & contrast

On white

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

On black

13.18
#AFDC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC52
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC52#FFFFFF#000000##000000
##AFDC521.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE41
Deuteranopia (green-blind)
#E1CC5C
Tritanopia (blue-blind)
#B6D2BF
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdc52;
/* rgb */ color: rgb(175, 220, 82);
/* oklch */ color: oklch(83.6% 0.172 125.3);
Tailwind
colors: {
  custom: {
    50: '#cae788',
    500: '#afdc52',
    950: '#000000',
  },
}
SCSS
$custom: #afdc52;
$custom-light: #cae788;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc52",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 79.565,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83579,
    "c": 0.17159,
    "h": 125.3
  },
  "luminance": 0.6091
}

Semantic roles & 50–950 ramp

primary
#AFDC52
secondary
#58389A
accent
#3FE976
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDC52

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

Preview Lab → · Contrast checker → · Palette generator →

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