#AFDD54#AFDD54

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

Color values

HEX#AFDD54
RGBrgb(175, 221, 84)
HSLhsl(80, 67%, 60%)
HSVhsv(80, 62%, 87%)
CMYKcmyk(20.8%, 0%, 62%, 13.3%)
CIE-LABlab(82.63, -35.03, 60.54)
CIE-LCHlch(82.63, 69.95, 120.06°)
OKLaboklab(83.83% -0.0999 0.1392)
OKLCHoklch(83.83% 0.171 125.7)
XYZxyz(45.1360, 61.4664, 17.8720)
Luminance0.6147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD54 #8254DD
analogous
#DDC654 #AFDD54 #6BDD54
triadic
#AFDD54 #54AFDD #DD54AF
tetradic
#AFDD54 #54DDC6 #8254DD #DD546B
square
#AFDD54 #54DDC6 #8254DD #DD546B
split-complementary
#AFDD54 #546BDD #C654DD
monochromatic
#6F981E #95CB28 #AFDD54 #C7E787 #DFF1BA

Accessibility & contrast

On white

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

On black

13.29
#AFDD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDD54
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDD54#FFFFFF#000000##000000
##AFDD541.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afdd54;
/* rgb */ color: rgb(175, 221, 84);
/* oklch */ color: oklch(83.8% 0.171 125.7);
Tailwind
colors: {
  custom: {
    50: '#cae78a',
    500: '#afdd54',
    950: '#000000',
  },
}
SCSS
$custom: #afdd54;
$custom-light: #cae78a;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd54",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 84
  },
  "hsl": {
    "h": 80.146,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83826,
    "c": 0.17131,
    "h": 125.7
  },
  "luminance": 0.61467
}

Semantic roles & 50–950 ramp

primary
#AFDD54
secondary
#5A399C
accent
#3EEA78
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDD54

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

Preview Lab → · Contrast checker → · Palette generator →

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