#AFD865#AFD865

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

Color values

HEX#AFD865
RGBrgb(175, 216, 101)
HSLhsl(81, 60%, 62%)
HSVhsv(81, 53%, 85%)
CMYKcmyk(19%, 0%, 53.2%, 15.3%)
CIE-LABlab(81.38, -31.26, 51.65)
CIE-LCHlch(81.38, 60.37, 121.18°)
OKLaboklab(82.87% -0.0879 0.1219)
OKLCHoklch(82.87% 0.15 125.8)
XYZxyz(44.5840, 59.1648, 21.3805)
Luminance0.5917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD865 #8E65D8
analogous
#D8C765 #AFD865 #76D865
triadic
#AFD865 #65AFD8 #D865AF
tetradic
#AFD865 #65D8C7 #8E65D8 #D86576
square
#AFD865 #65D8C7 #8E65D8 #D86576
split-complementary
#AFD865 #6576D8 #C765D8
monochromatic
#729B27 #96CC34 #AFD865 #C8E496 #E2F1C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD865#FFFFFF#000000##000000
##AFD8651.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)
#E2CC5A
Deuteranopia (green-blind)
#DCCA6C
Tritanopia (blue-blind)
#B5CFBE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd865;
/* rgb */ color: rgb(175, 216, 101);
/* oklch */ color: oklch(82.9% 0.150 125.8);
Tailwind
colors: {
  custom: {
    50: '#c9e494',
    500: '#afd865',
    950: '#000000',
  },
}
SCSS
$custom: #afd865;
$custom-light: #c9e494;
$custom-dark: #000000;
JSON
{
  "hex": "#afd865",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 101
  },
  "hsl": {
    "h": 81.391,
    "s": 59.585,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82872,
    "c": 0.15031,
    "h": 125.8
  },
  "luminance": 0.59165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD865

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

Preview Lab → · Contrast checker → · Palette generator →

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