#AFDD58#AFDD58

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

Color values

HEX#AFDD58
RGBrgb(175, 221, 88)
HSLhsl(81, 66%, 61%)
HSVhsv(81, 60%, 87%)
CMYKcmyk(20.8%, 0%, 60.2%, 13.3%)
CIE-LABlab(82.66, -34.72, 58.90)
CIE-LCHlch(82.66, 68.37, 120.52°)
OKLaboklab(83.87% -0.0987 0.1361)
OKLCHoklch(83.87% 0.168 125.9)
XYZxyz(45.2972, 61.5309, 18.7208)
Luminance0.6153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD58 #8658DD
analogous
#DDC858 #AFDD58 #6CDD58
triadic
#AFDD58 #58AFDD #DD58AF
tetradic
#AFDD58 #58DDC8 #8658DD #DD586C
square
#AFDD58 #58DDC8 #8658DD #DD586C
split-complementary
#AFDD58 #586CDD #C858DD
monochromatic
#709B20 #95CE2A #AFDD58 #C7E78B #E0F2BE

Accessibility & contrast

On white

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

On black

13.31
#AFDD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDD58
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDD58#FFFFFF#000000##000000
##AFDD581.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afdd58;
/* rgb */ color: rgb(175, 221, 88);
/* oklch */ color: oklch(83.9% 0.168 125.9);
Tailwind
colors: {
  custom: {
    50: '#cae78c',
    500: '#afdd58',
    950: '#000000',
  },
}
SCSS
$custom: #afdd58;
$custom-light: #cae78c;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd58",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 88
  },
  "hsl": {
    "h": 80.752,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83865,
    "c": 0.16815,
    "h": 125.9
  },
  "luminance": 0.61531
}

Semantic roles & 50–950 ramp

primary
#AFDD58
secondary
#5D3A9F
accent
#17CE57
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDD58

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

Preview Lab → · Contrast checker → · Palette generator →

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