Skip to content

#5fd02a

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

RGB
95, 208, 42
HSL
101°, 66%, 49%
CMYK
54, 0, 80, 18
Luminance
0.4771

At a glance

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

Hex
#5fd02a
Hue
101°
green
Saturation
66%
vivid
Lightness
49%
balanced
Brightness
82%
HSV value
Perceived
66%
weighted brightness
Luminance
0.4771
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
10.54:1
Closest name
Lime Green
ΔE2000 3.6
Where it sits
Hue101° of 360°
Saturation66%
Lightness49%
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#5fd02a
RGBrgb(95, 208, 42)
HSLhsl(101, 66%, 49%)
CMYKcmyk(54%, 0%, 80%, 18%)
LABlab(74.6 -59.2 66.2)
LCHlch(74.6 88.8 131.8)
OKLCHoklch(0.762 0.220 138.2)
Decimal6279210
Display P3color(display-p3 0.373 0.816 0.165)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5fd02a on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#5fd02a on black: 10.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D7BD00
deuteranopia · #C8B43E
tritanopia · #55C9B2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5fd02a 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.

#F6FBF3
#EDF8E8
#D7F1CA
#B9ECA2
#97E373
#74D944
#5fd02a
#4EAA22
#3E881B
#306318
#1E3E0F
Base = 600Lightest = 50 · #F6FBF3Darkest = 950 · #1E3E0F
:root {
  --brand-50: #F6FBF3;
  --brand-100: #EDF8E8;
  --brand-200: #D7F1CA;
  --brand-300: #B9ECA2;
  --brand-400: #97E373;
  --brand-500: #74D944;
  --brand-600: #5fd02a;
  --brand-700: #4EAA22;
  --brand-800: #3E881B;
  --brand-900: #306318;
  --brand-950: #1E3E0F;
  --brand: #5fd02a;
  --brand-ink: #000000;
}

Colors that work with #5fd02a

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#CEEDC0
Hairlines and dividers
Muted text#649B4B
Captions on the surface
Accent#7125D5
Second voice, not a rival
Dark variant#316A15
Hover, pressed, headers
Light variant#EFFBEA
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 #5fd02a

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#9B2AD0
Analogous left#B2D02A
Analogous right#2AD048
Split-complement 1#482AD0
Split-complement 2#D02AB2
Triadic 1#2A5FD0
Triadic 2#D02A5F
Tetradic#2AB2D0

RGB percentages

Red37.3%
Green81.6%
Blue16.5%

CMYK percentages

Cyan54.3%
Magenta0.0%
Yellow79.8%
Key (black)18.4%

Color previews

#5fd02a text on a black background

contrast 10.54:1

Card sample

#5fd02a text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(95, 208, 42, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 208, 42, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5fd02a;
background: linear-gradient(135deg, #5fd02a, #2AD064);

Monochromatic scale

Palettes built from #5fd02a

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.

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

#5fd02a, answered

What color is #5fd02a?

#5fd02a is a balanced vivid green, closest to Lime Green (ΔE2000 3.6). It sits at 101° on the hue wheel with 66% saturation and 49% lightness, which reads as neutral.

What is the RGB value of #5fd02a?

rgb(95, 208, 42) — 95 red, 208 green and 42 blue out of 255, or 37.3% / 81.6% / 16.5% by channel.

Is #5fd02a a light or a dark color?

It is a mid-tone. Relative luminance is 0.4771 and perceived brightness is 66%, so black text on it reaches 10.54:1.

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

Black. It scores 10.54:1 against #5fd02a, versus 1.99:1 for white — AAA at any size.

What is the complementary color of #5fd02a?

#9B2AD0 sits directly opposite on the wheel. Softer options are the split-complements #482AD0 and #D02AB2, which give the same contrast with far less vibration.

What colors go well with #5fd02a?

For interface work: #F6FAF4 as the surface, #CEEDC0 for borders, #649B4B for secondary text, #7125D5 as an accent and #316A15 for hover and pressed states. For a palette, the analogous pair #B2D02A and #2AD048 stays calm, while #9B2AD0 is the loudest partner.

What is #5fd02a in CMYK for printing?

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

Is #5fd02a 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 #9CD02A; nudged cooler, #27D22F.

Work with #5fd02a in the Color Lab