Skip to content

#2d4721

a deep, soft green · neutral · closest name: Dark Green

RGB
45, 71, 33
HSL
101°, 37%, 20%
CMYK
37, 0, 54, 72
Luminance
0.0517

At a glance

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

Hex
#2d4721
Hue
101°
green
Saturation
37%
soft
Lightness
20%
deep
Brightness
28%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0517
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Green
Tone
Soft
Best ink
White
10.32:1
Closest name
Dark Green
ΔE2000 13.4
Where it sits
Hue101° of 360°
Saturation37%
Lightness20%
Temperature
Warm ← → Cool55% 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#2d4721
RGBrgb(45, 71, 33)
HSLhsl(101, 37%, 20%)
CMYKcmyk(37%, 0%, 54%, 72%)
LABlab(27.2 -18.3 19.7)
LCHlch(27.2 26.8 132.9)
OKLCHoklch(0.366 0.069 136.6)
Decimal2967329
Display P3color(display-p3 0.176 0.278 0.129)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d4721 on white: 10.32:1
AA ✓ pass · AA-large · AAA
Aa
#2d4721 on black: 2.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #49421E
deuteranopia · #463F23
tritanopia · #2C453E

Color scale — 50 to 950

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

#F7FAF5
#EEF4EB
#DAE8D3
#BFDBB2
#9FCA8C
#80B866
#6AA74E
#588B41
#476F34
#2d4721
#213319
Base = 900Lightest = 50 · #F7FAF5Darkest = 950 · #213319
:root {
  --brand-50: #F7FAF5;
  --brand-100: #EEF4EB;
  --brand-200: #DAE8D3;
  --brand-300: #BFDBB2;
  --brand-400: #9FCA8C;
  --brand-500: #80B866;
  --brand-600: #6AA74E;
  --brand-700: #588B41;
  --brand-800: #476F34;
  --brand-900: #2d4721;
  --brand-950: #213319;
  --brand: #2d4721;
  --brand-ink: #ffffff;
}

Colors that work with #2d4721

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#F6FAF5
Tinted page background
Border#D1E5C7
Hairlines and dividers
Muted text#649B4B
Captions on the surface
Accent#311F49
Second voice, not a rival
Dark variant#375728
Hover, pressed, headers
Light variant#F1F7EE
Selected rows, tints
Dark surface#192414
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 #2d4721

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#3B2147
Analogous left#404721
Analogous right#214728
Split-complement 1#282147
Split-complement 2#472140
Triadic 1#212D47
Triadic 2#47212D
Tetradic#214047

RGB percentages

Red17.6%
Green27.8%
Blue12.9%

CMYK percentages

Cyan36.6%
Magenta0.0%
Yellow53.5%
Key (black)72.2%

Color previews

#2d4721 text on a black background

contrast 2.03:1

Card sample

#2d4721 text on a white background

contrast 10.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d4721

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.

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

#2d4721, answered

What color is #2d4721?

#2d4721 is a deep soft green, closest to Dark Green (ΔE2000 13.4). It sits at 101° on the hue wheel with 37% saturation and 20% lightness, which reads as neutral.

What is the RGB value of #2d4721?

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

Is #2d4721 a light or a dark color?

It is a dark color. Relative luminance is 0.0517 and perceived brightness is 24%, so white text on it reaches 10.32:1.

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

White. It scores 10.32:1 against #2d4721, versus 2.03:1 for black — AAA at any size.

What is the complementary color of #2d4721?

#3B2147 sits directly opposite on the wheel. Softer options are the split-complements #282147 and #472140, which give the same contrast with far less vibration.

What colors go well with #2d4721?

For interface work: #F6FAF5 as the surface, #D1E5C7 for borders, #649B4B for secondary text, #311F49 as an accent and #375728 for hover and pressed states. For a palette, the analogous pair #404721 and #214728 stays calm, while #3B2147 is the loudest partner.

What is #2d4721 in CMYK for printing?

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

Is #2d4721 warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3B4721; nudged cooler, #204822.

Work with #2d4721 in the Color Lab