#5EC21F#5EC21F

#5EC21F is a light, highly saturated yellow-green. Relative luminance 0.411; OKLCH L 72.5% C 0.209 H 137.0°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#5EC21F
RGBrgb(94, 194, 31)
HSLhsl(97, 72%, 44%)
HSVhsv(97, 84%, 76%)
CMYKcmyk(51.5%, 0%, 84%, 23.9%)
CIE-LABlab(70.22, -54.92, 65.06)
CIE-LCHlch(70.22, 85.15, 130.17°)
OKLaboklab(72.51% -0.1528 0.1427)
OKLCHoklch(72.51% 0.209 137)
XYZxyz(24.1545, 41.0604, 7.9487)
Luminance0.4106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EC21F #831FC2
analogous
#B0C21F #5EC21F #1FC232
triadic
#5EC21F #1F5EC2 #C21F5E
tetradic
#5EC21F #1FB0C2 #831FC2 #C2321F
square
#5EC21F #1FB0C2 #831FC2 #C2321F
split-complementary
#5EC21F #321FC2 #C21FB0
monochromatic
#2B580E #448D17 #5EC21F #7DE03E #A0E973

Accessibility & contrast

On white

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

On black

9.21
#5EC21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EC21F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EC21F#FFFFFF#000000##000000
##5EC21F1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5ec21f;
/* rgb */ color: rgb(94, 194, 31);
/* oklch */ color: oklch(72.5% 0.209 137.0);
Tailwind
colors: {
  custom: {
    50: '#96d56c',
    500: '#5ec21f',
    950: '#000000',
  },
}
SCSS
$custom: #5ec21f;
$custom-light: #96d56c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ec21f",
  "rgb": {
    "r": 94,
    "g": 194,
    "b": 31
  },
  "hsl": {
    "h": 96.81,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7251,
    "c": 0.20905,
    "h": 137
  },
  "luminance": 0.41062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5EC21F

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

Preview Lab → · Contrast checker → · Palette generator →

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