#AFDC5B#AFDC5B

#AFDC5B is a very light, vivid yellow-green. Relative luminance 0.611; OKLCH L 83.7% C 0.164 H 125.9°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#AFDC5B
RGBrgb(175, 220, 91)
HSLhsl(81, 65%, 61%)
HSVhsv(81, 59%, 86%)
CMYKcmyk(20.5%, 0%, 58.6%, 13.7%)
CIE-LABlab(82.41, -34.01, 57.32)
CIE-LCHlch(82.41, 66.65, 120.68°)
OKLaboklab(83.67% -0.0965 0.1331)
OKLCHoklch(83.67% 0.164 125.9)
XYZxyz(45.1608, 61.0551, 19.3011)
Luminance0.6106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC5B #885BDC
analogous
#DCC85B #AFDC5B #6EDC5B
triadic
#AFDC5B #5BAFDC #DC5BAF
tetradic
#AFDC5B #5BDCC8 #885BDC #DC5B6E
square
#AFDC5B #5BDCC8 #885BDC #DC5B6E
split-complementary
#AFDC5B #5B6EDC #C85BDC
monochromatic
#719B21 #95CE2C #AFDC5B #C8E78D #E0F2C0

Accessibility & contrast

On white

1.59
#AFDC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#AFDC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC5B
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC5B#FFFFFF#000000##000000
##AFDC5B1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4D
Deuteranopia (green-blind)
#E1CC64
Tritanopia (blue-blind)
#B5D3C0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdc5b;
/* rgb */ color: rgb(175, 220, 91);
/* oklch */ color: oklch(83.7% 0.164 125.9);
Tailwind
colors: {
  custom: {
    50: '#cae78e',
    500: '#afdc5b',
    950: '#000000',
  },
}
SCSS
$custom: #afdc5b;
$custom-light: #cae78e;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc5b",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 80.93,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83668,
    "c": 0.16439,
    "h": 125.9
  },
  "luminance": 0.61056
}

Semantic roles & 50–950 ramp

primary
#AFDC5B
secondary
#5F3C9F
accent
#19CD58
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFDC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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