Skip to content

#1d4e21

a deep, vivid green · cool · closest name: Dark Green

RGB
29, 78, 33
HSL
125°, 46%, 21%
CMYK
63, 0, 58, 69
Luminance
0.0582

At a glance

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

Hex
#1d4e21
Hue
125°
green
Saturation
46%
vivid
Lightness
21%
deep
Brightness
31%
HSV value
Perceived
25%
weighted brightness
Luminance
0.0582
WCAG relative
Temperature
Cool
65/100 cool
Color family
Green
Tone
Vivid
Best ink
White
9.70:1
Closest name
Dark Green
ΔE2000 10.2
Where it sits
Hue125° of 360°
Saturation46%
Lightness21%
Temperature
Warm ← → Cool65% 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#1d4e21
RGBrgb(29, 78, 33)
HSLhsl(125, 46%, 21%)
CMYKcmyk(63%, 0%, 58%, 69%)
LABlab(28.9 -27.3 21.6)
LCHlch(28.9 34.8 141.7)
OKLCHoklch(0.378 0.090 145.0)
Decimal1920545
Display P3color(display-p3 0.114 0.306 0.129)

Copy-ready code

/* CSS */
color: #1d4e21;
background-color: #1d4e21;
/* Tailwind (arbitrary) */
class="text-[#1d4e21] bg-[#1d4e21]"
/* SCSS */
$brand: #1d4e21;
/* SwiftUI */
Color(red: 0.114, green: 0.306, blue: 0.129)
/* Android */
Color.parseColor("#1d4e21")
/* Flutter */
Color(0xFF1D4E21)
/* Python / OpenCV (BGR) */
(33, 78, 29)

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 #1d4e21 · 9.70:1
Use #ffffffAAA at every size.
Aa
White text · 9.70:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.16:1
AA fail · AA large fail · AAA fail
Reading the other direction: #1d4e21 as text scores 9.70:1 on white and 2.16:1 on black.

Accessibility — WCAG contrast

Aa
#1d4e21 on white: 9.70:1
AA ✓ pass · AA-large · AAA
Aa
#1d4e21 on black: 2.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4F471D
deuteranopia · #494324
tritanopia · #144C44

Color scale — 50 to 950

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

#F5FAF5
#EAF5EB
#D0EBD3
#ADE1B1
#84D18B
#5BC264
#42B24B
#37953F
#2C7732
#1d4e21
#163619
Base = 900Lightest = 50 · #F5FAF5Darkest = 950 · #163619
:root {
  --brand-50: #F5FAF5;
  --brand-100: #EAF5EB;
  --brand-200: #D0EBD3;
  --brand-300: #ADE1B1;
  --brand-400: #84D18B;
  --brand-500: #5BC264;
  --brand-600: #42B24B;
  --brand-700: #37953F;
  --brand-800: #2C7732;
  --brand-900: #1d4e21;
  --brand-950: #163619;
  --brand: #1d4e21;
  --brand-ink: #ffffff;
}

Colors that work with #1d4e21

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#F4FAF5
Tinted page background
Border#C4E9C7
Hairlines and dividers
Muted text#4B9B51
Captions on the surface
Accent#471B50
Second voice, not a rival
Dark variant#235D27
Hover, pressed, headers
Light variant#ECF8ED
Selected rows, tints
Dark surface#142415
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 #1d4e21

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

Works well for
  • Body text and links on white
  • 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
  • Text on black or near-black surfaces
  • 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#4E1D4A
Analogous left#324E1D
Analogous right#1D4E3A
Split-complement 1#3A1D4E
Split-complement 2#4E1D32
Triadic 1#211D4E
Triadic 2#4E211D
Tetradic#1D324E

RGB percentages

Red11.4%
Green30.6%
Blue12.9%

CMYK percentages

Cyan62.8%
Magenta0.0%
Yellow57.7%
Key (black)69.4%

Color previews

#1d4e21 text on a black background

contrast 2.16:1

Card sample

#1d4e21 text on a white background

contrast 9.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1d4e21;
Background color
Panel with #1d4e21 background
background-color: #1d4e21;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(29, 78, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(29, 78, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1d4e21;
background: linear-gradient(135deg, #1d4e21, #1D4E42);

Monochromatic scale

Palettes built from #1d4e21

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.

#1d4e21 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.

#1d4e21, answered

What color is #1d4e21?

#1d4e21 is a deep vivid green, closest to Dark Green (ΔE2000 10.2). It sits at 125° on the hue wheel with 46% saturation and 21% lightness, which reads as cool.

What is the RGB value of #1d4e21?

rgb(29, 78, 33) — 29 red, 78 green and 33 blue out of 255, or 11.4% / 30.6% / 12.9% by channel.

Is #1d4e21 a light or a dark color?

It is a dark color. Relative luminance is 0.0582 and perceived brightness is 25%, so white text on it reaches 9.70:1.

Should I use black or white text on #1d4e21?

White. It scores 9.70:1 against #1d4e21, versus 2.16:1 for black — AAA at any size.

What is the complementary color of #1d4e21?

#4E1D4A sits directly opposite on the wheel. Softer options are the split-complements #3A1D4E and #4E1D32, which give the same contrast with far less vibration.

What colors go well with #1d4e21?

For interface work: #F4FAF5 as the surface, #C4E9C7 for borders, #4B9B51 for secondary text, #471B50 as an accent and #235D27 for hover and pressed states. For a palette, the analogous pair #324E1D and #1D4E3A stays calm, while #4E1D4A is the loudest partner.

What is #1d4e21 in CMYK for printing?

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

Is #1d4e21 warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2B4E1D; nudged cooler, #1C4F33.

Work with #1d4e21 in the Color Lab