#AFD556#AFD556

#AFD556 is a very light, vivid yellow-green. Relative luminance 0.574; OKLCH L 82.0% C 0.160 H 123.9°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#AFD556
RGBrgb(175, 213, 86)
HSLhsl(78, 60%, 59%)
HSVhsv(78, 60%, 84%)
CMYKcmyk(17.8%, 0%, 59.6%, 16.5%)
CIE-LABlab(80.39, -31.18, 57.24)
CIE-LCHlch(80.39, 65.18, 118.58°)
OKLaboklab(82.02% -0.089 0.1324)
OKLCHoklch(82.02% 0.16 123.9)
XYZxyz(43.1534, 57.3741, 17.6031)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD556 #7C56D5
analogous
#D5BC56 #AFD556 #6FD556
triadic
#AFD556 #56AFD5 #D556AF
tetradic
#AFD556 #56D5BC #7C56D5 #D5566F
square
#AFD556 #56D5BC #7C56D5 #D5566F
split-complementary
#AFD556 #566FD5 #BC56D5
monochromatic
#6E8D23 #94BE2F #AFD556 #C6E187 #DDEDB8

Accessibility & contrast

On white

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

On black

12.47
#AFD556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD556
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD556#FFFFFF#000000##000000
##AFD5561.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C948
Deuteranopia (green-blind)
#DBC75F
Tritanopia (blue-blind)
#B6CBBA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd556;
/* rgb */ color: rgb(175, 213, 86);
/* oklch */ color: oklch(82.0% 0.160 123.9);
Tailwind
colors: {
  custom: {
    50: '#cae28a',
    500: '#afd556',
    950: '#000000',
  },
}
SCSS
$custom: #afd556;
$custom-light: #cae28a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd556",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 86
  },
  "hsl": {
    "h": 77.953,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82024,
    "c": 0.15953,
    "h": 123.9
  },
  "luminance": 0.57374
}

Semantic roles & 50–950 ramp

primary
#AFD556
secondary
#563C93
accent
#44E374
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD556

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

Preview Lab → · Contrast checker → · Palette generator →

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