#AFE558#AFE558

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

Color values

HEX#AFE558
RGBrgb(175, 229, 88)
HSLhsl(83, 73%, 62%)
HSVhsv(83, 62%, 90%)
CMYKcmyk(23.6%, 0%, 61.6%, 10.2%)
CIE-LABlab(84.92, -38.34, 61.38)
CIE-LCHlch(84.92, 72.37, 121.99°)
OKLaboklab(85.69% -0.1087 0.1414)
OKLCHoklch(85.69% 0.178 127.6)
XYZxyz(47.4599, 65.8563, 19.4417)
Luminance0.6586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE558 #8E58E5
analogous
#E5D558 #AFE558 #68E558
triadic
#AFE558 #58AFE5 #E558AF
tetradic
#AFE558 #58E5D5 #8E58E5 #E55868
square
#AFE558 #58E5D5 #8E58E5 #E55868
split-complementary
#AFE558 #5868E5 #D558E5
monochromatic
#72A81A #96DD23 #AFE558 #C8ED8D #E2F5C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE558#FFFFFF#000000##000000
##AFE5581.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)
#F0D647
Deuteranopia (green-blind)
#E8D362
Tritanopia (blue-blind)
#B5DBC7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe558;
/* rgb */ color: rgb(175, 229, 88);
/* oklch */ color: oklch(85.7% 0.178 127.6);
Tailwind
colors: {
  custom: {
    50: '#caed8d',
    500: '#afe558',
    950: '#000000',
  },
}
SCSS
$custom: #afe558;
$custom-light: #caed8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe558",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 88
  },
  "hsl": {
    "h": 82.979,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.85693,
    "c": 0.17836,
    "h": 127.6
  },
  "luminance": 0.65857
}

Semantic roles & 50–950 ramp

primary
#AFE558
secondary
#6337AA
accent
#10D55C
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE558

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

Preview Lab → · Contrast checker → · Palette generator →

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