Skip to content

#5fba02

a dark, electric green · neutral · closest name: Lime Green

RGB
95, 186, 2
HSL
90°, 98%, 37%
CMYK
49, 0, 99, 27
Luminance
0.3756

At a glance

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

Hex
#5fba02
Hue
90°
green
Saturation
98%
electric
Lightness
37%
dark
Brightness
73%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3756
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Green
Tone
Electric
Best ink
Black
8.51:1
Closest name
Lime Green
ΔE2000 6.8
Where it sits
Hue90° of 360°
Saturation98%
Lightness37%
Temperature
Warm ← → Cool50% 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#5fba02
RGBrgb(95, 186, 2)
HSLhsl(90, 98%, 37%)
CMYKcmyk(49%, 0%, 99%, 27%)
LABlab(67.7 -52.4 67.6)
LCHlch(67.7 85.5 127.8)
OKLCHoklch(0.704 0.207 135.4)
Decimal6273538
Display P3color(display-p3 0.373 0.729 0.008)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5fba02 on white: 2.47:1
AA ✗ fail · AA-large · AAA
Aa
#5fba02 on black: 8.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C1A900
deuteranopia · #B5A227
tritanopia · #5CB39E

Color scale — 50 to 950

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

#F7FDF1
#F0FCE3
#DEFBC1
#C7FE90
#ACFD58
#90FD21
#7CF203
#5fba02
#52A102
#3E7406
#274904
Base = 700Lightest = 50 · #F7FDF1Darkest = 950 · #274904
:root {
  --brand-50: #F7FDF1;
  --brand-100: #F0FCE3;
  --brand-200: #DEFBC1;
  --brand-300: #C7FE90;
  --brand-400: #ACFD58;
  --brand-500: #90FD21;
  --brand-600: #7CF203;
  --brand-700: #5fba02;
  --brand-800: #52A102;
  --brand-900: #3E7406;
  --brand-950: #274904;
  --brand: #5fba02;
  --brand-ink: #000000;
}

Colors that work with #5fba02

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#F7FAF4
Tinted page background
Border#D6EDC0
Hairlines and dividers
Muted text#739B4B
Captions on the surface
Accent#2E00BC
Second voice, not a rival
Dark variant#407E01
Hover, pressed, headers
Light variant#F2FFE6
Selected rows, tints
Dark surface#1C2414
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 #5fba02

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#5D02BA
Analogous left#BAB902
Analogous right#03BA02
Split-complement 1#0203BA
Split-complement 2#B902BA
Triadic 1#025FBA
Triadic 2#BA025F
Tetradic#02BAB9

RGB percentages

Red37.3%
Green72.9%
Blue0.8%

CMYK percentages

Cyan48.9%
Magenta0.0%
Yellow98.9%
Key (black)27.1%

Color previews

#5fba02 text on a black background

contrast 8.51:1

Card sample

#5fba02 text on a white background

contrast 2.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5fba02

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.

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

#5fba02, answered

What color is #5fba02?

#5fba02 is a dark electric green, closest to Lime Green (ΔE2000 6.8). It sits at 90° on the hue wheel with 98% saturation and 37% lightness, which reads as neutral.

What is the RGB value of #5fba02?

rgb(95, 186, 2) — 95 red, 186 green and 2 blue out of 255, or 37.3% / 72.9% / 0.8% by channel.

Is #5fba02 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3756 and perceived brightness is 59%, so black text on it reaches 8.51:1.

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

Black. It scores 8.51:1 against #5fba02, versus 2.47:1 for white — AAA at any size.

What is the complementary color of #5fba02?

#5D02BA sits directly opposite on the wheel. Softer options are the split-complements #0203BA and #B902BA, which give the same contrast with far less vibration.

What colors go well with #5fba02?

For interface work: #F7FAF4 as the surface, #D6EDC0 for borders, #739B4B for secondary text, #2E00BC as an accent and #407E01 for hover and pressed states. For a palette, the analogous pair #BAB902 and #03BA02 stays calm, while #5D02BA is the loudest partner.

What is #5fba02 in CMYK for printing?

cmyk(49%, 0%, 99%, 27%). 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 #5fba02 warm or cool?

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

Work with #5fba02 in the Color Lab