Skip to content

#2ba25f

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

RGB
43, 162, 95
HSL
146°, 58%, 40%
CMYK
74, 0, 41, 37
Luminance
0.2718

At a glance

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

Hex
#2ba25f
Hue
146°
green
Saturation
58%
vivid
Lightness
40%
dark
Brightness
64%
HSV value
Perceived
51%
weighted brightness
Luminance
0.2718
WCAG relative
Temperature
Cool
73/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
6.44:1
Closest name
Medium Sea Green
ΔE2000 5.3
Where it sits
Hue146° of 360°
Saturation58%
Lightness40%
Temperature
Warm ← → Cool73% 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#2ba25f
RGBrgb(43, 162, 95)
HSLhsl(146, 58%, 40%)
CMYKcmyk(74%, 0%, 41%, 37%)
LABlab(59.1 -47.9 25.7)
LCHlch(59.1 54.4 151.8)
OKLCHoklch(0.631 0.144 153.7)
Decimal2859615
Display P3color(display-p3 0.169 0.635 0.373)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ba25f on white: 3.26:1
AA ✗ fail · AA-large · AAA
Aa
#2ba25f on black: 6.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A2945A
deuteranopia · #938A64
tritanopia · #00A091

Color scale — 50 to 950

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

#F4FBF7
#E9F7EF
#CDEFDC
#A6E7C3
#7ADCA5
#4ED087
#33C171
#2ba25f
#22814C
#1D5E39
#123B24
Base = 700Lightest = 50 · #F4FBF7Darkest = 950 · #123B24
:root {
  --brand-50: #F4FBF7;
  --brand-100: #E9F7EF;
  --brand-200: #CDEFDC;
  --brand-300: #A6E7C3;
  --brand-400: #7ADCA5;
  --brand-500: #4ED087;
  --brand-600: #33C171;
  --brand-700: #2ba25f;
  --brand-800: #22814C;
  --brand-900: #1D5E39;
  --brand-950: #123B24;
  --brand: #2ba25f;
  --brand-ink: #000000;
}

Colors that work with #2ba25f

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#C0EDD3
Hairlines and dividers
Muted text#4B9B6E
Captions on the surface
Accent#A6278E
Second voice, not a rival
Dark variant#1B653B
Hover, pressed, headers
Light variant#EBFAF1
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 #2ba25f

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#A22B6E
Analogous left#33A22B
Analogous right#2BA29A
Split-complement 1#9A2BA2
Split-complement 2#A22B33
Triadic 1#5F2BA2
Triadic 2#A25F2B
Tetradic#2B33A2

RGB percentages

Red16.9%
Green63.5%
Blue37.3%

CMYK percentages

Cyan73.5%
Magenta0.0%
Yellow41.4%
Key (black)36.5%

Color previews

#2ba25f text on a black background

contrast 6.44:1

Card sample

#2ba25f text on a white background

contrast 3.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ba25f

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.

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

#2ba25f, answered

What color is #2ba25f?

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

What is the RGB value of #2ba25f?

rgb(43, 162, 95) — 43 red, 162 green and 95 blue out of 255, or 16.9% / 63.5% / 37.3% by channel.

Is #2ba25f a light or a dark color?

It is a mid-tone. Relative luminance is 0.2718 and perceived brightness is 51%, so black text on it reaches 6.44:1.

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

Black. It scores 6.44:1 against #2ba25f, versus 3.26:1 for white — AA at any size.

What is the complementary color of #2ba25f?

#A22B6E sits directly opposite on the wheel. Softer options are the split-complements #9A2BA2 and #A22B33, which give the same contrast with far less vibration.

What colors go well with #2ba25f?

For interface work: #F4FAF7 as the surface, #C0EDD3 for borders, #4B9B6E for secondary text, #A6278E as an accent and #1B653B for hover and pressed states. For a palette, the analogous pair #33A22B and #2BA29A stays calm, while #A22B6E is the loudest partner.

What is #2ba25f in CMYK for printing?

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

Is #2ba25f warm or cool?

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

Work with #2ba25f in the Color Lab