#AFDB56#AFDB56

#AFDB56 is a very light, vivid yellow-green. Relative luminance 0.604; OKLCH L 83.4% C 0.167 H 125.4°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#AFDB56
RGBrgb(175, 219, 86)
HSLhsl(80, 65%, 60%)
HSVhsv(80, 61%, 86%)
CMYKcmyk(20.1%, 0%, 60.7%, 14.1%)
CIE-LABlab(82.08, -33.96, 59.11)
CIE-LCHlch(82.08, 68.17, 119.88°)
OKLaboklab(83.39% -0.0968 0.1363)
OKLCHoklch(83.39% 0.167 125.4)
XYZxyz(44.6906, 60.4484, 18.1155)
Luminance0.6045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDB56 #8256DB
analogous
#DBC556 #AFDB56 #6CDB56
triadic
#AFDB56 #56AFDB #DB56AF
tetradic
#AFDB56 #56DBC5 #8256DB #DB566C
square
#AFDB56 #56DBC5 #8256DB #DB566C
split-complementary
#AFDB56 #566CDB #C556DB
monochromatic
#6F9720 #95C92B #AFDB56 #C7E688 #DFF0BB

Accessibility & contrast

On white

1.60
#AFDB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#AFDB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDB56
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDB56#FFFFFF#000000##000000
##AFDB561.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE47
Deuteranopia (green-blind)
#E0CC5F
Tritanopia (blue-blind)
#B6D1BF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afdb56;
/* rgb */ color: rgb(175, 219, 86);
/* oklch */ color: oklch(83.4% 0.167 125.4);
Tailwind
colors: {
  custom: {
    50: '#cae68b',
    500: '#afdb56',
    950: '#000000',
  },
}
SCSS
$custom: #afdb56;
$custom-light: #cae68b;
$custom-dark: #000000;
JSON
{
  "hex": "#afdb56",
  "rgb": {
    "r": 175,
    "g": 219,
    "b": 86
  },
  "hsl": {
    "h": 79.85,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83389,
    "c": 0.1672,
    "h": 125.4
  },
  "luminance": 0.60449
}

Semantic roles & 50–950 ramp

primary
#AFDB56
secondary
#5A3A9B
accent
#40E877
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDB56

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

Preview Lab → · Contrast checker → · Palette generator →

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