#5DB31C#5DB31C

#5DB31C is a light, vivid yellow-green. Relative luminance 0.347; OKLCH L 68.6% C 0.194 H 135.8°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5DB31C
RGBrgb(93, 179, 28)
HSLhsl(94, 73%, 41%)
HSVhsv(94, 84%, 70%)
CMYKcmyk(48%, 0%, 84.4%, 29.8%)
CIE-LABlab(65.48, -49.67, 61.56)
CIE-LCHlch(65.48, 79.10, 128.90°)
OKLaboklab(68.59% -0.1388 0.1349)
OKLCHoklch(68.59% 0.194 135.8)
XYZxyz(20.8434, 34.6498, 6.6882)
Luminance0.3465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5DB31C #721CB3
analogous
#A8B31C #5DB31C #1CB326
triadic
#5DB31C #1C5DB3 #B31C5D
tetradic
#5DB31C #1CA8B3 #721CB3 #B3261C
square
#5DB31C #1CA8B3 #721CB3 #B3261C
split-complementary
#5DB31C #261CB3 #B31CA8
monochromatic
#26490B #427E14 #5DB31C #7ADE2E #9CE763

Accessibility & contrast

On white

2.65
#5DB31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#5DB31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5DB31C
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5DB31C#FFFFFF#000000##000000
##5DB31C1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA300
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#59AC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5db31c;
/* rgb */ color: rgb(93, 179, 28);
/* oklch */ color: oklch(68.6% 0.194 135.8);
Tailwind
colors: {
  custom: {
    50: '#93ca68',
    500: '#5db31c',
    950: '#000000',
  },
}
SCSS
$custom: #5db31c;
$custom-light: #93ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#5db31c",
  "rgb": {
    "r": 93,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 94.172,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6859,
    "c": 0.19355,
    "h": 135.8
  },
  "luminance": 0.34651
}

Semantic roles & 50–950 ramp

primary
#5DB31C
secondary
#9D5FCB
accent
#38F0A1
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5DB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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