Skip to content

#2ba97b

a dark, vivid green · cool · closest name: Medium Sea Green

RGB
43, 169, 123
HSL
158°, 59%, 42%
CMYK
75, 0, 27, 34
Luminance
0.3032

At a glance

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

Hex
#2ba97b
Hue
158°
green
Saturation
59%
vivid
Lightness
42%
dark
Brightness
66%
HSV value
Perceived
54%
weighted brightness
Luminance
0.3032
WCAG relative
Temperature
Cool
78/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
7.06:1
Closest name
Medium Sea Green
ΔE2000 5.4
Where it sits
Hue158° of 360°
Saturation59%
Lightness42%
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#2ba97b
RGBrgb(43, 169, 123)
HSLhsl(158, 59%, 42%)
CMYKcmyk(75%, 0%, 27%, 34%)
LABlab(61.9 -44.8 14.2)
LCHlch(61.9 47.0 162.4)
OKLCHoklch(0.656 0.128 163.6)
Decimal2861435
Display P3color(display-p3 0.169 0.663 0.482)

Copy-ready code

/* CSS */
color: #2ba97b;
background-color: #2ba97b;
/* Tailwind (arbitrary) */
class="text-[#2ba97b] bg-[#2ba97b]"
/* SCSS */
$brand: #2ba97b;
/* SwiftUI */
Color(red: 0.169, green: 0.663, blue: 0.482)
/* Android */
Color.parseColor("#2ba97b")
/* Flutter */
Color(0xFF2BA97B)
/* Python / OpenCV (BGR) */
(123, 169, 43)

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

Accessibility — WCAG contrast

Aa
#2ba97b on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#2ba97b on black: 7.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A69C78
deuteranopia · #96917E
tritanopia · #00A99C

Color scale — 50 to 950

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

#F4FBF8
#E9F7F2
#CDEFE3
#A6E8D0
#79DDB8
#4CD1A1
#32C38E
#2ba97b
#21825F
#1C5F46
#113B2C
Base = 700Lightest = 50 · #F4FBF8Darkest = 950 · #113B2C
:root {
  --brand-50: #F4FBF8;
  --brand-100: #E9F7F2;
  --brand-200: #CDEFE3;
  --brand-300: #A6E8D0;
  --brand-400: #79DDB8;
  --brand-500: #4CD1A1;
  --brand-600: #32C38E;
  --brand-700: #2ba97b;
  --brand-800: #21825F;
  --brand-900: #1C5F46;
  --brand-950: #113B2C;
  --brand: #2ba97b;
  --brand-ink: #000000;
}

Colors that work with #2ba97b

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#C0EDDC
Hairlines and dividers
Muted text#4B9B7E
Captions on the surface
Accent#AD277A
Second voice, not a rival
Dark variant#1A664A
Hover, pressed, headers
Light variant#EBFAF4
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 #2ba97b

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#A92B59
Analogous left#2BA93C
Analogous right#2B98A9
Split-complement 1#A92B98
Split-complement 2#A93C2B
Triadic 1#7B2BA9
Triadic 2#A97B2B
Tetradic#3C2BA9

RGB percentages

Red16.9%
Green66.3%
Blue48.2%

CMYK percentages

Cyan74.6%
Magenta0.0%
Yellow27.2%
Key (black)33.7%

Color previews

#2ba97b text on a black background

contrast 7.06:1

Card sample

#2ba97b text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2ba97b;
Background color
Panel with #2ba97b background
background-color: #2ba97b;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(43, 169, 123, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(43, 169, 123, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ba97b;
background: linear-gradient(135deg, #2ba97b, #2B83A9);

Monochromatic scale

Palettes built from #2ba97b

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.

#2ba97b 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.

#2ba97b, answered

What color is #2ba97b?

#2ba97b is a dark vivid green, closest to Medium Sea Green (ΔE2000 5.4). It sits at 158° on the hue wheel with 59% saturation and 42% lightness, which reads as cool.

What is the RGB value of #2ba97b?

rgb(43, 169, 123) — 43 red, 169 green and 123 blue out of 255, or 16.9% / 66.3% / 48.2% by channel.

Is #2ba97b a light or a dark color?

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

Should I use black or white text on #2ba97b?

Black. It scores 7.06:1 against #2ba97b, versus 2.97:1 for white — AAA at any size.

What is the complementary color of #2ba97b?

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

What colors go well with #2ba97b?

For interface work: #F4FAF8 as the surface, #C0EDDC for borders, #4B9B7E for secondary text, #AD277A as an accent and #1A664A for hover and pressed states. For a palette, the analogous pair #2BA93C and #2B98A9 stays calm, while #A92B59 is the loudest partner.

What is #2ba97b in CMYK for printing?

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

Is #2ba97b 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 #2BA94D; nudged cooler, #29ABAB.

Work with #2ba97b in the Color Lab