#AFE559#AFE559

#AFE559 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#AFE559
RGBrgb(175, 229, 89)
HSLhsl(83, 73%, 62%)
HSVhsv(83, 61%, 90%)
CMYKcmyk(23.6%, 0%, 61.1%, 10.2%)
CIE-LABlab(84.93, -38.26, 60.98)
CIE-LCHlch(84.93, 71.99, 122.11°)
OKLaboklab(85.7% -0.1084 0.1407)
OKLCHoklch(85.7% 0.178 127.6)
XYZxyz(47.5016, 65.8730, 19.6614)
Luminance0.6587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE559 #8F59E5
analogous
#E5D559 #AFE559 #69E559
triadic
#AFE559 #59AFE5 #E559AF
tetradic
#AFE559 #59E5D5 #8F59E5 #E55969
square
#AFE559 #59E5D5 #8F59E5 #E55969
split-complementary
#AFE559 #5969E5 #D559E5
monochromatic
#72A91A #95DD24 #AFE559 #C8ED8E #E2F6C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE559#FFFFFF#000000##000000
##AFE5591.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)
#F0D649
Deuteranopia (green-blind)
#E8D363
Tritanopia (blue-blind)
#B5DBC7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe559;
/* rgb */ color: rgb(175, 229, 89);
/* oklch */ color: oklch(85.7% 0.178 127.6);
Tailwind
colors: {
  custom: {
    50: '#caed8d',
    500: '#afe559',
    950: '#000000',
  },
}
SCSS
$custom: #afe559;
$custom-light: #caed8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe559",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 89
  },
  "hsl": {
    "h": 83.143,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85703,
    "c": 0.17758,
    "h": 127.6
  },
  "luminance": 0.65874
}

Semantic roles & 50–950 ramp

primary
#AFE559
secondary
#6437AB
accent
#10D55C
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE559

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

Preview Lab → · Contrast checker → · Palette generator →

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