#AFD559#AFD559

#AFD559 is a very light, vivid yellow-green. Relative luminance 0.574; OKLCH L 82.1% C 0.157 H 124.1°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#AFD559
RGBrgb(175, 213, 89)
HSLhsl(78, 60%, 59%)
HSVhsv(78, 58%, 84%)
CMYKcmyk(17.8%, 0%, 58.2%, 16.5%)
CIE-LABlab(80.42, -30.93, 55.96)
CIE-LCHlch(80.42, 63.94, 118.93°)
OKLaboklab(82.06% -0.0881 0.13)
OKLCHoklch(82.06% 0.157 124.1)
XYZxyz(43.2768, 57.4234, 18.2531)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD559 #7F59D5
analogous
#D5BD59 #AFD559 #71D559
triadic
#AFD559 #59AFD5 #D559AF
tetradic
#AFD559 #59D5BD #7F59D5 #D55971
square
#AFD559 #59D5BD #7F59D5 #D55971
split-complementary
#AFD559 #5971D5 #BD59D5
monochromatic
#6F8F24 #94C031 #AFD559 #C7E18A #DEEEBB

Accessibility & contrast

On white

1.68
#AFD559 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#AFD559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD559
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD559#FFFFFF#000000##000000
##AFD5591.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94C
Deuteranopia (green-blind)
#DBC761
Tritanopia (blue-blind)
#B6CBBA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd559;
/* rgb */ color: rgb(175, 213, 89);
/* oklch */ color: oklch(82.1% 0.157 124.1);
Tailwind
colors: {
  custom: {
    50: '#c9e28c',
    500: '#afd559',
    950: '#000000',
  },
}
SCSS
$custom: #afd559;
$custom-light: #c9e28c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd559",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 89
  },
  "hsl": {
    "h": 78.387,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82055,
    "c": 0.15702,
    "h": 124.1
  },
  "luminance": 0.57424
}

Semantic roles & 50–950 ramp

primary
#AFD559
secondary
#583D95
accent
#45E375
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD559

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

Preview Lab → · Contrast checker → · Palette generator →

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