#AFE561#AFE561

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

Color values

HEX#AFE561
RGBrgb(175, 229, 97)
HSLhsl(85, 72%, 64%)
HSVhsv(85, 58%, 90%)
CMYKcmyk(23.6%, 0%, 57.6%, 10.2%)
CIE-LABlab(85.00, -37.59, 57.63)
CIE-LCHlch(85.00, 68.81, 123.11°)
OKLaboklab(85.78% -0.1059 0.1344)
OKLCHoklch(85.78% 0.171 128.2)
XYZxyz(47.8560, 66.0147, 21.5278)
Luminance0.6602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE561 #9761E5
analogous
#E5D961 #AFE561 #6DE561
triadic
#AFE561 #61AFE5 #E561AF
tetradic
#AFE561 #61E5D9 #9761E5 #E5616D
square
#AFE561 #61E5D9 #9761E5 #E5616D
split-complementary
#AFE561 #616DE5 #D961E5
monochromatic
#73AF1D #94DC2C #AFE561 #CAEE96 #E4F6CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE561#FFFFFF#000000##000000
##AFE5611.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)
#EFD753
Deuteranopia (green-blind)
#E8D36A
Tritanopia (blue-blind)
#B4DCC8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe561;
/* rgb */ color: rgb(175, 229, 97);
/* oklch */ color: oklch(85.8% 0.171 128.2);
Tailwind
colors: {
  custom: {
    50: '#caed92',
    500: '#afe561',
    950: '#000000',
  },
}
SCSS
$custom: #afe561;
$custom-light: #caed92;
$custom-dark: #000000;
JSON
{
  "hex": "#afe561",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 97
  },
  "hsl": {
    "h": 84.545,
    "s": 71.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85784,
    "c": 0.17109,
    "h": 128.2
  },
  "luminance": 0.66016
}

Semantic roles & 50–950 ramp

primary
#AFE561
secondary
#6A3AB0
accent
#12D461
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE561

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

Preview Lab → · Contrast checker → · Palette generator →

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