#5DB31F#5DB31F

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

Color values

HEX#5DB31F
RGBrgb(93, 179, 31)
HSLhsl(95, 70%, 41%)
HSVhsv(95, 83%, 70%)
CMYKcmyk(48%, 0%, 82.7%, 29.8%)
CIE-LABlab(65.49, -49.54, 60.81)
CIE-LCHlch(65.49, 78.43, 129.17°)
OKLaboklab(68.6% -0.1383 0.1337)
OKLCHoklch(68.6% 0.192 136)
XYZxyz(20.8811, 34.6649, 6.8868)
Luminance0.3467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5DB31F #751FB3
analogous
#A7B31F #5DB31F #1FB32B
triadic
#5DB31F #1F5DB3 #B31F5D
tetradic
#5DB31F #1FA7B3 #751FB3 #B32B1F
square
#5DB31F #1FA7B3 #751FB3 #B32B1F
split-complementary
#5DB31F #2B1FB3 #B31FA7
monochromatic
#274B0D #427F16 #5DB31F #7ADC33 #9CE568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5DB31F#FFFFFF#000000##000000
##5DB31F1.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)
#AE9C32
Tritanopia (blue-blind)
#59AC99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5db31f;
/* rgb */ color: rgb(93, 179, 31);
/* oklch */ color: oklch(68.6% 0.192 136.0);
Tailwind
colors: {
  custom: {
    50: '#93ca69',
    500: '#5db31f',
    950: '#000000',
  },
}
SCSS
$custom: #5db31f;
$custom-light: #93ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#5db31f",
  "rgb": {
    "r": 93,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 94.865,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68604,
    "c": 0.19238,
    "h": 136
  },
  "luminance": 0.34666
}

Semantic roles & 50–950 ramp

primary
#5DB31F
secondary
#9F64CA
accent
#3BEDA2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5DB31F

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

Preview Lab → · Contrast checker → · Palette generator →

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