#AFD864#AFD864

#AFD864 is a very light, vivid yellow-green. Relative luminance 0.591; OKLCH L 82.9% C 0.151 H 125.7°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#AFD864
RGBrgb(175, 216, 100)
HSLhsl(81, 60%, 62%)
HSVhsv(81, 54%, 85%)
CMYKcmyk(19%, 0%, 53.7%, 15.3%)
CIE-LABlab(81.37, -31.35, 52.10)
CIE-LCHlch(81.37, 60.81, 121.04°)
OKLaboklab(82.86% -0.0883 0.1228)
OKLCHoklch(82.86% 0.151 125.7)
XYZxyz(44.5353, 59.1453, 21.1240)
Luminance0.5915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD864 #8D64D8
analogous
#D8C764 #AFD864 #75D864
triadic
#AFD864 #64AFD8 #D864AF
tetradic
#AFD864 #64D8C7 #8D64D8 #D86475
square
#AFD864 #64D8C7 #8D64D8 #D86475
split-complementary
#AFD864 #6475D8 #C764D8
monochromatic
#729B27 #96CC33 #AFD864 #C8E495 #E1F1C6

Accessibility & contrast

On white

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

On black

12.83
#AFD864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD864
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD864#FFFFFF#000000##000000
##AFD8641.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd864;
/* rgb */ color: rgb(175, 216, 100);
/* oklch */ color: oklch(82.9% 0.151 125.7);
Tailwind
colors: {
  custom: {
    50: '#c9e493',
    500: '#afd864',
    950: '#000000',
  },
}
SCSS
$custom: #afd864;
$custom-light: #c9e493;
$custom-dark: #000000;
JSON
{
  "hex": "#afd864",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 100
  },
  "hsl": {
    "h": 81.207,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8286,
    "c": 0.15123,
    "h": 125.7
  },
  "luminance": 0.59146
}

Semantic roles & 50–950 ramp

primary
#AFD864
secondary
#62419F
accent
#1EC75A
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD864

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

Preview Lab → · Contrast checker → · Palette generator →

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