Skip to content

#3baf0f

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

RGB
59, 175, 15
HSL
104°, 84%, 37%
CMYK
66, 0, 91, 31
Luminance
0.3162

At a glance

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

Hex
#3baf0f
Hue
104°
green
Saturation
84%
electric
Lightness
37%
dark
Brightness
69%
HSV value
Perceived
54%
weighted brightness
Luminance
0.3162
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Green
Tone
Electric
Best ink
Black
7.32:1
Closest name
Lime Green
ΔE2000 8.1
Where it sits
Hue104° of 360°
Saturation84%
Lightness37%
Temperature
Warm ← → Cool56% 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#3baf0f
RGBrgb(59, 175, 15)
HSLhsl(104, 84%, 37%)
CMYKcmyk(66%, 0%, 91%, 31%)
LABlab(63.0 -57.7 61.7)
LCHlch(63.0 84.5 133.1)
OKLCHoklch(0.662 0.208 139.8)
Decimal3911439
Display P3color(display-p3 0.231 0.686 0.059)

Copy-ready code

/* CSS */
color: #3baf0f;
background-color: #3baf0f;
/* Tailwind (arbitrary) */
class="text-[#3baf0f] bg-[#3baf0f]"
/* SCSS */
$brand: #3baf0f;
/* SwiftUI */
Color(red: 0.231, green: 0.686, blue: 0.059)
/* Android */
Color.parseColor("#3baf0f")
/* Flutter */
Color(0xFF3BAF0F)
/* Python / OpenCV (BGR) */
(15, 175, 59)

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

Accessibility — WCAG contrast

Aa
#3baf0f on white: 2.87:1
AA ✗ fail · AA-large · AAA
Aa
#3baf0f on black: 7.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B49E00
deuteranopia · #A79529
tritanopia · #28A994

Color scale — 50 to 950

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

#F5FCF2
#EBFAE6
#D3F6C5
#B2F698
#8BF264
#64ED30
#4CE113
#3baf0f
#33960D
#286D0E
#194409
Base = 700Lightest = 50 · #F5FCF2Darkest = 950 · #194409
:root {
  --brand-50: #F5FCF2;
  --brand-100: #EBFAE6;
  --brand-200: #D3F6C5;
  --brand-300: #B2F698;
  --brand-400: #8BF264;
  --brand-500: #64ED30;
  --brand-600: #4CE113;
  --brand-700: #3baf0f;
  --brand-800: #33960D;
  --brand-900: #286D0E;
  --brand-950: #194409;
  --brand: #3baf0f;
  --brand-ink: #000000;
}

Colors that work with #3baf0f

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#CCEDC0
Hairlines and dividers
Muted text#619B4B
Captions on the surface
Accent#5B0BB3
Second voice, not a rival
Dark variant#28750A
Hover, pressed, headers
Light variant#EDFDE8
Selected rows, tints
Dark surface#182414
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 #3baf0f

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#830FAF
Analogous left#8BAF0F
Analogous right#0FAF33
Split-complement 1#330FAF
Split-complement 2#AF0F8B
Triadic 1#0F3BAF
Triadic 2#AF0F3B
Tetradic#0F8BAF

RGB percentages

Red23.1%
Green68.6%
Blue5.9%

CMYK percentages

Cyan66.3%
Magenta0.0%
Yellow91.4%
Key (black)31.4%

Color previews

#3baf0f text on a black background

contrast 7.32:1

Card sample

#3baf0f text on a white background

contrast 2.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3baf0f;
Background color
Panel with #3baf0f background
background-color: #3baf0f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3baf0f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(59, 175, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(59, 175, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3baf0f;
background: linear-gradient(135deg, #3baf0f, #0FAF4E);

Monochromatic scale

Palettes built from #3baf0f

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.

#3baf0f 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.

#3baf0f, answered

What color is #3baf0f?

#3baf0f is a dark electric green, closest to Lime Green (ΔE2000 8.1). It sits at 104° on the hue wheel with 84% saturation and 37% lightness, which reads as neutral.

What is the RGB value of #3baf0f?

rgb(59, 175, 15) — 59 red, 175 green and 15 blue out of 255, or 23.1% / 68.6% / 5.9% by channel.

Is #3baf0f a light or a dark color?

It is a mid-tone. Relative luminance is 0.3162 and perceived brightness is 54%, so black text on it reaches 7.32:1.

Should I use black or white text on #3baf0f?

Black. It scores 7.32:1 against #3baf0f, versus 2.87:1 for white — AAA at any size.

What is the complementary color of #3baf0f?

#830FAF sits directly opposite on the wheel. Softer options are the split-complements #330FAF and #AF0F8B, which give the same contrast with far less vibration.

What colors go well with #3baf0f?

For interface work: #F6FAF4 as the surface, #CCEDC0 for borders, #619B4B for secondary text, #5B0BB3 as an accent and #28750A for hover and pressed states. For a palette, the analogous pair #8BAF0F and #0FAF33 stays calm, while #830FAF is the loudest partner.

What is #3baf0f in CMYK for printing?

cmyk(66%, 0%, 91%, 31%). 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 #3baf0f warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #76AF0F; nudged cooler, #0DB11C.

Work with #3baf0f in the Color Lab