#AFDC5D#AFDC5D

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

Color values

HEX#AFDC5D
RGBrgb(175, 220, 93)
HSLhsl(81, 64%, 61%)
HSVhsv(81, 58%, 86%)
CMYKcmyk(20.5%, 0%, 57.7%, 13.7%)
CIE-LABlab(82.43, -33.84, 56.47)
CIE-LCHlch(82.43, 65.83, 120.94°)
OKLaboklab(83.69% -0.0958 0.1315)
OKLCHoklch(83.69% 0.163 126.1)
XYZxyz(45.2482, 61.0901, 19.7615)
Luminance0.6109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC5D #8A5DDC
analogous
#DCCA5D #AFDC5D #70DC5D
triadic
#AFDC5D #5DAFDC #DC5DAF
tetradic
#AFDC5D #5DDCCA #8A5DDC #DC5D70
square
#AFDC5D #5DDCCA #8A5DDC #DC5D70
split-complementary
#AFDC5D #5D70DC #CA5DDC
monochromatic
#719D22 #96CF2D #AFDC5D #C8E78F #E1F2C2

Accessibility & contrast

On white

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

On black

13.22
#AFDC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC5D
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC5D#FFFFFF#000000##000000
##AFDC5D1.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afdc5d;
/* rgb */ color: rgb(175, 220, 93);
/* oklch */ color: oklch(83.7% 0.163 126.1);
Tailwind
colors: {
  custom: {
    50: '#c9e78f',
    500: '#afdc5d',
    950: '#000000',
  },
}
SCSS
$custom: #afdc5d;
$custom-light: #c9e78f;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc5d",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 81.26,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83689,
    "c": 0.16271,
    "h": 126.1
  },
  "luminance": 0.61091
}

Semantic roles & 50–950 ramp

primary
#AFDC5D
secondary
#603DA1
accent
#19CC59
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFDC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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