Skip to content

#5fdf27

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

RGB
95, 223, 39
HSL
102°, 74%, 51%
CMYK
57, 0, 83, 13
Luminance
0.5535

At a glance

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

Hex
#5fdf27
Hue
102°
green
Saturation
74%
vivid
Lightness
51%
balanced
Brightness
87%
HSV value
Perceived
70%
weighted brightness
Luminance
0.5535
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
12.07:1
Closest name
Lime Green
ΔE2000 5.8
Where it sits
Hue102° of 360°
Saturation74%
Lightness51%
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#5fdf27
RGBrgb(95, 223, 39)
HSLhsl(102, 74%, 51%)
CMYKcmyk(57%, 0%, 83%, 13%)
LABlab(79.2 -64.6 71.2)
LCHlch(79.2 96.2 132.2)
OKLCHoklch(0.800 0.237 138.7)
Decimal6283047
Display P3color(display-p3 0.373 0.875 0.153)

Copy-ready code

/* CSS */
color: #5fdf27;
background-color: #5fdf27;
/* Tailwind (arbitrary) */
class="text-[#5fdf27] bg-[#5fdf27]"
/* SCSS */
$brand: #5fdf27;
/* SwiftUI */
Color(red: 0.373, green: 0.875, blue: 0.153)
/* Android */
Color.parseColor("#5fdf27")
/* Flutter */
Color(0xFF5FDF27)
/* Python / OpenCV (BGR) */
(39, 223, 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 #5fdf27 · 12.07:1
Use #000000AAA at every size.
Aa
White text · 1.74:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.07:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #5fdf27 as text scores 1.74:1 on white and 12.07:1 on black.

Accessibility — WCAG contrast

Aa
#5fdf27 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#5fdf27 on black: 12.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E6CB00
deuteranopia · #D6C03F
tritanopia · #52D7BE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5fdf27 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
#D5F3C8
#B7F19D
#92E96C
#6EE23C
#5fdf27
#48B21A
#3A8E15
#2D6713
#1C400C
Base = 600Lightest = 50 · #F6FCF3Darkest = 950 · #1C400C
:root {
  --brand-50: #F6FCF3;
  --brand-100: #ECF9E7;
  --brand-200: #D5F3C8;
  --brand-300: #B7F19D;
  --brand-400: #92E96C;
  --brand-500: #6EE23C;
  --brand-600: #5fdf27;
  --brand-700: #48B21A;
  --brand-800: #3A8E15;
  --brand-900: #2D6713;
  --brand-950: #1C400C;
  --brand: #5fdf27;
  --brand-ink: #000000;
}

Colors that work with #5fdf27

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#7822E4
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 #5fdf27

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#A727DF
Analogous left#BBDF27
Analogous right#27DF4B
Split-complement 1#4B27DF
Split-complement 2#DF27BB
Triadic 1#275FDF
Triadic 2#DF275F
Tetradic#27BBDF

RGB percentages

Red37.3%
Green87.5%
Blue15.3%

CMYK percentages

Cyan57.4%
Magenta0.0%
Yellow82.5%
Key (black)12.5%

Color previews

#5fdf27 text on a black background

contrast 12.07:1

Card sample

#5fdf27 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(95, 223, 39, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 223, 39, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5fdf27;
background: linear-gradient(135deg, #5fdf27, #27DF6A);

Monochromatic scale

Palettes built from #5fdf27

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.

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

#5fdf27, answered

What color is #5fdf27?

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

What is the RGB value of #5fdf27?

rgb(95, 223, 39) — 95 red, 223 green and 39 blue out of 255, or 37.3% / 87.5% / 15.3% by channel.

Is #5fdf27 a light or a dark color?

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

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

Black. It scores 12.07:1 against #5fdf27, versus 1.74:1 for white — AAA at any size.

What is the complementary color of #5fdf27?

#A727DF sits directly opposite on the wheel. Softer options are the split-complements #4B27DF and #DF27BB, which give the same contrast with far less vibration.

What colors go well with #5fdf27?

For interface work: #F6FAF4 as the surface, #CDEDC0 for borders, #639B4B for secondary text, #7822E4 as an accent and #2D6F10 for hover and pressed states. For a palette, the analogous pair #BBDF27 and #27DF4B stays calm, while #A727DF is the loudest partner.

What is #5fdf27 in CMYK for printing?

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

Is #5fdf27 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 #A3DF27; nudged cooler, #25E230.

Work with #5fdf27 in the Color Lab