#5DC21F#5DC21F

#5DC21F is a light, highly saturated yellow-green. Relative luminance 0.410; OKLCH L 72.5% C 0.210 H 137.1°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#5DC21F
RGBrgb(93, 194, 31)
HSLhsl(97, 72%, 44%)
HSVhsv(97, 84%, 76%)
CMYKcmyk(52.1%, 0%, 84%, 23.9%)
CIE-LABlab(70.18, -55.21, 65.02)
CIE-LCHlch(70.18, 85.30, 130.34°)
OKLaboklab(72.47% -0.1535 0.1426)
OKLCHoklch(72.47% 0.21 137.1)
XYZxyz(24.0526, 41.0078, 7.9439)
Luminance0.4101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5DC21F #841FC2
analogous
#AFC21F #5DC21F #1FC233
triadic
#5DC21F #1F5DC2 #C21F5D
tetradic
#5DC21F #1FAFC2 #841FC2 #C2331F
square
#5DC21F #1FAFC2 #841FC2 #C2331F
split-complementary
#5DC21F #331FC2 #C21FAF
monochromatic
#2A580E #448D17 #5DC21F #7CE03E #A0E973

Accessibility & contrast

On white

2.28
#5DC21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#5DC21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5DC21F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5DC21F#FFFFFF#000000##000000
##5DC21F1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#BCA835
Tritanopia (blue-blind)
#56BBA5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #5dc21f;
/* rgb */ color: rgb(93, 194, 31);
/* oklch */ color: oklch(72.5% 0.210 137.1);
Tailwind
colors: {
  custom: {
    50: '#95d56c',
    500: '#5dc21f',
    950: '#000000',
  },
}
SCSS
$custom: #5dc21f;
$custom-light: #95d56c;
$custom-dark: #000000;
JSON
{
  "hex": "#5dc21f",
  "rgb": {
    "r": 93,
    "g": 194,
    "b": 31
  },
  "hsl": {
    "h": 97.178,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72469,
    "c": 0.20952,
    "h": 137.1
  },
  "luminance": 0.4101
}

Semantic roles & 50–950 ramp

primary
#5DC21F
secondary
#AA6DCF
accent
#39EFAA
background
#F9FDF6
surface
#F2FAEC
border
#CCD3C7
text
#0E1408
muted
#7E837A

Preview Lab

Preview with #5DC21F

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

Preview Lab → · Contrast checker → · Palette generator →

#5DC21F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva