#AFDE52#AFDE52

#AFDE52 is a very light, vivid yellow-green. Relative luminance 0.620; OKLCH L 84.0% C 0.174 H 125.8°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#AFDE52
RGBrgb(175, 222, 82)
HSLhsl(80, 68%, 60%)
HSVhsv(80, 63%, 87%)
CMYKcmyk(21.2%, 0%, 63.1%, 12.9%)
CIE-LABlab(82.89, -35.64, 61.66)
CIE-LCHlch(82.89, 71.22, 120.03°)
OKLaboklab(84.04% -0.1018 0.1412)
OKLCHoklch(84.04% 0.174 125.8)
XYZxyz(45.3236, 61.9651, 17.5536)
Luminance0.6197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDE52 #8152DE
analogous
#DEC752 #AFDE52 #69DE52
triadic
#AFDE52 #52AFDE #DE52AF
tetradic
#AFDE52 #52DEC7 #8152DE #DE5269
square
#AFDE52 #52DEC7 #8152DE #DE5269
split-complementary
#AFDE52 #5269DE #C752DE
monochromatic
#6F991D #95CC27 #AFDE52 #C7E885 #DFF2B9

Accessibility & contrast

On white

1.57
#AFDE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#AFDE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDE52
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDE52#FFFFFF#000000##000000
##AFDE521.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D040
Deuteranopia (green-blind)
#E3CE5C
Tritanopia (blue-blind)
#B6D4C1
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afde52;
/* rgb */ color: rgb(175, 222, 82);
/* oklch */ color: oklch(84.0% 0.174 125.8);
Tailwind
colors: {
  custom: {
    50: '#cae889',
    500: '#afde52',
    950: '#000000',
  },
}
SCSS
$custom: #afde52;
$custom-light: #cae889;
$custom-dark: #000000;
JSON
{
  "hex": "#afde52",
  "rgb": {
    "r": 175,
    "g": 222,
    "b": 82
  },
  "hsl": {
    "h": 80.143,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84036,
    "c": 0.1741,
    "h": 125.8
  },
  "luminance": 0.61966
}

Semantic roles & 50–950 ramp

primary
#AFDE52
secondary
#5A389D
accent
#3DEB77
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDE52

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

Preview Lab → · Contrast checker → · Palette generator →

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