#AFDE56#AFDE56

#AFDE56 is a very light, vivid yellow-green. Relative luminance 0.620; OKLCH L 84.1% C 0.171 H 126.0°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#AFDE56
RGBrgb(175, 222, 86)
HSLhsl(81, 67%, 60%)
HSVhsv(81, 61%, 87%)
CMYKcmyk(21.2%, 0%, 61.3%, 12.9%)
CIE-LABlab(82.93, -35.34, 60.04)
CIE-LCHlch(82.93, 69.66, 120.48°)
OKLaboklab(84.07% -0.1006 0.1383)
OKLCHoklch(84.07% 0.171 126)
XYZxyz(45.4803, 62.0278, 18.3788)
Luminance0.6203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDE56 #8556DE
analogous
#DEC956 #AFDE56 #6BDE56
triadic
#AFDE56 #56AFDE #DE56AF
tetradic
#AFDE56 #56DEC9 #8556DE #DE566B
square
#AFDE56 #56DEC9 #8556DE #DE566B
split-complementary
#AFDE56 #566BDE #C956DE
monochromatic
#709B1E #95CE28 #AFDE56 #C7E889 #DFF2BC

Accessibility & contrast

On white

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

On black

13.41
#AFDE56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDE56
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDE56#FFFFFF#000000##000000
##AFDE561.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afde56;
/* rgb */ color: rgb(175, 222, 86);
/* oklch */ color: oklch(84.1% 0.171 126.0);
Tailwind
colors: {
  custom: {
    50: '#cae88b',
    500: '#afde56',
    950: '#000000',
  },
}
SCSS
$custom: #afde56;
$custom-light: #cae88b;
$custom-dark: #000000;
JSON
{
  "hex": "#afde56",
  "rgb": {
    "r": 175,
    "g": 222,
    "b": 86
  },
  "hsl": {
    "h": 80.735,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84074,
    "c": 0.17101,
    "h": 126
  },
  "luminance": 0.62028
}

Semantic roles & 50–950 ramp

primary
#AFDE56
secondary
#5C399F
accent
#16CF56
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDE56

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

Preview Lab → · Contrast checker → · Palette generator →

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