#AFD565#AFD565

#AFD565 is a very light, vivid yellow-green. Relative luminance 0.576; OKLCH L 82.2% C 0.146 H 125.1°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#AFD565
RGBrgb(175, 213, 101)
HSLhsl(80, 57%, 62%)
HSVhsv(80, 53%, 84%)
CMYKcmyk(17.8%, 0%, 52.6%, 16.5%)
CIE-LABlab(80.54, -29.85, 50.66)
CIE-LCHlch(80.54, 58.80, 120.51°)
OKLaboklab(82.19% -0.084 0.1197)
OKLCHoklch(82.19% 0.146 125.1)
XYZxyz(43.8224, 57.6417, 21.1266)
Luminance0.5764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD565 #8B65D5
analogous
#D5C365 #AFD565 #77D565
triadic
#AFD565 #65AFD5 #D565AF
tetradic
#AFD565 #65D5C3 #8B65D5 #D56577
square
#AFD565 #65D5C3 #8B65D5 #D56577
split-complementary
#AFD565 #6577D5 #C365D5
monochromatic
#719729 #96C736 #AFD565 #C8E295 #E1EFC5

Accessibility & contrast

On white

1.68
#AFD565 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#AFD565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD565
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD565#FFFFFF#000000##000000
##AFD5651.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC95A
Deuteranopia (green-blind)
#DAC76C
Tritanopia (blue-blind)
#B5CCBC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd565;
/* rgb */ color: rgb(175, 213, 101);
/* oklch */ color: oklch(82.2% 0.146 125.1);
Tailwind
colors: {
  custom: {
    50: '#c9e294',
    500: '#afd565',
    950: '#000000',
  },
}
SCSS
$custom: #afd565;
$custom-light: #c9e294;
$custom-dark: #000000;
JSON
{
  "hex": "#afd565",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 101
  },
  "hsl": {
    "h": 80.357,
    "s": 57.143,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82193,
    "c": 0.14627,
    "h": 125.1
  },
  "luminance": 0.57642
}

Semantic roles & 50–950 ramp

primary
#AFD565
secondary
#61439C
accent
#21C558
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD565

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

Preview Lab → · Contrast checker → · Palette generator →

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