#AFD880#AFD880

#AFD880 is a very light, vivid yellow-green. Relative luminance 0.598; OKLCH L 83.3% C 0.123 H 129.1°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#AFD880
RGBrgb(175, 216, 128)
HSLhsl(88, 53%, 67%)
HSVhsv(88, 41%, 85%)
CMYKcmyk(19%, 0%, 40.7%, 15.3%)
CIE-LABlab(81.72, -28.27, 39.03)
CIE-LCHlch(81.72, 48.19, 125.92°)
OKLaboklab(83.25% -0.0777 0.0955)
OKLCHoklch(83.25% 0.123 129.1)
XYZxyz(46.1308, 59.7835, 29.5269)
Luminance0.5978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD880 #A980D8
analogous
#D8D580 #AFD880 #83D880
triadic
#AFD880 #80AFD8 #D880AF
tetradic
#AFD880 #80D8D5 #A980D8 #D88083
square
#AFD880 #80D8D5 #A980D8 #D88083
split-complementary
#AFD880 #8083D8 #D580D8
monochromatic
#73AA34 #92CA51 #AFD880 #CCE6AF #EAF5DE

Accessibility & contrast

On white

1.62
#AFD880 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#AFD880 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD880
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD880#FFFFFF#000000##000000
##AFD8801.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD79
Deuteranopia (green-blind)
#DACA85
Tritanopia (blue-blind)
#B2D1C2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd880;
/* rgb */ color: rgb(175, 216, 128);
/* oklch */ color: oklch(83.3% 0.123 129.1);
Tailwind
colors: {
  custom: {
    50: '#c8e4a6',
    500: '#afd880',
    950: '#000000',
  },
}
SCSS
$custom: #afd880;
$custom-light: #c8e4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afd880",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 128
  },
  "hsl": {
    "h": 87.955,
    "s": 53.012,
    "l": 67.451
  },
  "oklch": {
    "l": 0.83254,
    "c": 0.12314,
    "h": 129.1
  },
  "luminance": 0.59784
}

Semantic roles & 50–950 ramp

primary
#AFD880
secondary
#7B4FAD
accent
#25C06D
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD880

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

Preview Lab → · Contrast checker → · Palette generator →

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