Skip to content

#5ebc21

a dark, vivid green · neutral · closest name: Lime Green

RGB
94, 188, 33
HSL
96°, 70%, 43%
CMYK
50, 0, 82, 26
Luminance
0.3846

At a glance

Every number on this page in one read: what #5ebc21 is made of, how bright it looks, and which way it leans.

Hex
#5ebc21
Hue
96°
green
Saturation
70%
vivid
Lightness
43%
dark
Brightness
74%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3846
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.69:1
Closest name
Lime Green
ΔE2000 5.7
Where it sits
Hue96° of 360°
Saturation70%
Lightness43%
Temperature
Warm ← → Cool53% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#5ebc21
RGBrgb(94, 188, 33)
HSLhsl(96, 70%, 43%)
CMYKcmyk(50%, 0%, 82%, 26%)
LABlab(68.3 -52.6 62.9)
LCHlch(68.3 82.0 129.9)
OKLCHoklch(0.710 0.202 136.6)
Decimal6208545
Display P3color(display-p3 0.369 0.737 0.129)

Copy-ready code

/* CSS */
color: #5ebc21;
background-color: #5ebc21;
/* Tailwind (arbitrary) */
class="text-[#5ebc21] bg-[#5ebc21]"
/* SCSS */
$brand: #5ebc21;
/* SwiftUI */
Color(red: 0.369, green: 0.737, blue: 0.129)
/* Android */
Color.parseColor("#5ebc21")
/* Flutter */
Color(0xFF5EBC21)
/* Python / OpenCV (BGR) */
(33, 188, 94)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #5ebc21 · 8.69:1
Use #000000AAA at every size.
Aa
White text · 2.42:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.69:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #5ebc21 as text scores 2.42:1 on white and 8.69:1 on black.

Accessibility — WCAG contrast

Aa
#5ebc21 on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#5ebc21 on black: 8.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C3AB00
deuteranopia · #B6A435
tritanopia · #59B5A0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5ebc21 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F6FCF3
#EEF8E7
#D9F2C9
#BFEEA0
#9EE670
#7EDD40
#68D025
#5ebc21
#458B18
#356516
#213F0E
Base = 700Lightest = 50 · #F6FCF3Darkest = 950 · #213F0E
:root {
  --brand-50: #F6FCF3;
  --brand-100: #EEF8E7;
  --brand-200: #D9F2C9;
  --brand-300: #BFEEA0;
  --brand-400: #9EE670;
  --brand-500: #7EDD40;
  --brand-600: #68D025;
  --brand-700: #5ebc21;
  --brand-800: #458B18;
  --brand-900: #356516;
  --brand-950: #213F0E;
  --brand: #5ebc21;
  --brand-ink: #000000;
}

Colors that work with #5ebc21

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F7FAF4
Tinted page background
Border#D1EDC0
Hairlines and dividers
Muted text#6A9B4B
Captions on the surface
Accent#571DC0
Second voice, not a rival
Dark variant#366C13
Hover, pressed, headers
Light variant#F0FBE9
Selected rows, tints
Dark surface#1A2414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #5ebc21

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#7F21BC
Analogous left#ABBC21
Analogous right#21BC32
Split-complement 1#3221BC
Split-complement 2#BC21AB
Triadic 1#215EBC
Triadic 2#BC215E
Tetradic#21ABBC

RGB percentages

Red36.9%
Green73.7%
Blue12.9%

CMYK percentages

Cyan50.0%
Magenta0.0%
Yellow82.4%
Key (black)26.3%

Color previews

#5ebc21 text on a black background

contrast 8.69:1

Card sample

#5ebc21 text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5ebc21;
Background color
Panel with #5ebc21 background
background-color: #5ebc21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5ebc21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(94, 188, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(94, 188, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5ebc21;
background: linear-gradient(135deg, #5ebc21, #21BC4B);

Monochromatic scale

Palettes built from #5ebc21

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#5ebc21 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#5ebc21, answered

What color is #5ebc21?

#5ebc21 is a dark vivid green, closest to Lime Green (ΔE2000 5.7). It sits at 96° on the hue wheel with 70% saturation and 43% lightness, which reads as neutral.

What is the RGB value of #5ebc21?

rgb(94, 188, 33) — 94 red, 188 green and 33 blue out of 255, or 36.9% / 73.7% / 12.9% by channel.

Is #5ebc21 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3846 and perceived brightness is 60%, so black text on it reaches 8.69:1.

Should I use black or white text on #5ebc21?

Black. It scores 8.69:1 against #5ebc21, versus 2.42:1 for white — AAA at any size.

What is the complementary color of #5ebc21?

#7F21BC sits directly opposite on the wheel. Softer options are the split-complements #3221BC and #BC21AB, which give the same contrast with far less vibration.

What colors go well with #5ebc21?

For interface work: #F7FAF4 as the surface, #D1EDC0 for borders, #6A9B4B for secondary text, #571DC0 as an accent and #366C13 for hover and pressed states. For a palette, the analogous pair #ABBC21 and #21BC32 stays calm, while #7F21BC is the loudest partner.

What is #5ebc21 in CMYK for printing?

cmyk(50%, 0%, 82%, 26%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #5ebc21 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #97BC21; nudged cooler, #23BE1F.

Work with #5ebc21 in the Color Lab