#AFDD51#AFDD51

#AFDD51 is a very light, vivid yellow-green. Relative luminance 0.614; OKLCH L 83.8% C 0.174 H 125.5°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#AFDD51
RGBrgb(175, 221, 81)
HSLhsl(80, 67%, 59%)
HSVhsv(80, 63%, 87%)
CMYKcmyk(20.8%, 0%, 63.3%, 13.3%)
CIE-LABlab(82.60, -35.26, 61.75)
CIE-LCHlch(82.60, 71.11, 119.73°)
OKLaboklab(83.8% -0.1008 0.1413)
OKLCHoklch(83.8% 0.174 125.5)
XYZxyz(45.0210, 61.4204, 17.2664)
Luminance0.6142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD51 #7F51DD
analogous
#DDC551 #AFDD51 #69DD51
triadic
#AFDD51 #51AFDD #DD51AF
tetradic
#AFDD51 #51DDC5 #7F51DD #DD5169
square
#AFDD51 #51DDC5 #7F51DD #DD5169
split-complementary
#AFDD51 #5169DD #C551DD
monochromatic
#6F961D #94C927 #AFDD51 #C7E784 #DEF1B7

Accessibility & contrast

On white

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

On black

13.28
#AFDD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDD51
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDD51#FFFFFF#000000##000000
##AFDD511.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3F
Deuteranopia (green-blind)
#E2CD5B
Tritanopia (blue-blind)
#B6D3C0
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdd51;
/* rgb */ color: rgb(175, 221, 81);
/* oklch */ color: oklch(83.8% 0.174 125.5);
Tailwind
colors: {
  custom: {
    50: '#cae788',
    500: '#afdd51',
    950: '#000000',
  },
}
SCSS
$custom: #afdd51;
$custom-light: #cae788;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd51",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 79.714,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83798,
    "c": 0.17361,
    "h": 125.5
  },
  "luminance": 0.61421
}

Semantic roles & 50–950 ramp

primary
#AFDD51
secondary
#58389B
accent
#3EEA76
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDD51

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

Preview Lab → · Contrast checker → · Palette generator →

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