Skip to content

#2d3e21

a deep, soft green · neutral · closest name: Dark Slate Gray

RGB
45, 62, 33
HSL
95°, 31%, 19%
CMYK
27, 0, 47, 76
Luminance
0.0411

At a glance

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

Hex
#2d3e21
Hue
95°
green
Saturation
31%
soft
Lightness
19%
deep
Brightness
24%
HSV value
Perceived
21%
weighted brightness
Luminance
0.0411
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Green
Tone
Soft
Best ink
White
11.52:1
Closest name
Dark Slate Gray
ΔE2000 14.9
Where it sits
Hue95° of 360°
Saturation31%
Lightness19%
Temperature
Warm ← → Cool52% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#2d3e21
RGBrgb(45, 62, 33)
HSLhsl(95, 31%, 19%)
CMYKcmyk(27%, 0%, 47%, 76%)
LABlab(24.0 -13.2 15.7)
LCHlch(24.0 20.5 130.1)
OKLCHoklch(0.341 0.053 133.3)
Decimal2965025
Display P3color(display-p3 0.176 0.243 0.129)

Copy-ready code

/* CSS */
color: #2d3e21;
background-color: #2d3e21;
/* Tailwind (arbitrary) */
class="text-[#2d3e21] bg-[#2d3e21]"
/* SCSS */
$brand: #2d3e21;
/* SwiftUI */
Color(red: 0.176, green: 0.243, blue: 0.129)
/* Android */
Color.parseColor("#2d3e21")
/* Flutter */
Color(0xFF2D3E21)
/* Python / OpenCV (BGR) */
(33, 62, 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#ffffff on #2d3e21 · 11.52:1
Use #ffffffAAA at every size.
Aa
White text · 11.52:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.82:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2d3e21 as text scores 11.52:1 on white and 1.82:1 on black.

Accessibility — WCAG contrast

Aa
#2d3e21 on white: 11.52:1
AA ✓ pass · AA-large · AAA
Aa
#2d3e21 on black: 1.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #403A1F
deuteranopia · #3E3923
tritanopia · #2D3C37

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2d3e21 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7F9F6
#EFF3EC
#DCE7D5
#C4D8B6
#A6C591
#89B16D
#74A055
#618547
#4D6A39
#3A4E2C
#2d3e21
Base = 950Lightest = 50 · #F7F9F6Darkest = 950 · #2d3e21
:root {
  --brand-50: #F7F9F6;
  --brand-100: #EFF3EC;
  --brand-200: #DCE7D5;
  --brand-300: #C4D8B6;
  --brand-400: #A6C591;
  --brand-500: #89B16D;
  --brand-600: #74A055;
  --brand-700: #618547;
  --brand-800: #4D6A39;
  --brand-900: #3A4E2C;
  --brand-950: #2d3e21;
  --brand: #2d3e21;
  --brand-ink: #ffffff;
}

Colors that work with #2d3e21

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F7FAF5
Tinted page background
Border#D4E3CA
Hairlines and dividers
Muted text#6D9650
Captions on the surface
Accent#2A1F40
Second voice, not a rival
Dark variant#3C532C
Hover, pressed, headers
Light variant#F2F6EE
Selected rows, tints
Dark surface#1B2414
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 #2d3e21

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#32213E
Analogous left#3B3E21
Analogous right#213E23
Split-complement 1#23213E
Split-complement 2#3E213B
Triadic 1#212D3E
Triadic 2#3E212D
Tetradic#213B3E

RGB percentages

Red17.6%
Green24.3%
Blue12.9%

CMYK percentages

Cyan27.4%
Magenta0.0%
Yellow46.8%
Key (black)75.7%

Color previews

#2d3e21 text on a black background

contrast 1.82:1

Card sample

#2d3e21 text on a white background

contrast 11.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 62, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 62, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d3e21;
background: linear-gradient(135deg, #2d3e21, #213E28);

Monochromatic scale

Palettes built from #2d3e21

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.

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

#2d3e21, answered

What color is #2d3e21?

#2d3e21 is a deep soft green, closest to Dark Slate Gray (ΔE2000 14.9). It sits at 95° on the hue wheel with 31% saturation and 19% lightness, which reads as neutral.

What is the RGB value of #2d3e21?

rgb(45, 62, 33) — 45 red, 62 green and 33 blue out of 255, or 17.6% / 24.3% / 12.9% by channel.

Is #2d3e21 a light or a dark color?

It is a dark color. Relative luminance is 0.0411 and perceived brightness is 21%, so white text on it reaches 11.52:1.

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

White. It scores 11.52:1 against #2d3e21, versus 1.82:1 for black — AAA at any size.

What is the complementary color of #2d3e21?

#32213E sits directly opposite on the wheel. Softer options are the split-complements #23213E and #3E213B, which give the same contrast with far less vibration.

What colors go well with #2d3e21?

For interface work: #F7FAF5 as the surface, #D4E3CA for borders, #6D9650 for secondary text, #2A1F40 as an accent and #3C532C for hover and pressed states. For a palette, the analogous pair #3B3E21 and #213E23 stays calm, while #32213E is the loudest partner.

What is #2d3e21 in CMYK for printing?

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

Is #2d3e21 warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #383E21; nudged cooler, #213F20.

Work with #2d3e21 in the Color Lab