#AFE565#AFE565

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

Color values

HEX#AFE565
RGBrgb(175, 229, 101)
HSLhsl(85, 71%, 65%)
HSVhsv(85, 56%, 90%)
CMYKcmyk(23.6%, 0%, 55.9%, 10.2%)
CIE-LABlab(85.04, -37.23, 55.91)
CIE-LCHlch(85.04, 67.17, 123.66°)
OKLaboklab(85.83% -0.1045 0.1311)
OKLCHoklch(85.83% 0.168 128.6)
XYZxyz(48.0472, 66.0912, 22.5349)
Luminance0.6609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE565 #9B65E5
analogous
#E5DB65 #AFE565 #6FE565
triadic
#AFE565 #65AFE5 #E565AF
tetradic
#AFE565 #65E5DB #9B65E5 #E5656F
square
#AFE565 #65E5DB #9B65E5 #E5656F
split-complementary
#AFE565 #656FE5 #DB65E5
monochromatic
#73B21E #94DC31 #AFE565 #CAEE99 #E5F7CE

Accessibility & contrast

On white

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

On black

14.22
#AFE565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE565
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE565#FFFFFF#000000##000000
##AFE5651.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe565;
/* rgb */ color: rgb(175, 229, 101);
/* oklch */ color: oklch(85.8% 0.168 128.6);
Tailwind
colors: {
  custom: {
    50: '#caed95',
    500: '#afe565',
    950: '#000000',
  },
}
SCSS
$custom: #afe565;
$custom-light: #caed95;
$custom-dark: #000000;
JSON
{
  "hex": "#afe565",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 101
  },
  "hsl": {
    "h": 85.313,
    "s": 71.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85829,
    "c": 0.16768,
    "h": 128.6
  },
  "luminance": 0.66092
}

Semantic roles & 50–950 ramp

primary
#AFE565
secondary
#6E3CB2
accent
#12D364
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160D
muted
#83857F

Preview Lab

Preview with #AFE565

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

Preview Lab → · Contrast checker → · Palette generator →

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