#AFD480#AFD480

#AFD480 is a very light, moderate yellow-green. Relative luminance 0.578; OKLCH L 82.4% C 0.117 H 128.1°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#AFD480
RGBrgb(175, 212, 128)
HSLhsl(86, 49%, 67%)
HSVhsv(86, 40%, 83%)
CMYKcmyk(17.5%, 0%, 39.6%, 16.9%)
CIE-LABlab(80.60, -26.36, 37.60)
CIE-LCHlch(80.60, 45.92, 125.03°)
OKLaboklab(82.36% -0.0724 0.0922)
OKLCHoklch(82.36% 0.117 128.1)
XYZxyz(45.1185, 57.7589, 29.1894)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD480 #A580D4
analogous
#D4CF80 #AFD480 #85D480
triadic
#AFD480 #80AFD4 #D480AF
tetradic
#AFD480 #80D4CF #A580D4 #D48085
square
#AFD480 #80D4CF #A580D4 #D48085
split-complementary
#AFD480 #8085D4 #CF80D4
monochromatic
#73A337 #92C552 #AFD480 #CCE3AE #E9F3DB

Accessibility & contrast

On white

1.67
#AFD480 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#AFD480 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD480
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD480#FFFFFF#000000##000000
##AFD4801.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCA7A
Deuteranopia (green-blind)
#D6C784
Tritanopia (blue-blind)
#B3CDBF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd480;
/* rgb */ color: rgb(175, 212, 128);
/* oklch */ color: oklch(82.4% 0.117 128.1);
Tailwind
colors: {
  custom: {
    50: '#c8e1a6',
    500: '#afd480',
    950: '#000000',
  },
}
SCSS
$custom: #afd480;
$custom-light: #c8e1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afd480",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 128
  },
  "hsl": {
    "h": 86.429,
    "s": 49.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82357,
    "c": 0.11725,
    "h": 128.1
  },
  "luminance": 0.57759
}

Semantic roles & 50–950 ramp

primary
#AFD480
secondary
#7751A7
accent
#29BD6A
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD480

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

Preview Lab → · Contrast checker → · Palette generator →

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