Skip to content

#3a5621

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

RGB
58, 86, 33
HSL
92°, 45%, 23%
CMYK
33, 0, 62, 66
Luminance
0.0766

At a glance

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

Hex
#3a5621
Hue
92°
green
Saturation
45%
soft
Lightness
23%
deep
Brightness
34%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0766
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Green
Tone
Soft
Best ink
White
8.29:1
Closest name
Dark Olive Green
ΔE2000 8
Where it sits
Hue92° of 360°
Saturation45%
Lightness23%
Temperature
Warm ← → Cool51% 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#3a5621
RGBrgb(58, 86, 33)
HSLhsl(92, 45%, 23%)
CMYKcmyk(33%, 0%, 62%, 66%)
LABlab(33.3 -20.8 27.1)
LCHlch(33.3 34.2 127.5)
OKLCHoklch(0.418 0.086 132.3)
Decimal3823137
Display P3color(display-p3 0.227 0.337 0.129)

Copy-ready code

/* CSS */
color: #3a5621;
background-color: #3a5621;
/* Tailwind (arbitrary) */
class="text-[#3a5621] bg-[#3a5621]"
/* SCSS */
$brand: #3a5621;
/* SwiftUI */
Color(red: 0.227, green: 0.337, blue: 0.129)
/* Android */
Color.parseColor("#3a5621")
/* Flutter */
Color(0xFF3A5621)
/* Python / OpenCV (BGR) */
(33, 86, 58)

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

Accessibility — WCAG contrast

Aa
#3a5621 on white: 8.29:1
AA ✓ pass · AA-large · AAA
Aa
#3a5621 on black: 2.53:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5A501C
deuteranopia · #564D25
tritanopia · #3B534A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #3a5621 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
#EFF5EA
#DDEBD1
#C5E0AE
#A9D085
#8CC15D
#77B144
#639339
#50762D
#3a5621
#253617
Base = 900Lightest = 50 · #F7FAF5Darkest = 950 · #253617
:root {
  --brand-50: #F7FAF5;
  --brand-100: #EFF5EA;
  --brand-200: #DDEBD1;
  --brand-300: #C5E0AE;
  --brand-400: #A9D085;
  --brand-500: #8CC15D;
  --brand-600: #77B144;
  --brand-700: #639339;
  --brand-800: #50762D;
  --brand-900: #3a5621;
  --brand-950: #253617;
  --brand: #3a5621;
  --brand-ink: #ffffff;
}

Colors that work with #3a5621

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#F7FAF4
Tinted page background
Border#D5E8C4
Hairlines and dividers
Muted text#709B4B
Captions on the surface
Accent#2F1F58
Second voice, not a rival
Dark variant#3E5C23
Hover, pressed, headers
Light variant#F2F8ED
Selected rows, tints
Dark surface#1C2414
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 #3a5621

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#3D2156
Analogous left#545621
Analogous right#215622
Split-complement 1#222156
Split-complement 2#562154
Triadic 1#213A56
Triadic 2#56213A
Tetradic#215456

RGB percentages

Red22.7%
Green33.7%
Blue12.9%

CMYK percentages

Cyan32.6%
Magenta0.0%
Yellow61.6%
Key (black)66.3%

Color previews

#3a5621 text on a black background

contrast 2.53:1

Card sample

#3a5621 text on a white background

contrast 8.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3a5621;
Background color
Panel with #3a5621 background
background-color: #3a5621;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(58, 86, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 86, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3a5621;
background: linear-gradient(135deg, #3a5621, #21562B);

Monochromatic scale

Palettes built from #3a5621

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.

#3a5621 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.

#3a5621, answered

What color is #3a5621?

#3a5621 is a deep soft green, closest to Dark Olive Green (ΔE2000 8). It sits at 92° on the hue wheel with 45% saturation and 23% lightness, which reads as neutral.

What is the RGB value of #3a5621?

rgb(58, 86, 33) — 58 red, 86 green and 33 blue out of 255, or 22.7% / 33.7% / 12.9% by channel.

Is #3a5621 a light or a dark color?

It is a dark color. Relative luminance is 0.0766 and perceived brightness is 29%, so white text on it reaches 8.29:1.

Should I use black or white text on #3a5621?

White. It scores 8.29:1 against #3a5621, versus 2.53:1 for black — AAA at any size.

What is the complementary color of #3a5621?

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

What colors go well with #3a5621?

For interface work: #F7FAF4 as the surface, #D5E8C4 for borders, #709B4B for secondary text, #2F1F58 as an accent and #3E5C23 for hover and pressed states. For a palette, the analogous pair #545621 and #215622 stays calm, while #3D2156 is the loudest partner.

What is #3a5621 in CMYK for printing?

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

Is #3a5621 warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4D5621; nudged cooler, #265720.

Work with #3a5621 in the Color Lab