#AFE580#AFE580

#AFE580 is a very light, vivid yellow-green. Relative luminance 0.667; OKLCH L 86.2% C 0.142 H 131.8°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#AFE580
RGBrgb(175, 229, 128)
HSLhsl(92, 66%, 70%)
HSVhsv(92, 44%, 90%)
CMYKcmyk(23.6%, 0%, 44.1%, 10.2%)
CIE-LABlab(85.36, -34.35, 43.63)
CIE-LCHlch(85.36, 55.53, 128.21°)
OKLaboklab(86.19% -0.0947 0.106)
OKLCHoklch(86.19% 0.142 131.8)
XYZxyz(49.5940, 66.7099, 30.6813)
Luminance0.6671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE580 #B680E5
analogous
#E2E580 #AFE580 #80E583
triadic
#AFE580 #80AFE5 #E580AF
tetradic
#AFE580 #80E2E5 #B680E5 #E58380
square
#AFE580 #80E2E5 #B680E5 #E58380
split-complementary
#AFE580 #8380E5 #E580E2
monochromatic
#70C328 #8FDB4D #AFE580 #CFEFB3 #EFFAE6

Accessibility & contrast

On white

1.46
#AFE580 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#AFE580 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE580
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE580#FFFFFF#000000##000000
##AFE5801.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD878
Deuteranopia (green-blind)
#E5D486
Tritanopia (blue-blind)
#B1DECD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe580;
/* rgb */ color: rgb(175, 229, 128);
/* oklch */ color: oklch(86.2% 0.142 131.8);
Tailwind
colors: {
  custom: {
    50: '#c9eda6',
    500: '#afe580',
    950: '#000000',
  },
}
SCSS
$custom: #afe580;
$custom-light: #c9eda6;
$custom-dark: #000000;
JSON
{
  "hex": "#afe580",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 128
  },
  "hsl": {
    "h": 92.079,
    "s": 66.013,
    "l": 70
  },
  "oklch": {
    "l": 0.86185,
    "c": 0.1421,
    "h": 131.8
  },
  "luminance": 0.66711
}

Semantic roles & 50–950 ramp

primary
#AFE580
secondary
#894CBD
accent
#18CE79
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE580

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

Preview Lab → · Contrast checker → · Palette generator →

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