Skip to content

#2d4921

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

RGB
45, 73, 33
HSL
102°, 38%, 21%
CMYK
38, 0, 55, 71
Luminance
0.0543

At a glance

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

Hex
#2d4921
Hue
102°
green
Saturation
38%
soft
Lightness
21%
deep
Brightness
29%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0543
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Green
Tone
Soft
Best ink
White
10.06:1
Closest name
Dark Green
ΔE2000 12.6
Where it sits
Hue102° of 360°
Saturation38%
Lightness21%
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#2d4921
RGBrgb(45, 73, 33)
HSLhsl(102, 38%, 21%)
CMYKcmyk(38%, 0%, 55%, 71%)
LABlab(27.9 -19.3 20.5)
LCHlch(27.9 28.2 133.2)
OKLCHoklch(0.372 0.072 137.0)
Decimal2967841
Display P3color(display-p3 0.176 0.286 0.129)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d4921 on white: 10.06:1
AA ✓ pass · AA-large · AAA
Aa
#2d4921 on black: 2.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4B431E
deuteranopia · #474124
tritanopia · #2C4740

Color scale — 50 to 950

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

#F6FAF5
#EEF4EB
#D9E9D3
#BEDCB2
#9ECB8B
#7EB965
#68A94C
#578C40
#457033
#2d4921
#213419
Base = 900Lightest = 50 · #F6FAF5Darkest = 950 · #213419
:root {
  --brand-50: #F6FAF5;
  --brand-100: #EEF4EB;
  --brand-200: #D9E9D3;
  --brand-300: #BEDCB2;
  --brand-400: #9ECB8B;
  --brand-500: #7EB965;
  --brand-600: #68A94C;
  --brand-700: #578C40;
  --brand-800: #457033;
  --brand-900: #2d4921;
  --brand-950: #213419;
  --brand: #2d4921;
  --brand-ink: #ffffff;
}

Colors that work with #2d4921

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#F6FAF4
Tinted page background
Border#D0E6C7
Hairlines and dividers
Muted text#639B4B
Captions on the surface
Accent#331F4B
Second voice, not a rival
Dark variant#365828
Hover, pressed, headers
Light variant#F0F7ED
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 #2d4921

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#3D2149
Analogous left#414921
Analogous right#214929
Split-complement 1#292149
Split-complement 2#492141
Triadic 1#212D49
Triadic 2#49212D
Tetradic#214149

RGB percentages

Red17.6%
Green28.6%
Blue12.9%

CMYK percentages

Cyan38.4%
Magenta0.0%
Yellow54.8%
Key (black)71.4%

Color previews

#2d4921 text on a black background

contrast 2.09:1

Card sample

#2d4921 text on a white background

contrast 10.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d4921

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.

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

#2d4921, answered

What color is #2d4921?

#2d4921 is a deep soft green, closest to Dark Green (ΔE2000 12.6). It sits at 102° on the hue wheel with 38% saturation and 21% lightness, which reads as neutral.

What is the RGB value of #2d4921?

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

Is #2d4921 a light or a dark color?

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

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

White. It scores 10.06:1 against #2d4921, versus 2.09:1 for black — AAA at any size.

What is the complementary color of #2d4921?

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

What colors go well with #2d4921?

For interface work: #F6FAF4 as the surface, #D0E6C7 for borders, #639B4B for secondary text, #331F4B as an accent and #365828 for hover and pressed states. For a palette, the analogous pair #414921 and #214929 stays calm, while #3D2149 is the loudest partner.

What is #2d4921 in CMYK for printing?

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

Is #2d4921 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 #3C4921; nudged cooler, #204A23.

Work with #2d4921 in the Color Lab