#AFE560#AFE560

#AFE560 is a very light, vivid yellow-green. Relative luminance 0.660; OKLCH L 85.8% C 0.172 H 128.1°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#AFE560
RGBrgb(175, 229, 96)
HSLhsl(84, 72%, 64%)
HSVhsv(84, 58%, 90%)
CMYKcmyk(23.6%, 0%, 58.1%, 10.2%)
CIE-LABlab(84.99, -37.68, 58.06)
CIE-LCHlch(84.99, 69.21, 122.98°)
OKLaboklab(85.77% -0.1062 0.1352)
OKLCHoklch(85.77% 0.172 128.1)
XYZxyz(47.8096, 65.9962, 21.2837)
Luminance0.6600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE560 #9660E5
analogous
#E5D860 #AFE560 #6CE560
triadic
#AFE560 #60AFE5 #E560AF
tetradic
#AFE560 #60E5D8 #9660E5 #E5606C
square
#AFE560 #60E5D8 #9660E5 #E5606C
split-complementary
#AFE560 #606CE5 #D860E5
monochromatic
#73AE1C #95DC2B #AFE560 #C9EE95 #E4F6C9

Accessibility & contrast

On white

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

On black

14.20
#AFE560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE560
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE560#FFFFFF#000000##000000
##AFE5601.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD752
Deuteranopia (green-blind)
#E8D369
Tritanopia (blue-blind)
#B4DCC8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe560;
/* rgb */ color: rgb(175, 229, 96);
/* oklch */ color: oklch(85.8% 0.172 128.1);
Tailwind
colors: {
  custom: {
    50: '#caed92',
    500: '#afe560',
    950: '#000000',
  },
}
SCSS
$custom: #afe560;
$custom-light: #caed92;
$custom-dark: #000000;
JSON
{
  "hex": "#afe560",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 96
  },
  "hsl": {
    "h": 84.361,
    "s": 71.892,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85774,
    "c": 0.17192,
    "h": 128.1
  },
  "luminance": 0.65997
}

Semantic roles & 50–950 ramp

primary
#AFE560
secondary
#6A3AAF
accent
#12D460
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE560

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

Preview Lab → · Contrast checker → · Palette generator →

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