Skip to content

#5bdf21

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

RGB
91, 223, 33
HSL
102°, 75%, 50%
CMYK
59, 0, 85, 13
Luminance
0.5511

At a glance

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

Hex
#5bdf21
Hue
102°
green
Saturation
75%
vivid
Lightness
50%
balanced
Brightness
87%
HSV value
Perceived
70%
weighted brightness
Luminance
0.5511
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
12.02:1
Closest name
Lime Green
ΔE2000 5.7
Where it sits
Hue102° of 360°
Saturation75%
Lightness50%
Temperature
Warm ← → Cool55% 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#5bdf21
RGBrgb(91, 223, 33)
HSLhsl(102, 75%, 50%)
CMYKcmyk(59%, 0%, 85%, 13%)
LABlab(79.1 -65.8 72.4)
LCHlch(79.1 97.9 132.3)
OKLCHoklch(0.798 0.241 138.9)
Decimal6020897
Display P3color(display-p3 0.357 0.875 0.129)

Copy-ready code

/* CSS */
color: #5bdf21;
background-color: #5bdf21;
/* Tailwind (arbitrary) */
class="text-[#5bdf21] bg-[#5bdf21]"
/* SCSS */
$brand: #5bdf21;
/* SwiftUI */
Color(red: 0.357, green: 0.875, blue: 0.129)
/* Android */
Color.parseColor("#5bdf21")
/* Flutter */
Color(0xFF5BDF21)
/* Python / OpenCV (BGR) */
(33, 223, 91)

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 #5bdf21 · 12.02:1
Use #000000AAA at every size.
Aa
White text · 1.75:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.02:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #5bdf21 as text scores 1.75:1 on white and 12.02:1 on black.

Accessibility — WCAG contrast

Aa
#5bdf21 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#5bdf21 on black: 12.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E6CA00
deuteranopia · #D6C03C
tritanopia · #4CD7BE

Color scale — 50 to 950

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

#F6FCF3
#ECF9E7
#D5F4C8
#B7F19D
#92EA6C
#6EE33B
#5bdf21
#48B21A
#3A8F15
#2D6713
#1C410C
Base = 600Lightest = 50 · #F6FCF3Darkest = 950 · #1C410C
:root {
  --brand-50: #F6FCF3;
  --brand-100: #ECF9E7;
  --brand-200: #D5F4C8;
  --brand-300: #B7F19D;
  --brand-400: #92EA6C;
  --brand-500: #6EE33B;
  --brand-600: #5bdf21;
  --brand-700: #48B21A;
  --brand-800: #3A8F15;
  --brand-900: #2D6713;
  --brand-950: #1C410C;
  --brand: #5bdf21;
  --brand-ink: #000000;
}

Colors that work with #5bdf21

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#F6FAF4
Tinted page background
Border#CDEDC0
Hairlines and dividers
Muted text#639B4B
Captions on the surface
Accent#751CE4
Second voice, not a rival
Dark variant#2D6F10
Hover, pressed, headers
Light variant#EFFCE9
Selected rows, tints
Dark surface#192414
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 #5bdf21

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
  • 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
  • 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#A521DF
Analogous left#BADF21
Analogous right#21DF46
Split-complement 1#4621DF
Split-complement 2#DF21BA
Triadic 1#215BDF
Triadic 2#DF215B
Tetradic#21BADF

RGB percentages

Red35.7%
Green87.5%
Blue12.9%

CMYK percentages

Cyan59.2%
Magenta0.0%
Yellow85.2%
Key (black)12.5%

Color previews

#5bdf21 text on a black background

contrast 12.02:1

Card sample

#5bdf21 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5bdf21

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.

#5bdf21 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.

#5bdf21, answered

What color is #5bdf21?

#5bdf21 is a balanced vivid green, closest to Lime Green (ΔE2000 5.7). It sits at 102° on the hue wheel with 75% saturation and 50% lightness, which reads as neutral.

What is the RGB value of #5bdf21?

rgb(91, 223, 33) — 91 red, 223 green and 33 blue out of 255, or 35.7% / 87.5% / 12.9% by channel.

Is #5bdf21 a light or a dark color?

It is a light color. Relative luminance is 0.5511 and perceived brightness is 70%, so black text on it reaches 12.02:1.

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

Black. It scores 12.02:1 against #5bdf21, versus 1.75:1 for white — AAA at any size.

What is the complementary color of #5bdf21?

#A521DF sits directly opposite on the wheel. Softer options are the split-complements #4621DF and #DF21BA, which give the same contrast with far less vibration.

What colors go well with #5bdf21?

For interface work: #F6FAF4 as the surface, #CDEDC0 for borders, #639B4B for secondary text, #751CE4 as an accent and #2D6F10 for hover and pressed states. For a palette, the analogous pair #BADF21 and #21DF46 stays calm, while #A521DF is the loudest partner.

What is #5bdf21 in CMYK for printing?

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

Is #5bdf21 warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A1DF21; nudged cooler, #1EE22B.

Work with #5bdf21 in the Color Lab