#AFE557#AFE557

#AFE557 is a very light, vivid yellow-green. Relative luminance 0.658; OKLCH L 85.7% C 0.179 H 127.5°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#AFE557
RGBrgb(175, 229, 87)
HSLhsl(83, 73%, 62%)
HSVhsv(83, 62%, 90%)
CMYKcmyk(23.6%, 0%, 62%, 10.2%)
CIE-LABlab(84.91, -38.42, 61.79)
CIE-LCHlch(84.91, 72.76, 121.87°)
OKLaboklab(85.68% -0.109 0.1421)
OKLCHoklch(85.68% 0.179 127.5)
XYZxyz(47.4188, 65.8398, 19.2251)
Luminance0.6584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE557 #8D57E5
analogous
#E5D457 #AFE557 #68E557
triadic
#AFE557 #57AFE5 #E557AF
tetradic
#AFE557 #57E5D4 #8D57E5 #E55768
square
#AFE557 #57E5D4 #8D57E5 #E55768
split-complementary
#AFE557 #5768E5 #D457E5
monochromatic
#72A81A #96DD22 #AFE557 #C8ED8C #E1F5C1

Accessibility & contrast

On white

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

On black

14.17
#AFE557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE557
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE557#FFFFFF#000000##000000
##AFE5571.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D646
Deuteranopia (green-blind)
#E8D362
Tritanopia (blue-blind)
#B5DBC7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe557;
/* rgb */ color: rgb(175, 229, 87);
/* oklch */ color: oklch(85.7% 0.179 127.5);
Tailwind
colors: {
  custom: {
    50: '#caed8c',
    500: '#afe557',
    950: '#000000',
  },
}
SCSS
$custom: #afe557;
$custom-light: #caed8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe557",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 87
  },
  "hsl": {
    "h": 82.817,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85683,
    "c": 0.17913,
    "h": 127.5
  },
  "luminance": 0.65841
}

Semantic roles & 50–950 ramp

primary
#AFE557
secondary
#6237AA
accent
#10D55B
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE557

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

Preview Lab → · Contrast checker → · Palette generator →

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