Skip to content

#2d8d52

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

RGB
45, 141, 82
HSL
143°, 52%, 37%
CMYK
68, 0, 42, 45
Luminance
0.2022

At a glance

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

Hex
#2d8d52
Hue
143°
green
Saturation
52%
vivid
Lightness
37%
dark
Brightness
55%
HSV value
Perceived
45%
weighted brightness
Luminance
0.2022
WCAG relative
Temperature
Cool
72/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
5.04:1
Closest name
Sea Green
ΔE2000 1.7
Where it sits
Hue143° of 360°
Saturation52%
Lightness37%
Temperature
Warm ← → Cool72% 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#2d8d52
RGBrgb(45, 141, 82)
HSLhsl(143, 52%, 37%)
CMYKcmyk(68%, 0%, 42%, 45%)
LABlab(52.1 -41.7 23.6)
LCHlch(52.1 47.9 150.6)
OKLCHoklch(0.573 0.127 152.6)
Decimal2985298
Display P3color(display-p3 0.176 0.553 0.322)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d8d52 on white: 4.16:1
AA ✗ fail · AA-large · AAA
Aa
#2d8d52 on black: 5.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8D814E
deuteranopia · #817956
tritanopia · #008B7E

Color scale — 50 to 950

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

#F4FAF7
#EAF6EE
#CFEDDA
#AAE4C0
#7FD6A1
#55C981
#3BBA6C
#2d8d52
#277C48
#205A37
#143822
Base = 700Lightest = 50 · #F4FAF7Darkest = 950 · #143822
:root {
  --brand-50: #F4FAF7;
  --brand-100: #EAF6EE;
  --brand-200: #CFEDDA;
  --brand-300: #AAE4C0;
  --brand-400: #7FD6A1;
  --brand-500: #55C981;
  --brand-600: #3BBA6C;
  --brand-700: #2d8d52;
  --brand-800: #277C48;
  --brand-900: #205A37;
  --brand-950: #143822;
  --brand: #2d8d52;
  --brand-ink: #000000;
}

Colors that work with #2d8d52

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#C1EBD1
Hairlines and dividers
Muted text#4B9B6A
Captions on the surface
Accent#912983
Second voice, not a rival
Dark variant#1F6138
Hover, pressed, headers
Light variant#ECF9F1
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 #2d8d52

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#8D2D68
Analogous left#388D2D
Analogous right#2D8D82
Split-complement 1#822D8D
Split-complement 2#8D2D38
Triadic 1#522D8D
Triadic 2#8D522D
Tetradic#2D388D

RGB percentages

Red17.6%
Green55.3%
Blue32.2%

CMYK percentages

Cyan68.1%
Magenta0.0%
Yellow41.8%
Key (black)44.7%

Color previews

#2d8d52 text on a black background

contrast 5.04:1

Card sample

#2d8d52 text on a white background

contrast 4.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d8d52

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.

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

#2d8d52, answered

What color is #2d8d52?

#2d8d52 is a dark vivid green, closest to Sea Green (ΔE2000 1.7). It sits at 143° on the hue wheel with 52% saturation and 37% lightness, which reads as cool.

What is the RGB value of #2d8d52?

rgb(45, 141, 82) — 45 red, 141 green and 82 blue out of 255, or 17.6% / 55.3% / 32.2% by channel.

Is #2d8d52 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2022 and perceived brightness is 45%, so black text on it reaches 5.04:1.

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

Black. It scores 5.04:1 against #2d8d52, versus 4.16:1 for white — AA at any size.

What is the complementary color of #2d8d52?

#8D2D68 sits directly opposite on the wheel. Softer options are the split-complements #822D8D and #8D2D38, which give the same contrast with far less vibration.

What colors go well with #2d8d52?

For interface work: #F4FAF7 as the surface, #C1EBD1 for borders, #4B9B6A for secondary text, #912983 as an accent and #1F6138 for hover and pressed states. For a palette, the analogous pair #388D2D and #2D8D82 stays calm, while #8D2D68 is the loudest partner.

What is #2d8d52 in CMYK for printing?

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

Is #2d8d52 warm or cool?

Cool — it scores 72 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2D8D2F; nudged cooler, #2B8F76.

Work with #2d8d52 in the Color Lab