#5DB31B#5DB31B

#5DB31B is a light, vivid yellow-green. Relative luminance 0.346; 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#5DB31B
RGBrgb(93, 179, 27)
HSLhsl(94, 74%, 40%)
HSVhsv(94, 85%, 70%)
CMYKcmyk(48%, 0%, 84.9%, 29.8%)
CIE-LABlab(65.47, -49.71, 61.80)
CIE-LCHlch(65.47, 79.31, 128.81°)
OKLaboklab(68.59% -0.139 0.1353)
OKLCHoklch(68.59% 0.194 135.8)
XYZxyz(20.8316, 34.6451, 6.6262)
Luminance0.3465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5DB31B #711BB3
analogous
#A9B31B #5DB31B #1BB325
triadic
#5DB31B #1B5DB3 #B31B5D
tetradic
#5DB31B #1BA9B3 #711BB3 #B3251B
square
#5DB31B #1BA9B3 #711BB3 #B3251B
split-complementary
#5DB31B #251BB3 #B31BA9
monochromatic
#26490B #417E13 #5DB31B #7ADF2C #9BE761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5DB31B#FFFFFF#000000##000000
##5DB31B1.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)
#AE9C2F
Tritanopia (blue-blind)
#59AC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5db31b;
/* rgb */ color: rgb(93, 179, 27);
/* oklch */ color: oklch(68.6% 0.194 135.8);
Tailwind
colors: {
  custom: {
    50: '#93ca68',
    500: '#5db31b',
    950: '#000000',
  },
}
SCSS
$custom: #5db31b;
$custom-light: #93ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#5db31b",
  "rgb": {
    "r": 93,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 93.947,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68586,
    "c": 0.19392,
    "h": 135.8
  },
  "luminance": 0.34646
}

Semantic roles & 50–950 ramp

primary
#5DB31B
secondary
#9C5ECC
accent
#37F0A0
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5DB31B

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

Preview Lab → · Contrast checker → · Palette generator →

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