Skip to content

#2ba152

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

RGB
43, 161, 82
HSL
140°, 58%, 40%
CMYK
73, 0, 49, 37
Luminance
0.2661

At a glance

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

Hex
#2ba152
Hue
140°
green
Saturation
58%
vivid
Lightness
40%
dark
Brightness
63%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2661
WCAG relative
Temperature
Cool
71/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
6.32:1
Closest name
Medium Sea Green
ΔE2000 6.5
Where it sits
Hue140° of 360°
Saturation58%
Lightness40%
Temperature
Warm ← → Cool71% 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#2ba152
RGBrgb(43, 161, 82)
HSLhsl(140, 58%, 40%)
CMYKcmyk(73%, 0%, 49%, 37%)
LABlab(58.6 -49.8 31.9)
LCHlch(58.6 59.2 147.3)
OKLCHoklch(0.626 0.155 149.9)
Decimal2859346
Display P3color(display-p3 0.169 0.631 0.322)

Copy-ready code

/* CSS */
color: #2ba152;
background-color: #2ba152;
/* Tailwind (arbitrary) */
class="text-[#2ba152] bg-[#2ba152]"
/* SCSS */
$brand: #2ba152;
/* SwiftUI */
Color(red: 0.169, green: 0.631, blue: 0.322)
/* Android */
Color.parseColor("#2ba152")
/* Flutter */
Color(0xFF2BA152)
/* Python / OpenCV (BGR) */
(82, 161, 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 #2ba152 · 6.32:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.32:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.32:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #2ba152 as text scores 3.32:1 on white and 6.32:1 on black.

Accessibility — WCAG contrast

Aa
#2ba152 on white: 3.32:1
AA ✗ fail · AA-large · AAA
Aa
#2ba152 on black: 6.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A2934C
deuteranopia · #948958
tritanopia · #009E8E

Color scale — 50 to 950

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

#F4FBF6
#E9F7ED
#CDEFD8
#A6E7BC
#7ADB9A
#4ED079
#34C162
#2ba152
#228142
#1D5E32
#123B1F
Base = 700Lightest = 50 · #F4FBF6Darkest = 950 · #123B1F
:root {
  --brand-50: #F4FBF6;
  --brand-100: #E9F7ED;
  --brand-200: #CDEFD8;
  --brand-300: #A6E7BC;
  --brand-400: #7ADB9A;
  --brand-500: #4ED079;
  --brand-600: #34C162;
  --brand-700: #2ba152;
  --brand-800: #228142;
  --brand-900: #1D5E32;
  --brand-950: #123B1F;
  --brand: #2ba152;
  --brand-ink: #000000;
}

Colors that work with #2ba152

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#F4FAF6
Tinted page background
Border#C0EDCF
Hairlines and dividers
Muted text#4B9B65
Captions on the surface
Accent#A5279B
Second voice, not a rival
Dark variant#1B6533
Hover, pressed, headers
Light variant#EBFAF0
Selected rows, tints
Dark surface#142419
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 #2ba152

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#A12B7A
Analogous left#3FA12B
Analogous right#2BA18D
Split-complement 1#8D2BA1
Split-complement 2#A12B3F
Triadic 1#522BA1
Triadic 2#A1522B
Tetradic#2B3FA1

RGB percentages

Red16.9%
Green63.1%
Blue32.2%

CMYK percentages

Cyan73.3%
Magenta0.0%
Yellow49.1%
Key (black)36.9%

Color previews

#2ba152 text on a black background

contrast 6.32:1

Card sample

#2ba152 text on a white background

contrast 3.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ba152

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.

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

#2ba152, answered

What color is #2ba152?

#2ba152 is a dark vivid green, closest to Medium Sea Green (ΔE2000 6.5). It sits at 140° on the hue wheel with 58% saturation and 40% lightness, which reads as cool.

What is the RGB value of #2ba152?

rgb(43, 161, 82) — 43 red, 161 green and 82 blue out of 255, or 16.9% / 63.1% / 32.2% by channel.

Is #2ba152 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2661 and perceived brightness is 50%, so black text on it reaches 6.32:1.

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

Black. It scores 6.32:1 against #2ba152, versus 3.32:1 for white — AA at any size.

What is the complementary color of #2ba152?

#A12B7A sits directly opposite on the wheel. Softer options are the split-complements #8D2BA1 and #A12B3F, which give the same contrast with far less vibration.

What colors go well with #2ba152?

For interface work: #F4FAF6 as the surface, #C0EDCF for borders, #4B9B65 for secondary text, #A5279B as an accent and #1B6533 for hover and pressed states. For a palette, the analogous pair #3FA12B and #2BA18D stays calm, while #A12B7A is the loudest partner.

What is #2ba152 in CMYK for printing?

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

Is #2ba152 warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2FA12B; nudged cooler, #29A37E.

Work with #2ba152 in the Color Lab