#AFE564#AFE564

#AFE564 is a very light, vivid yellow-green. Relative luminance 0.661; OKLCH L 85.8% C 0.169 H 128.5°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#AFE564
RGBrgb(175, 229, 100)
HSLhsl(85, 71%, 65%)
HSVhsv(85, 56%, 90%)
CMYKcmyk(23.6%, 0%, 56.3%, 10.2%)
CIE-LABlab(85.03, -37.32, 56.34)
CIE-LCHlch(85.03, 67.58, 123.52°)
OKLaboklab(85.82% -0.1049 0.1319)
OKLCHoklch(85.82% 0.169 128.5)
XYZxyz(47.9985, 66.0717, 22.2784)
Luminance0.6607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE564 #9A64E5
analogous
#E5DA64 #AFE564 #6FE564
triadic
#AFE564 #64AFE5 #E564AF
tetradic
#AFE564 #64E5DA #9A64E5 #E5646F
square
#AFE564 #64E5DA #9A64E5 #E5646F
split-complementary
#AFE564 #646FE5 #DA64E5
monochromatic
#73B11E #94DC30 #AFE564 #CAEE98 #E5F7CD

Accessibility & contrast

On white

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

On black

14.21
#AFE564 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE564
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE564#FFFFFF#000000##000000
##AFE5641.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD757
Deuteranopia (green-blind)
#E7D36D
Tritanopia (blue-blind)
#B4DCC9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe564;
/* rgb */ color: rgb(175, 229, 100);
/* oklch */ color: oklch(85.8% 0.169 128.5);
Tailwind
colors: {
  custom: {
    50: '#caed94',
    500: '#afe564',
    950: '#000000',
  },
}
SCSS
$custom: #afe564;
$custom-light: #caed94;
$custom-dark: #000000;
JSON
{
  "hex": "#afe564",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 100
  },
  "hsl": {
    "h": 85.116,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85817,
    "c": 0.16854,
    "h": 128.5
  },
  "luminance": 0.66073
}

Semantic roles & 50–950 ramp

primary
#AFE564
secondary
#6D3BB2
accent
#12D363
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#13160D
muted
#83857F

Preview Lab

Preview with #AFE564

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

Preview Lab → · Contrast checker → · Palette generator →

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