Skip to content

#3af58f

a balanced, electric green · cool · closest name: Medium Spring Green

RGB
58, 245, 143
HSL
147°, 90%, 59%
CMYK
76, 0, 42, 4
Luminance
0.6819

At a glance

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

Hex
#3af58f
Hue
147°
green
Saturation
90%
electric
Lightness
59%
balanced
Brightness
96%
HSV value
Perceived
77%
weighted brightness
Luminance
0.6819
WCAG relative
Temperature
Cool
74/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.64:1
Closest name
Medium Spring Green
ΔE2000 2.1
Where it sits
Hue147° of 360°
Saturation90%
Lightness59%
Temperature
Warm ← → Cool74% 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#3af58f
RGBrgb(58, 245, 143)
HSLhsl(147, 90%, 59%)
CMYKcmyk(76%, 0%, 42%, 4%)
LABlab(86.1 -67.4 36.4)
LCHlch(86.1 76.6 151.6)
OKLCHoklch(0.857 0.203 153.6)
Decimal3863951
Display P3color(display-p3 0.227 0.961 0.561)

Copy-ready code

/* CSS */
color: #3af58f;
background-color: #3af58f;
/* Tailwind (arbitrary) */
class="text-[#3af58f] bg-[#3af58f]"
/* SCSS */
$brand: #3af58f;
/* SwiftUI */
Color(red: 0.227, green: 0.961, blue: 0.561)
/* Android */
Color.parseColor("#3af58f")
/* Flutter */
Color(0xFF3AF58F)
/* Python / OpenCV (BGR) */
(143, 245, 58)

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

Accessibility — WCAG contrast

Aa
#3af58f on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#3af58f on black: 14.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F5E188
deuteranopia · #DFD196
tritanopia · #00F2DC

Color scale — 50 to 950

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

#F2FDF7
#E5FBEF
#C3F8DB
#94FAC2
#5FF7A4
#3af58f
#0CE970
#0AC25E
#089B4B
#0A7039
#064623
Base = 500Lightest = 50 · #F2FDF7Darkest = 950 · #064623
:root {
  --brand-50: #F2FDF7;
  --brand-100: #E5FBEF;
  --brand-200: #C3F8DB;
  --brand-300: #94FAC2;
  --brand-400: #5FF7A4;
  --brand-500: #3af58f;
  --brand-600: #0CE970;
  --brand-700: #0AC25E;
  --brand-800: #089B4B;
  --brand-900: #0A7039;
  --brand-950: #064623;
  --brand: #3af58f;
  --brand-ink: #000000;
}

Colors that work with #3af58f

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#F4FAF7
Tinted page background
Border#C0EDD4
Hairlines and dividers
Muted text#4B9B6F
Captions on the surface
Accent#F936D1
Second voice, not a rival
Dark variant#06793B
Hover, pressed, headers
Light variant#E7FEF1
Selected rows, tints
Dark surface#14241B
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 #3af58f

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#F53AA0
Analogous left#42F53A
Analogous right#3AF5ED
Split-complement 1#ED3AF5
Split-complement 2#F53A42
Triadic 1#8F3AF5
Triadic 2#F58F3A
Tetradic#3A42F5

RGB percentages

Red22.7%
Green96.1%
Blue56.1%

CMYK percentages

Cyan76.3%
Magenta0.0%
Yellow41.6%
Key (black)3.9%

Color previews

#3af58f text on a black background

contrast 14.64:1

Card sample

#3af58f text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(58, 245, 143, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 245, 143, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3af58f;
background: linear-gradient(135deg, #3af58f, #3ADEF5);

Monochromatic scale

Palettes built from #3af58f

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.

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

#3af58f, answered

What color is #3af58f?

#3af58f is a balanced electric green, closest to Medium Spring Green (ΔE2000 2.1). It sits at 147° on the hue wheel with 90% saturation and 59% lightness, which reads as cool.

What is the RGB value of #3af58f?

rgb(58, 245, 143) — 58 red, 245 green and 143 blue out of 255, or 22.7% / 96.1% / 56.1% by channel.

Is #3af58f a light or a dark color?

It is a light color. Relative luminance is 0.6819 and perceived brightness is 77%, so black text on it reaches 14.64:1.

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

Black. It scores 14.64:1 against #3af58f, versus 1.43:1 for white — AAA at any size.

What is the complementary color of #3af58f?

#F53AA0 sits directly opposite on the wheel. Softer options are the split-complements #ED3AF5 and #F53A42, which give the same contrast with far less vibration.

What colors go well with #3af58f?

For interface work: #F4FAF7 as the surface, #C0EDD4 for borders, #4B9B6F for secondary text, #F936D1 as an accent and #06793B for hover and pressed states. For a palette, the analogous pair #42F53A and #3AF5ED stays calm, while #F53AA0 is the loudest partner.

What is #3af58f in CMYK for printing?

cmyk(76%, 0%, 42%, 4%). 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 #3af58f warm or cool?

Cool — it scores 74 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3AF54A; nudged cooler, #38F7D5.

Work with #3af58f in the Color Lab