Skip to content

#2d9f5b

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

RGB
45, 159, 91
HSL
144°, 56%, 40%
CMYK
72, 0, 43, 38
Luminance
0.2611

At a glance

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

Hex
#2d9f5b
Hue
144°
green
Saturation
56%
vivid
Lightness
40%
dark
Brightness
62%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2611
WCAG relative
Temperature
Cool
73/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
6.22:1
Closest name
Medium Sea Green
ΔE2000 6.2
Where it sits
Hue144° of 360°
Saturation56%
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#2d9f5b
RGBrgb(45, 159, 91)
HSLhsl(144, 56%, 40%)
CMYKcmyk(72%, 0%, 43%, 38%)
LABlab(58.1 -47.2 26.6)
LCHlch(58.1 54.1 150.6)
OKLCHoklch(0.623 0.143 152.6)
Decimal2989915
Display P3color(display-p3 0.176 0.624 0.357)

Copy-ready code

/* CSS */
color: #2d9f5b;
background-color: #2d9f5b;
/* Tailwind (arbitrary) */
class="text-[#2d9f5b] bg-[#2d9f5b]"
/* SCSS */
$brand: #2d9f5b;
/* SwiftUI */
Color(red: 0.176, green: 0.624, blue: 0.357)
/* Android */
Color.parseColor("#2d9f5b")
/* Flutter */
Color(0xFF2D9F5B)
/* Python / OpenCV (BGR) */
(91, 159, 45)

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

Accessibility — WCAG contrast

Aa
#2d9f5b on white: 3.38:1
AA ✗ fail · AA-large · AAA
Aa
#2d9f5b on black: 6.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9F9256
deuteranopia · #918860
tritanopia · #009D8E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2d9f5b 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
#E9F6EE
#CEEEDB
#A8E6C1
#7CDAA2
#50CE83
#36BF6D
#2d9f5b
#247F49
#1E5D37
#133A22
Base = 700Lightest = 50 · #F4FBF7Darkest = 950 · #133A22
:root {
  --brand-50: #F4FBF7;
  --brand-100: #E9F6EE;
  --brand-200: #CEEEDB;
  --brand-300: #A8E6C1;
  --brand-400: #7CDAA2;
  --brand-500: #50CE83;
  --brand-600: #36BF6D;
  --brand-700: #2d9f5b;
  --brand-800: #247F49;
  --brand-900: #1E5D37;
  --brand-950: #133A22;
  --brand: #2d9f5b;
  --brand-ink: #000000;
}

Colors that work with #2d9f5b

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#C0EDD2
Hairlines and dividers
Muted text#4B9B6B
Captions on the surface
Accent#A32990
Second voice, not a rival
Dark variant#1C6339
Hover, pressed, headers
Light variant#EBF9F1
Selected rows, tints
Dark surface#14241A
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 #2d9f5b

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#9F2D71
Analogous left#389F2D
Analogous right#2D9F94
Split-complement 1#942D9F
Split-complement 2#9F2D38
Triadic 1#5B2D9F
Triadic 2#9F5B2D
Tetradic#2D389F

RGB percentages

Red17.6%
Green62.4%
Blue35.7%

CMYK percentages

Cyan71.7%
Magenta0.0%
Yellow42.8%
Key (black)37.6%

Color previews

#2d9f5b text on a black background

contrast 6.22:1

Card sample

#2d9f5b text on a white background

contrast 3.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 159, 91, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 159, 91, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d9f5b;
background: linear-gradient(135deg, #2d9f5b, #2D979F);

Monochromatic scale

Palettes built from #2d9f5b

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.

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

#2d9f5b, answered

What color is #2d9f5b?

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

What is the RGB value of #2d9f5b?

rgb(45, 159, 91) — 45 red, 159 green and 91 blue out of 255, or 17.6% / 62.4% / 35.7% by channel.

Is #2d9f5b a light or a dark color?

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

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

Black. It scores 6.22:1 against #2d9f5b, versus 3.38:1 for white — AA at any size.

What is the complementary color of #2d9f5b?

#9F2D71 sits directly opposite on the wheel. Softer options are the split-complements #942D9F and #9F2D38, which give the same contrast with far less vibration.

What colors go well with #2d9f5b?

For interface work: #F4FAF7 as the surface, #C0EDD2 for borders, #4B9B6B for secondary text, #A32990 as an accent and #1C6339 for hover and pressed states. For a palette, the analogous pair #389F2D and #2D9F94 stays calm, while #9F2D71 is the loudest partner.

What is #2d9f5b in CMYK for printing?

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

Is #2d9f5b 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 #2D9F31; nudged cooler, #2BA186.

Work with #2d9f5b in the Color Lab