#AFDB57#AFDB57

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

Color values

HEX#AFDB57
RGBrgb(175, 219, 87)
HSLhsl(80, 65%, 60%)
HSVhsv(80, 60%, 86%)
CMYKcmyk(20.1%, 0%, 60.3%, 14.1%)
CIE-LABlab(82.09, -33.88, 58.69)
CIE-LCHlch(82.09, 67.77, 120.00°)
OKLaboklab(83.4% -0.0965 0.1356)
OKLCHoklch(83.4% 0.166 125.4)
XYZxyz(44.7311, 60.4646, 18.3292)
Luminance0.6047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDB57 #8357DB
analogous
#DBC557 #AFDB57 #6DDB57
triadic
#AFDB57 #57AFDB #DB57AF
tetradic
#AFDB57 #57DBC5 #8357DB #DB576D
square
#AFDB57 #57DBC5 #8357DB #DB576D
split-complementary
#AFDB57 #576DDB #C557DB
monochromatic
#709720 #95CA2B #AFDB57 #C7E689 #DFF1BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDB57#FFFFFF#000000##000000
##AFDB571.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)
#E6CE48
Deuteranopia (green-blind)
#E0CC60
Tritanopia (blue-blind)
#B6D1BF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afdb57;
/* rgb */ color: rgb(175, 219, 87);
/* oklch */ color: oklch(83.4% 0.166 125.4);
Tailwind
colors: {
  custom: {
    50: '#cae68b',
    500: '#afdb57',
    950: '#000000',
  },
}
SCSS
$custom: #afdb57;
$custom-light: #cae68b;
$custom-dark: #000000;
JSON
{
  "hex": "#afdb57",
  "rgb": {
    "r": 175,
    "g": 219,
    "b": 87
  },
  "hsl": {
    "h": 80,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.83399,
    "c": 0.16639,
    "h": 125.4
  },
  "luminance": 0.60465
}

Semantic roles & 50–950 ramp

primary
#AFDB57
secondary
#5B3B9C
accent
#40E878
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDB57

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

Preview Lab → · Contrast checker → · Palette generator →

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