#AFE568#AFE568

#AFE568 is a very light, vivid yellow-green. Relative luminance 0.662; OKLCH L 85.9% C 0.165 H 128.9°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#AFE568
RGBrgb(175, 229, 104)
HSLhsl(86, 71%, 65%)
HSVhsv(86, 55%, 90%)
CMYKcmyk(23.6%, 0%, 54.6%, 10.2%)
CIE-LABlab(85.07, -36.95, 54.60)
CIE-LCHlch(85.07, 65.92, 124.09°)
OKLaboklab(85.86% -0.1035 0.1285)
OKLCHoklch(85.86% 0.165 128.9)
XYZxyz(48.1969, 66.1511, 23.3232)
Luminance0.6615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE568 #9E68E5
analogous
#E5DC68 #AFE568 #70E568
triadic
#AFE568 #68AFE5 #E568AF
tetradic
#AFE568 #68E5DC #9E68E5 #E56870
square
#AFE568 #68E5DC #9E68E5 #E56870
split-complementary
#AFE568 #6870E5 #DC68E5
monochromatic
#73B41F #93DC34 #AFE568 #CBEE9C #E6F7D0

Accessibility & contrast

On white

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

On black

14.23
#AFE568 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE568
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE568#FFFFFF#000000##000000
##AFE5681.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD75C
Deuteranopia (green-blind)
#E7D370
Tritanopia (blue-blind)
#B3DCC9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe568;
/* rgb */ color: rgb(175, 229, 104);
/* oklch */ color: oklch(85.9% 0.165 128.9);
Tailwind
colors: {
  custom: {
    50: '#c9ed97',
    500: '#afe568',
    950: '#000000',
  },
}
SCSS
$custom: #afe568;
$custom-light: #c9ed97;
$custom-dark: #000000;
JSON
{
  "hex": "#afe568",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 104
  },
  "hsl": {
    "h": 85.92,
    "s": 70.621,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85863,
    "c": 0.16504,
    "h": 128.9
  },
  "luminance": 0.66152
}

Semantic roles & 50–950 ramp

primary
#AFE568
secondary
#703DB4
accent
#13D366
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE568

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

Preview Lab → · Contrast checker → · Palette generator →

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