Skip to content

#5fd271

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

RGB
95, 210, 113
HSL
129°, 56%, 60%
CMYK
55, 0, 46, 18
Luminance
0.4972

At a glance

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

Hex
#5fd271
Hue
129°
green
Saturation
56%
vivid
Lightness
60%
balanced
Brightness
82%
HSV value
Perceived
68%
weighted brightness
Luminance
0.4972
WCAG relative
Temperature
Cool
66/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
10.94:1
Closest name
Lime Green
ΔE2000 7
Where it sits
Hue129° of 360°
Saturation56%
Lightness60%
Temperature
Warm ← → Cool66% cool

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

Every format

HEX#5fd271
RGBrgb(95, 210, 113)
HSLhsl(129, 56%, 60%)
CMYKcmyk(55%, 0%, 46%, 18%)
LABlab(75.9 -52.9 38.3)
LCHlch(75.9 65.3 144.1)
OKLCHoklch(0.774 0.171 146.9)
Decimal6279793
Display P3color(display-p3 0.373 0.824 0.443)

Copy-ready code

/* CSS */
color: #5fd271;
background-color: #5fd271;
/* Tailwind (arbitrary) */
class="text-[#5fd271] bg-[#5fd271]"
/* SCSS */
$brand: #5fd271;
/* SwiftUI */
Color(red: 0.373, green: 0.824, blue: 0.443)
/* Android */
Color.parseColor("#5fd271")
/* Flutter */
Color(0xFF5FD271)
/* Python / OpenCV (BGR) */
(113, 210, 95)

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

Accessibility — WCAG contrast

Aa
#5fd271 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#5fd271 on black: 10.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D5C169
deuteranopia · #C5B778
tritanopia · #48CEBB

Color scale — 50 to 950

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

#F4FBF5
#E9F6EB
#CDEED3
#A7E6B1
#7CDA8A
#5fd271
#36BF4B
#2D9F3F
#247F32
#1E5D28
#133A19
Base = 500Lightest = 50 · #F4FBF5Darkest = 950 · #133A19
:root {
  --brand-50: #F4FBF5;
  --brand-100: #E9F6EB;
  --brand-200: #CDEED3;
  --brand-300: #A7E6B1;
  --brand-400: #7CDA8A;
  --brand-500: #5fd271;
  --brand-600: #36BF4B;
  --brand-700: #2D9F3F;
  --brand-800: #247F32;
  --brand-900: #1E5D28;
  --brand-950: #133A19;
  --brand: #5fd271;
  --brand-ink: #000000;
}

Colors that work with #5fd271

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#F4FAF5
Tinted page background
Border#C0EDC7
Hairlines and dividers
Muted text#4B9B57
Captions on the surface
Accent#CB5BD6
Second voice, not a rival
Dark variant#1C6427
Hover, pressed, headers
Light variant#EBF9ED
Selected rows, tints
Dark surface#142416
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 #5fd271

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#D25FC0
Analogous left#86D25F
Analogous right#5FD2AB
Split-complement 1#AB5FD2
Split-complement 2#D25F86
Triadic 1#715FD2
Triadic 2#D2715F
Tetradic#5F86D2

RGB percentages

Red37.3%
Green82.4%
Blue44.3%

CMYK percentages

Cyan54.8%
Magenta0.0%
Yellow46.2%
Key (black)17.6%

Color previews

#5fd271 text on a black background

contrast 10.94:1

Card sample

#5fd271 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(95, 210, 113, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 210, 113, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5fd271;
background: linear-gradient(135deg, #5fd271, #5FD2BE);

Monochromatic scale

Palettes built from #5fd271

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.

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

#5fd271, answered

What color is #5fd271?

#5fd271 is a balanced vivid green, closest to Lime Green (ΔE2000 7). It sits at 129° on the hue wheel with 56% saturation and 60% lightness, which reads as cool.

What is the RGB value of #5fd271?

rgb(95, 210, 113) — 95 red, 210 green and 113 blue out of 255, or 37.3% / 82.4% / 44.3% by channel.

Is #5fd271 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4972 and perceived brightness is 68%, so black text on it reaches 10.94:1.

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

Black. It scores 10.94:1 against #5fd271, versus 1.92:1 for white — AAA at any size.

What is the complementary color of #5fd271?

#D25FC0 sits directly opposite on the wheel. Softer options are the split-complements #AB5FD2 and #D25F86, which give the same contrast with far less vibration.

What colors go well with #5fd271?

For interface work: #F4FAF5 as the surface, #C0EDC7 for borders, #4B9B57 for secondary text, #CB5BD6 as an accent and #1C6427 for hover and pressed states. For a palette, the analogous pair #86D25F and #5FD2AB stays calm, while #D25FC0 is the loudest partner.

What is #5fd271 in CMYK for printing?

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

Is #5fd271 warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #77D25F; nudged cooler, #5DD49B.

Work with #5fd271 in the Color Lab