#AFDE57#AFDE57

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

Color values

HEX#AFDE57
RGBrgb(175, 222, 87)
HSLhsl(81, 67%, 61%)
HSVhsv(81, 61%, 87%)
CMYKcmyk(21.2%, 0%, 60.8%, 12.9%)
CIE-LABlab(82.94, -35.26, 59.62)
CIE-LCHlch(82.94, 69.27, 120.60°)
OKLaboklab(84.08% -0.1003 0.1376)
OKLCHoklch(84.08% 0.17 126.1)
XYZxyz(45.5208, 62.0440, 18.5924)
Luminance0.6204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDE57 #8657DE
analogous
#DEC957 #AFDE57 #6BDE57
triadic
#AFDE57 #57AFDE #DE57AF
tetradic
#AFDE57 #57DEC9 #8657DE #DE576B
square
#AFDE57 #57DEC9 #8657DE #DE576B
split-complementary
#AFDE57 #576BDE #C957DE
monochromatic
#709C1F #95CF29 #AFDE57 #C7E88A #E0F2BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDE57#FFFFFF#000000##000000
##AFDE571.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)
#E9D047
Deuteranopia (green-blind)
#E3CE61
Tritanopia (blue-blind)
#B6D4C1
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afde57;
/* rgb */ color: rgb(175, 222, 87);
/* oklch */ color: oklch(84.1% 0.170 126.1);
Tailwind
colors: {
  custom: {
    50: '#cae88c',
    500: '#afde57',
    950: '#000000',
  },
}
SCSS
$custom: #afde57;
$custom-light: #cae88c;
$custom-dark: #000000;
JSON
{
  "hex": "#afde57",
  "rgb": {
    "r": 175,
    "g": 222,
    "b": 87
  },
  "hsl": {
    "h": 80.889,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84083,
    "c": 0.17022,
    "h": 126.1
  },
  "luminance": 0.62045
}

Semantic roles & 50–950 ramp

primary
#AFDE57
secondary
#5D3AA0
accent
#16CF57
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDE57

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

Preview Lab → · Contrast checker → · Palette generator →

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