#AFD860#AFD860

#AFD860 is a very light, vivid yellow-green. Relative luminance 0.591; OKLCH L 82.8% C 0.155 H 125.4°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#AFD860
RGBrgb(175, 216, 96)
HSLhsl(81, 61%, 61%)
HSVhsv(81, 56%, 85%)
CMYKcmyk(19%, 0%, 55.6%, 15.3%)
CIE-LABlab(81.33, -31.72, 53.88)
CIE-LCHlch(81.33, 62.52, 120.49°)
OKLaboklab(82.81% -0.0897 0.1262)
OKLCHoklch(82.81% 0.155 125.4)
XYZxyz(44.3464, 59.0698, 20.1293)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD860 #8960D8
analogous
#D8C560 #AFD860 #73D860
triadic
#AFD860 #60AFD8 #D860AF
tetradic
#AFD860 #60D8C5 #8960D8 #D86073
square
#AFD860 #60D8C5 #8960D8 #D86073
split-complementary
#AFD860 #6073D8 #C560D8
monochromatic
#719825 #95C931 #AFD860 #C8E491 #E0F0C2

Accessibility & contrast

On white

1.64
#AFD860 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#AFD860 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD860
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD860#FFFFFF#000000##000000
##AFD8601.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC54
Deuteranopia (green-blind)
#DDCA68
Tritanopia (blue-blind)
#B5CFBE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd860;
/* rgb */ color: rgb(175, 216, 96);
/* oklch */ color: oklch(82.8% 0.155 125.4);
Tailwind
colors: {
  custom: {
    50: '#c9e491',
    500: '#afd860',
    950: '#000000',
  },
}
SCSS
$custom: #afd860;
$custom-light: #c9e491;
$custom-dark: #000000;
JSON
{
  "hex": "#afd860",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 96
  },
  "hsl": {
    "h": 80.5,
    "s": 60.606,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82813,
    "c": 0.15484,
    "h": 125.4
  },
  "luminance": 0.5907
}

Semantic roles & 50–950 ramp

primary
#AFD860
secondary
#5F3F9D
accent
#1DC858
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD860

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

Preview Lab → · Contrast checker → · Palette generator →

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