#AFD580#AFD580

#AFD580 is a very light, moderate yellow-green. Relative luminance 0.583; OKLCH L 82.6% C 0.119 H 128.4°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#AFD580
RGBrgb(175, 213, 128)
HSLhsl(87, 50%, 67%)
HSVhsv(87, 40%, 84%)
CMYKcmyk(17.8%, 0%, 39.9%, 16.5%)
CIE-LABlab(80.88, -26.84, 37.96)
CIE-LCHlch(80.88, 46.49, 125.26°)
OKLaboklab(82.58% -0.0737 0.0931)
OKLCHoklch(82.58% 0.119 128.4)
XYZxyz(45.3692, 58.2604, 29.2730)
Luminance0.5826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD580 #A680D5
analogous
#D5D180 #AFD580 #85D580
triadic
#AFD580 #80AFD5 #D580AF
tetradic
#AFD580 #80D5D1 #A680D5 #D58085
square
#AFD580 #80D5D1 #A680D5 #D58085
split-complementary
#AFD580 #8085D5 #D180D5
monochromatic
#73A436 #92C652 #AFD580 #CCE4AE #E9F3DC

Accessibility & contrast

On white

1.66
#AFD580 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#AFD580 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD580
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD580#FFFFFF#000000##000000
##AFD5801.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCA7A
Deuteranopia (green-blind)
#D7C885
Tritanopia (blue-blind)
#B3CEC0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd580;
/* rgb */ color: rgb(175, 213, 128);
/* oklch */ color: oklch(82.6% 0.119 128.4);
Tailwind
colors: {
  custom: {
    50: '#c8e2a6',
    500: '#afd580',
    950: '#000000',
  },
}
SCSS
$custom: #afd580;
$custom-light: #c8e2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afd580",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 128
  },
  "hsl": {
    "h": 86.824,
    "s": 50.296,
    "l": 66.863
  },
  "oklch": {
    "l": 0.82581,
    "c": 0.11872,
    "h": 128.4
  },
  "luminance": 0.58261
}

Semantic roles & 50–950 ramp

primary
#AFD580
secondary
#7851A8
accent
#28BE6B
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD580

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

Preview Lab → · Contrast checker → · Palette generator →

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