#AFDD59#AFDD59

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

Color values

HEX#AFDD59
RGBrgb(175, 221, 89)
HSLhsl(81, 66%, 61%)
HSVhsv(81, 60%, 87%)
CMYKcmyk(20.8%, 0%, 59.7%, 13.3%)
CIE-LABlab(82.67, -34.64, 58.48)
CIE-LCHlch(82.67, 67.97, 120.64°)
OKLaboklab(83.88% -0.0984 0.1354)
OKLCHoklch(83.88% 0.167 126)
XYZxyz(45.3389, 61.5476, 18.9405)
Luminance0.6155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD59 #8759DD
analogous
#DDC959 #AFDD59 #6DDD59
triadic
#AFDD59 #59AFDD #DD59AF
tetradic
#AFDD59 #59DDC9 #8759DD #DD596D
square
#AFDD59 #59DDC9 #8759DD #DD596D
split-complementary
#AFDD59 #596DDD #C959DD
monochromatic
#719C20 #95CF2A #AFDD59 #C7E78C #E0F2BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDD59#FFFFFF#000000##000000
##AFDD591.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)
#E8D04A
Deuteranopia (green-blind)
#E2CD62
Tritanopia (blue-blind)
#B5D3C1
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdd59;
/* rgb */ color: rgb(175, 221, 89);
/* oklch */ color: oklch(83.9% 0.167 126.0);
Tailwind
colors: {
  custom: {
    50: '#cae78d',
    500: '#afdd59',
    950: '#000000',
  },
}
SCSS
$custom: #afdd59;
$custom-light: #cae78d;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd59",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 89
  },
  "hsl": {
    "h": 80.909,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83875,
    "c": 0.16733,
    "h": 126
  },
  "luminance": 0.61548
}

Semantic roles & 50–950 ramp

primary
#AFDD59
secondary
#5E3BA0
accent
#18CE57
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDD59

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

Preview Lab → · Contrast checker → · Palette generator →

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