Skip to content

#3af2ab

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

RGB
58, 242, 171
HSL
157°, 88%, 59%
CMYK
76, 0, 29, 5
Luminance
0.6734

At a glance

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

Hex
#3af2ab
Hue
157°
green
Saturation
88%
electric
Lightness
59%
balanced
Brightness
95%
HSV value
Perceived
77%
weighted brightness
Luminance
0.6734
WCAG relative
Temperature
Cool
78/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.47:1
Closest name
Medium Spring Green
ΔE2000 4.2
Where it sits
Hue157° of 360°
Saturation88%
Lightness59%
Temperature
Warm ← → Cool78% 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#3af2ab
RGBrgb(58, 242, 171)
HSLhsl(157, 88%, 59%)
CMYKcmyk(76%, 0%, 29%, 5%)
LABlab(85.7 -60.9 21.7)
LCHlch(85.7 64.7 160.4)
OKLCHoklch(0.855 0.175 161.7)
Decimal3863211
Display P3color(display-p3 0.227 0.949 0.671)

Copy-ready code

/* CSS */
color: #3af2ab;
background-color: #3af2ab;
/* Tailwind (arbitrary) */
class="text-[#3af2ab] bg-[#3af2ab]"
/* SCSS */
$brand: #3af2ab;
/* SwiftUI */
Color(red: 0.227, green: 0.949, blue: 0.671)
/* Android */
Color.parseColor("#3af2ab")
/* Flutter */
Color(0xFF3AF2AB)
/* Python / OpenCV (BGR) */
(171, 242, 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 #3af2ab · 14.47:1
Use #000000AAA at every size.
Aa
White text · 1.45:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.47:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #3af2ab as text scores 1.45:1 on white and 14.47:1 on black.

Accessibility — WCAG contrast

Aa
#3af2ab on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#3af2ab on black: 14.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EEE0A7
deuteranopia · #D8D0B0
tritanopia · #00F1DF

Color scale — 50 to 950

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

#F2FDF9
#E5FAF2
#C4F8E4
#96F8D2
#61F5BC
#3af2ab
#0FE693
#0DBF7A
#0A9962
#0C6F48
#07452D
Base = 500Lightest = 50 · #F2FDF9Darkest = 950 · #07452D
:root {
  --brand-50: #F2FDF9;
  --brand-100: #E5FAF2;
  --brand-200: #C4F8E4;
  --brand-300: #96F8D2;
  --brand-400: #61F5BC;
  --brand-500: #3af2ab;
  --brand-600: #0FE693;
  --brand-700: #0DBF7A;
  --brand-800: #0A9962;
  --brand-900: #0C6F48;
  --brand-950: #07452D;
  --brand: #3af2ab;
  --brand-ink: #000000;
}

Colors that work with #3af2ab

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#F4FAF8
Tinted page background
Border#C0EDDB
Hairlines and dividers
Muted text#4B9B7C
Captions on the surface
Accent#F636B0
Second voice, not a rival
Dark variant#08784C
Hover, pressed, headers
Light variant#E7FDF5
Selected rows, tints
Dark surface#14241E
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 #3af2ab

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#F23A81
Analogous left#3AF24F
Analogous right#3ADDF2
Split-complement 1#F23ADD
Split-complement 2#F24F3A
Triadic 1#AB3AF2
Triadic 2#F2AB3A
Tetradic#4F3AF2

RGB percentages

Red22.7%
Green94.9%
Blue67.1%

CMYK percentages

Cyan76.0%
Magenta0.0%
Yellow29.3%
Key (black)5.1%

Color previews

#3af2ab text on a black background

contrast 14.47:1

Card sample

#3af2ab text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3af2ab

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.

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

#3af2ab, answered

What color is #3af2ab?

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

What is the RGB value of #3af2ab?

rgb(58, 242, 171) — 58 red, 242 green and 171 blue out of 255, or 22.7% / 94.9% / 67.1% by channel.

Is #3af2ab a light or a dark color?

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

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

Black. It scores 14.47:1 against #3af2ab, versus 1.45:1 for white — AAA at any size.

What is the complementary color of #3af2ab?

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

What colors go well with #3af2ab?

For interface work: #F4FAF8 as the surface, #C0EDDB for borders, #4B9B7C for secondary text, #F636B0 as an accent and #08784C for hover and pressed states. For a palette, the analogous pair #3AF24F and #3ADDF2 stays calm, while #F23A81 is the loudest partner.

What is #3af2ab in CMYK for printing?

cmyk(76%, 0%, 29%, 5%). 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 #3af2ab warm or cool?

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

Work with #3af2ab in the Color Lab