#AFD866#AFD866

#AFD866 is a very light, vivid yellow-green. Relative luminance 0.592; OKLCH L 82.9% C 0.149 H 125.9°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#AFD866
RGBrgb(175, 216, 102)
HSLhsl(82, 59%, 62%)
HSVhsv(82, 53%, 85%)
CMYKcmyk(19%, 0%, 52.8%, 15.3%)
CIE-LABlab(81.39, -31.16, 51.20)
CIE-LCHlch(81.39, 59.94, 121.32°)
OKLaboklab(82.88% -0.0876 0.121)
OKLCHoklch(82.88% 0.149 125.9)
XYZxyz(44.6333, 59.1845, 21.6401)
Luminance0.5918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD866 #8F66D8
analogous
#D8C866 #AFD866 #76D866
triadic
#AFD866 #66AFD8 #D866AF
tetradic
#AFD866 #66D8C8 #8F66D8 #D86676
square
#AFD866 #66D8C8 #8F66D8 #D86676
split-complementary
#AFD866 #6676D8 #C866D8
monochromatic
#729C28 #95CC35 #AFD866 #C9E497 #E2F1C8

Accessibility & contrast

On white

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

On black

12.84
#AFD866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD866
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD866#FFFFFF#000000##000000
##AFD8661.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd866;
/* rgb */ color: rgb(175, 216, 102);
/* oklch */ color: oklch(82.9% 0.149 125.9);
Tailwind
colors: {
  custom: {
    50: '#c9e495',
    500: '#afd866',
    950: '#000000',
  },
}
SCSS
$custom: #afd866;
$custom-light: #c9e495;
$custom-dark: #000000;
JSON
{
  "hex": "#afd866",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 81.579,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82884,
    "c": 0.14938,
    "h": 125.9
  },
  "luminance": 0.59185
}

Semantic roles & 50–950 ramp

primary
#AFD866
secondary
#6442A0
accent
#1EC75B
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD866

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

Preview Lab → · Contrast checker → · Palette generator →

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