Skip to content

#5def4f

a balanced, electric green · cool · closest name: Lime

RGB
93, 239, 79
HSL
115°, 83%, 62%
CMYK
61, 0, 67, 6
Luminance
0.6462

At a glance

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

Hex
#5def4f
Hue
115°
green
Saturation
83%
electric
Lightness
62%
balanced
Brightness
94%
HSV value
Perceived
75%
weighted brightness
Luminance
0.6462
WCAG relative
Temperature
Cool
60/100 cool
Color family
Green
Tone
Electric
Best ink
Black
13.92:1
Closest name
Lime
ΔE2000 5.2
Where it sits
Hue115° of 360°
Saturation83%
Lightness62%
Temperature
Warm ← → Cool60% 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#5def4f
RGBrgb(93, 239, 79)
HSLhsl(115, 83%, 62%)
CMYKcmyk(61%, 0%, 67%, 6%)
LABlab(84.3 -67.9 63.3)
LCHlch(84.3 92.8 137.0)
OKLCHoklch(0.842 0.235 141.9)
Decimal6156111
Display P3color(display-p3 0.365 0.937 0.310)

Copy-ready code

/* CSS */
color: #5def4f;
background-color: #5def4f;
/* Tailwind (arbitrary) */
class="text-[#5def4f] bg-[#5def4f]"
/* SCSS */
$brand: #5def4f;
/* SwiftUI */
Color(red: 0.365, green: 0.937, blue: 0.310)
/* Android */
Color.parseColor("#5def4f")
/* Flutter */
Color(0xFF5DEF4F)
/* Python / OpenCV (BGR) */
(79, 239, 93)

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

Accessibility — WCAG contrast

Aa
#5def4f on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#5def4f on black: 13.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F5DA39
deuteranopia · #E3CE5E
tritanopia · #44E8CF

Color scale — 50 to 950

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

#F3FCF2
#E7FAE6
#CAF6C6
#A0F698
#5def4f
#42EC31
#26E014
#20BB11
#19960E
#166C0E
#0E4409
Base = 400Lightest = 50 · #F3FCF2Darkest = 950 · #0E4409
:root {
  --brand-50: #F3FCF2;
  --brand-100: #E7FAE6;
  --brand-200: #CAF6C6;
  --brand-300: #A0F698;
  --brand-400: #5def4f;
  --brand-500: #42EC31;
  --brand-600: #26E014;
  --brand-700: #20BB11;
  --brand-800: #19960E;
  --brand-900: #166C0E;
  --brand-950: #0E4409;
  --brand: #5def4f;
  --brand-ink: #000000;
}

Colors that work with #5def4f

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#F5FAF4
Tinted page background
Border#C4EDC0
Hairlines and dividers
Muted text#529B4B
Captions on the surface
Accent#BA4BF3
Second voice, not a rival
Dark variant#14750B
Hover, pressed, headers
Light variant#E9FDE8
Selected rows, tints
Dark surface#152414
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 #5def4f

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#E14FEF
Analogous left#ADEF4F
Analogous right#4FEF91
Split-complement 1#914FEF
Split-complement 2#EF4FAD
Triadic 1#4F5DEF
Triadic 2#EF4F5D
Tetradic#4FADEF

RGB percentages

Red36.5%
Green93.7%
Blue31.0%

CMYK percentages

Cyan61.1%
Magenta0.0%
Yellow66.9%
Key (black)6.3%

Color previews

#5def4f text on a black background

contrast 13.92:1

Card sample

#5def4f text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(93, 239, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(93, 239, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5def4f;
background: linear-gradient(135deg, #5def4f, #4FEFAC);

Monochromatic scale

Palettes built from #5def4f

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.

#5def4f 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#5def4f, answered

What color is #5def4f?

#5def4f is a balanced electric green, closest to Lime (ΔE2000 5.2). It sits at 115° on the hue wheel with 83% saturation and 62% lightness, which reads as cool.

What is the RGB value of #5def4f?

rgb(93, 239, 79) — 93 red, 239 green and 79 blue out of 255, or 36.5% / 93.7% / 31% by channel.

Is #5def4f a light or a dark color?

It is a light color. Relative luminance is 0.6462 and perceived brightness is 75%, so black text on it reaches 13.92:1.

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

Black. It scores 13.92:1 against #5def4f, versus 1.51:1 for white — AAA at any size.

What is the complementary color of #5def4f?

#E14FEF sits directly opposite on the wheel. Softer options are the split-complements #914FEF and #EF4FAD, which give the same contrast with far less vibration.

What colors go well with #5def4f?

For interface work: #F5FAF4 as the surface, #C4EDC0 for borders, #529B4B for secondary text, #BA4BF3 as an accent and #14750B for hover and pressed states. For a palette, the analogous pair #ADEF4F and #4FEF91 stays calm, while #E14FEF is the loudest partner.

What is #5def4f in CMYK for printing?

cmyk(61%, 0%, 67%, 6%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #5def4f warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #98EF4F; nudged cooler, #4DF17B.

Work with #5def4f in the Color Lab