#AFE860#AFE860

#AFE860 is a very light, vivid yellow-green. Relative luminance 0.677; OKLCH L 86.5% C 0.176 H 128.7°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#AFE860
RGBrgb(175, 232, 96)
HSLhsl(85, 75%, 64%)
HSVhsv(85, 59%, 91%)
CMYKcmyk(24.6%, 0%, 58.6%, 9%)
CIE-LABlab(85.84, -39.02, 59.01)
CIE-LCHlch(85.84, 70.75, 123.47°)
OKLaboklab(86.46% -0.1099 0.1372)
OKLCHoklch(86.46% 0.176 128.7)
XYZxyz(48.6469, 67.6707, 21.5628)
Luminance0.6767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE860 #9960E8
analogous
#E8DD60 #AFE860 #6BE860
triadic
#AFE860 #60AFE8 #E860AF
tetradic
#AFE860 #60E8DD #9960E8 #E8606B
square
#AFE860 #60E8DD #9960E8 #E8606B
split-complementary
#AFE860 #606BE8 #DD60E8
monochromatic
#73B41A #94E02B #AFE860 #CAF095 #E5F7CB

Accessibility & contrast

On white

1.44
#AFE860 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#AFE860 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE860
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE860#FFFFFF#000000##000000
##AFE8601.001.4414.5314.53
#FFFFFF1.441.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D951
Deuteranopia (green-blind)
#EAD56A
Tritanopia (blue-blind)
#B4DFCB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe860;
/* rgb */ color: rgb(175, 232, 96);
/* oklch */ color: oklch(86.5% 0.176 128.7);
Tailwind
colors: {
  custom: {
    50: '#caef92',
    500: '#afe860',
    950: '#000000',
  },
}
SCSS
$custom: #afe860;
$custom-light: #caef92;
$custom-dark: #000000;
JSON
{
  "hex": "#afe860",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 96
  },
  "hsl": {
    "h": 85.147,
    "s": 74.725,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86459,
    "c": 0.17583,
    "h": 128.7
  },
  "luminance": 0.67672
}

Semantic roles & 50–950 ramp

primary
#AFE860
secondary
#6C38B4
accent
#0FD763
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE860

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

Preview Lab → · Contrast checker → · Palette generator →

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