#AFDD56#AFDD56

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

Color values

HEX#AFDD56
RGBrgb(175, 221, 86)
HSLhsl(80, 67%, 60%)
HSVhsv(80, 61%, 87%)
CMYKcmyk(20.8%, 0%, 61.1%, 13.3%)
CIE-LABlab(82.65, -34.88, 59.73)
CIE-LCHlch(82.65, 69.16, 120.28°)
OKLaboklab(83.85% -0.0993 0.1377)
OKLCHoklch(83.85% 0.17 125.8)
XYZxyz(45.2155, 61.4982, 18.2905)
Luminance0.6150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD56 #8456DD
analogous
#DDC756 #AFDD56 #6CDD56
triadic
#AFDD56 #56AFDD #DD56AF
tetradic
#AFDD56 #56DDC7 #8456DD #DD566C
square
#AFDD56 #56DDC7 #8456DD #DD566C
split-complementary
#AFDD56 #566CDD #C756DD
monochromatic
#709A1F #95CD29 #AFDD56 #C7E789 #DFF2BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDD56#FFFFFF#000000##000000
##AFDD561.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)
#E8CF46
Deuteranopia (green-blind)
#E2CD60
Tritanopia (blue-blind)
#B6D3C1
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdd56;
/* rgb */ color: rgb(175, 221, 86);
/* oklch */ color: oklch(83.8% 0.170 125.8);
Tailwind
colors: {
  custom: {
    50: '#cae78b',
    500: '#afdd56',
    950: '#000000',
  },
}
SCSS
$custom: #afdd56;
$custom-light: #cae78b;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd56",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 86
  },
  "hsl": {
    "h": 80.444,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83845,
    "c": 0.16974,
    "h": 125.8
  },
  "luminance": 0.61499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFDD56

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

Preview Lab → · Contrast checker → · Palette generator →

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