#AFDE51#AFDE51

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

Color values

HEX#AFDE51
RGBrgb(175, 222, 81)
HSLhsl(80, 68%, 59%)
HSVhsv(80, 64%, 87%)
CMYKcmyk(21.2%, 0%, 63.5%, 12.9%)
CIE-LABlab(82.89, -35.72, 62.06)
CIE-LCHlch(82.89, 71.60, 119.92°)
OKLaboklab(84.03% -0.1021 0.142)
OKLCHoklch(84.03% 0.175 125.7)
XYZxyz(45.2858, 61.9500, 17.3547)
Luminance0.6195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDE51 #8051DE
analogous
#DEC751 #AFDE51 #69DE51
triadic
#AFDE51 #51AFDE #DE51AF
tetradic
#AFDE51 #51DEC7 #8051DE #DE5169
square
#AFDE51 #51DEC7 #8051DE #DE5169
split-complementary
#AFDE51 #5169DE #C751DE
monochromatic
#6F981D #94CB27 #AFDE51 #C7E884 #DEF2B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDE51#FFFFFF#000000##000000
##AFDE511.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)
#E9D03F
Deuteranopia (green-blind)
#E3CE5C
Tritanopia (blue-blind)
#B6D4C1
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afde51;
/* rgb */ color: rgb(175, 222, 81);
/* oklch */ color: oklch(84.0% 0.175 125.7);
Tailwind
colors: {
  custom: {
    50: '#cae888',
    500: '#afde51',
    950: '#000000',
  },
}
SCSS
$custom: #afde51;
$custom-light: #cae888;
$custom-dark: #000000;
JSON
{
  "hex": "#afde51",
  "rgb": {
    "r": 175,
    "g": 222,
    "b": 81
  },
  "hsl": {
    "h": 80,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84027,
    "c": 0.17485,
    "h": 125.7
  },
  "luminance": 0.61951
}

Semantic roles & 50–950 ramp

primary
#AFDE51
secondary
#59379C
accent
#3DEB77
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDE51

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

Preview Lab → · Contrast checker → · Palette generator →

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