#AFD568#AFD568

#AFD568 is a very light, vivid yellow-green. Relative luminance 0.577; OKLCH L 82.2% C 0.143 H 125.3°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#AFD568
RGBrgb(175, 213, 104)
HSLhsl(81, 56%, 62%)
HSVhsv(81, 51%, 84%)
CMYKcmyk(17.8%, 0%, 51.2%, 16.5%)
CIE-LABlab(80.57, -29.55, 49.30)
CIE-LCHlch(80.57, 57.48, 120.94°)
OKLaboklab(82.23% -0.0829 0.117)
OKLCHoklch(82.23% 0.143 125.3)
XYZxyz(43.9721, 57.7015, 21.9149)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD568 #8E68D5
analogous
#D5C468 #AFD568 #79D568
triadic
#AFD568 #68AFD5 #D568AF
tetradic
#AFD568 #68D5C4 #8E68D5 #D56879
square
#AFD568 #68D5C4 #8E68D5 #D56879
split-complementary
#AFD568 #6879D5 #C468D5
monochromatic
#72982A #96C838 #AFD568 #C8E298 #E2F0C8

Accessibility & contrast

On white

1.67
#AFD568 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#AFD568 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD568
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD568#FFFFFF#000000##000000
##AFD5681.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd568;
/* rgb */ color: rgb(175, 213, 104);
/* oklch */ color: oklch(82.2% 0.143 125.3);
Tailwind
colors: {
  custom: {
    50: '#c9e296',
    500: '#afd568',
    950: '#000000',
  },
}
SCSS
$custom: #afd568;
$custom-light: #c9e296;
$custom-dark: #000000;
JSON
{
  "hex": "#afd568",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 104
  },
  "hsl": {
    "h": 80.917,
    "s": 56.477,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8223,
    "c": 0.14342,
    "h": 125.3
  },
  "luminance": 0.57702
}

Semantic roles & 50–950 ramp

primary
#AFD568
secondary
#63449D
accent
#21C45A
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD568

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

Preview Lab → · Contrast checker → · Palette generator →

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