#AFD656#AFD656

#AFD656 is a very light, vivid yellow-green. Relative luminance 0.579; OKLCH L 82.3% C 0.161 H 124.2°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#AFD656
RGBrgb(175, 214, 86)
HSLhsl(78, 61%, 59%)
HSVhsv(78, 60%, 84%)
CMYKcmyk(18.2%, 0%, 59.8%, 16.1%)
CIE-LABlab(80.67, -31.65, 57.55)
CIE-LCHlch(80.67, 65.68, 118.81°)
OKLaboklab(82.25% -0.0903 0.133)
OKLCHoklch(82.25% 0.161 124.2)
XYZxyz(43.4057, 57.8787, 17.6872)
Luminance0.5788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD656 #7D56D6
analogous
#D6BD56 #AFD656 #6FD656
triadic
#AFD656 #56AFD6 #D656AF
tetradic
#AFD656 #56D6BD #7D56D6 #D6566F
square
#AFD656 #56D6BD #7D56D6 #D6566F
split-complementary
#AFD656 #566FD6 #BD56D6
monochromatic
#6E8F23 #94C02F #AFD656 #C6E287 #DEEEB9

Accessibility & contrast

On white

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

On black

12.58
#AFD656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD656
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD656#FFFFFF#000000##000000
##AFD6561.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C947
Deuteranopia (green-blind)
#DCC85F
Tritanopia (blue-blind)
#B6CCBB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd656;
/* rgb */ color: rgb(175, 214, 86);
/* oklch */ color: oklch(82.3% 0.161 124.2);
Tailwind
colors: {
  custom: {
    50: '#cae28a',
    500: '#afd656',
    950: '#000000',
  },
}
SCSS
$custom: #afd656;
$custom-light: #cae28a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd656",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 86
  },
  "hsl": {
    "h": 78.281,
    "s": 60.952,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82251,
    "c": 0.16081,
    "h": 124.2
  },
  "luminance": 0.57879
}

Semantic roles & 50–950 ramp

primary
#AFD656
secondary
#573C95
accent
#44E475
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD656

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

Preview Lab → · Contrast checker → · Palette generator →

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