#5ECC31#5ECC31

#5ECC31 is a light, highly saturated green. Relative luminance 0.458; OKLCH L 75.2% C 0.212 H 138.5°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#5ECC31
RGBrgb(94, 204, 49)
HSLhsl(103, 61%, 50%)
HSVhsv(103, 76%, 80%)
CMYKcmyk(53.9%, 0%, 76%, 20%)
CIE-LABlab(73.41, -57.65, 62.92)
CIE-LCHlch(73.41, 85.34, 132.50°)
OKLaboklab(75.16% -0.1592 0.1407)
OKLCHoklch(75.16% 0.212 138.5)
XYZxyz(26.7623, 45.7850, 10.3323)
Luminance0.4579 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5ECC31 #9F31CC
analogous
#ABCC31 #5ECC31 #31CC52
triadic
#5ECC31 #315ECC #CC315E
tetradic
#5ECC31 #31ABCC #9F31CC #CC5231
square
#5ECC31 #31ABCC #9F31CC #CC5231
split-complementary
#5ECC31 #5231CC #CC31AB
monochromatic
#316919 #479B25 #5ECC31 #84D961 #AAE592

Accessibility & contrast

On white

2.07
#5ECC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#5ECC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5ECC31
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5ECC31#FFFFFF#000000##000000
##5ECC311.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA09
Deuteranopia (green-blind)
#C4B142
Tritanopia (blue-blind)
#54C5AF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #5ecc31;
/* rgb */ color: rgb(94, 204, 49);
/* oklch */ color: oklch(75.2% 0.212 138.5);
Tailwind
colors: {
  custom: {
    50: '#97dc74',
    500: '#5ecc31',
    950: '#000000',
  },
}
SCSS
$custom: #5ecc31;
$custom-light: #97dc74;
$custom-dark: #000000;
JSON
{
  "hex": "#5ecc31",
  "rgb": {
    "r": 94,
    "g": 204,
    "b": 49
  },
  "hsl": {
    "h": 102.581,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75164,
    "c": 0.21246,
    "h": 138.5
  },
  "luminance": 0.45787
}

Semantic roles & 50–950 ramp

primary
#5ECC31
secondary
#BB89D0
accent
#43E4B6
background
#F9FDF7
surface
#F2FBED
border
#CCD4C8
text
#0F1509
muted
#7E837B

Preview Lab

Preview with #5ECC31

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

Preview Lab → · Contrast checker → · Palette generator →

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