#AFE480#AFE480

#AFE480 is a very light, vivid yellow-green. Relative luminance 0.662; OKLCH L 86.0% C 0.141 H 131.6°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#AFE480
RGBrgb(175, 228, 128)
HSLhsl(92, 65%, 70%)
HSVhsv(92, 44%, 89%)
CMYKcmyk(23.2%, 0%, 43.9%, 10.6%)
CIE-LABlab(85.08, -33.89, 43.28)
CIE-LCHlch(85.08, 54.97, 128.06°)
OKLaboklab(85.96% -0.0934 0.1052)
OKLCHoklch(85.96% 0.141 131.6)
XYZxyz(49.3181, 66.1582, 30.5893)
Luminance0.6616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE480 #B580E4
analogous
#E1E480 #AFE480 #80E483
triadic
#AFE480 #80AFE4 #E480AF
tetradic
#AFE480 #80E1E4 #B580E4 #E48380
square
#AFE480 #80E1E4 #B580E4 #E48380
split-complementary
#AFE480 #8380E4 #E480E1
monochromatic
#70C129 #8FD94E #AFE480 #CFEFB2 #EFF9E5

Accessibility & contrast

On white

1.48
#AFE480 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#AFE480 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE480
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE480#FFFFFF#000000##000000
##AFE4801.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD778
Deuteranopia (green-blind)
#E4D386
Tritanopia (blue-blind)
#B1DDCC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe480;
/* rgb */ color: rgb(175, 228, 128);
/* oklch */ color: oklch(86.0% 0.141 131.6);
Tailwind
colors: {
  custom: {
    50: '#c9eca6',
    500: '#afe480',
    950: '#000000',
  },
}
SCSS
$custom: #afe480;
$custom-light: #c9eca6;
$custom-dark: #000000;
JSON
{
  "hex": "#afe480",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 128
  },
  "hsl": {
    "h": 91.8,
    "s": 64.935,
    "l": 69.804
  },
  "oklch": {
    "l": 0.85958,
    "c": 0.14065,
    "h": 131.6
  },
  "luminance": 0.66159
}

Semantic roles & 50–950 ramp

primary
#AFE480
secondary
#874CBC
accent
#19CD78
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE480

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

Preview Lab → · Contrast checker → · Palette generator →

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