#AFD86C#AFD86C

#AFD86C is a very light, vivid yellow-green. Relative luminance 0.593; OKLCH L 83.0% C 0.144 H 126.5°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#AFD86C
RGBrgb(175, 216, 108)
HSLhsl(83, 58%, 64%)
HSVhsv(83, 50%, 85%)
CMYKcmyk(19%, 0%, 50%, 15.3%)
CIE-LABlab(81.46, -30.56, 48.47)
CIE-LCHlch(81.46, 57.30, 122.23°)
OKLaboklab(82.96% -0.0854 0.1155)
OKLCHoklch(82.96% 0.144 126.5)
XYZxyz(44.9417, 59.3079, 23.2643)
Luminance0.5931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD86C #956CD8
analogous
#D8CB6C #AFD86C #79D86C
triadic
#AFD86C #6CAFD8 #D86CAF
tetradic
#AFD86C #6CD8CB #956CD8 #D86C79
square
#AFD86C #6CD8CB #956CD8 #D86C79
split-complementary
#AFD86C #6C79D8 #CB6CD8
monochromatic
#739F2A #95CB3C #AFD86C #C9E59C #E4F2CD

Accessibility & contrast

On white

1.63
#AFD86C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#AFD86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD86C
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD86C#FFFFFF#000000##000000
##AFD86C1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC62
Deuteranopia (green-blind)
#DCCA72
Tritanopia (blue-blind)
#B4D0BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd86c;
/* rgb */ color: rgb(175, 216, 108);
/* oklch */ color: oklch(83.0% 0.144 126.5);
Tailwind
colors: {
  custom: {
    50: '#c9e498',
    500: '#afd86c',
    950: '#000000',
  },
}
SCSS
$custom: #afd86c;
$custom-light: #c9e498;
$custom-dark: #000000;
JSON
{
  "hex": "#afd86c",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 108
  },
  "hsl": {
    "h": 82.778,
    "s": 58.065,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82961,
    "c": 0.14366,
    "h": 126.5
  },
  "luminance": 0.59308
}

Semantic roles & 50–950 ramp

primary
#AFD86C
secondary
#6945A3
accent
#20C65F
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD86C

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

Preview Lab → · Contrast checker → · Palette generator →

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