#AFDD57#AFDD57

#AFDD57 is a very light, vivid yellow-green. Relative luminance 0.615; OKLCH L 83.9% C 0.169 H 125.9°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#AFDD57
RGBrgb(175, 221, 87)
HSLhsl(81, 66%, 60%)
HSVhsv(81, 61%, 87%)
CMYKcmyk(20.8%, 0%, 60.6%, 13.3%)
CIE-LABlab(82.65, -34.80, 59.31)
CIE-LCHlch(82.65, 68.77, 120.40°)
OKLaboklab(83.86% -0.099 0.1369)
OKLCHoklch(83.86% 0.169 125.9)
XYZxyz(45.2560, 61.5144, 18.5042)
Luminance0.6151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD57 #8557DD
analogous
#DDC857 #AFDD57 #6CDD57
triadic
#AFDD57 #57AFDD #DD57AF
tetradic
#AFDD57 #57DDC8 #8557DD #DD576C
square
#AFDD57 #57DDC8 #8557DD #DD576C
split-complementary
#AFDD57 #576CDD #C857DD
monochromatic
#709A1F #95CD2A #AFDD57 #C7E78A #DFF2BD

Accessibility & contrast

On white

1.58
#AFDD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#AFDD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDD57
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDD57#FFFFFF#000000##000000
##AFDD571.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF47
Deuteranopia (green-blind)
#E2CD61
Tritanopia (blue-blind)
#B6D3C1
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdd57;
/* rgb */ color: rgb(175, 221, 87);
/* oklch */ color: oklch(83.9% 0.169 125.9);
Tailwind
colors: {
  custom: {
    50: '#cae78b',
    500: '#afdd57',
    950: '#000000',
  },
}
SCSS
$custom: #afdd57;
$custom-light: #cae78b;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd57",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 87
  },
  "hsl": {
    "h": 80.597,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83855,
    "c": 0.16894,
    "h": 125.9
  },
  "luminance": 0.61515
}

Semantic roles & 50–950 ramp

primary
#AFDD57
secondary
#5C3A9E
accent
#17CE56
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDD57

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

Preview Lab → · Contrast checker → · Palette generator →

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