Skip to content

#3a7721

a dark, vivid green · neutral · closest name: Green

RGB
58, 119, 33
HSL
103°, 57%, 30%
CMYK
51, 0, 72, 53
Luminance
0.1420

At a glance

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

Hex
#3a7721
Hue
103°
green
Saturation
57%
vivid
Lightness
30%
dark
Brightness
47%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1420
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Green
Tone
Vivid
Best ink
White
5.47:1
Closest name
Green
ΔE2000 5.3
Where it sits
Hue103° of 360°
Saturation57%
Lightness30%
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#3a7721
RGBrgb(58, 119, 33)
HSLhsl(103, 57%, 30%)
CMYKcmyk(51%, 0%, 72%, 53%)
LABlab(44.5 -36.3 39.4)
LCHlch(44.5 53.6 132.6)
OKLCHoklch(0.510 0.135 138.1)
Decimal3831585
Display P3color(display-p3 0.227 0.467 0.129)

Copy-ready code

/* CSS */
color: #3a7721;
background-color: #3a7721;
/* Tailwind (arbitrary) */
class="text-[#3a7721] bg-[#3a7721]"
/* SCSS */
$brand: #3a7721;
/* SwiftUI */
Color(red: 0.227, green: 0.467, blue: 0.129)
/* Android */
Color.parseColor("#3a7721")
/* Flutter */
Color(0xFF3A7721)
/* Python / OpenCV (BGR) */
(33, 119, 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 #3a7721 · 5.47:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.47:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.84:1
AA fail · AA large pass · AAA fail
Reading the other direction: #3a7721 as text scores 5.47:1 on white and 3.84:1 on black.

Accessibility — WCAG contrast

Aa
#3a7721 on white: 5.47:1
AA ✓ pass · AA-large · AAA
Aa
#3a7721 on black: 3.84:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7B6C14
deuteranopia · #736729
tritanopia · #367366

Color scale — 50 to 950

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

#F6FBF4
#EDF6E9
#D7EECD
#BAE7A7
#97DA7B
#74CE4F
#5DC035
#4EA02C
#3a7721
#305D1D
#1E3A12
Base = 800Lightest = 50 · #F6FBF4Darkest = 950 · #1E3A12
:root {
  --brand-50: #F6FBF4;
  --brand-100: #EDF6E9;
  --brand-200: #D7EECD;
  --brand-300: #BAE7A7;
  --brand-400: #97DA7B;
  --brand-500: #74CE4F;
  --brand-600: #5DC035;
  --brand-700: #4EA02C;
  --brand-800: #3a7721;
  --brand-900: #305D1D;
  --brand-950: #1E3A12;
  --brand: #3a7721;
  --brand-ink: #ffffff;
}

Colors that work with #3a7721

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#CDEDC0
Hairlines and dividers
Muted text#629B4B
Captions on the surface
Accent#481E7A
Second voice, not a rival
Dark variant#31641C
Hover, pressed, headers
Light variant#EFF9EB
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 #3a7721

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
  • 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#5E2177
Analogous left#657721
Analogous right#217733
Split-complement 1#332177
Split-complement 2#772165
Triadic 1#213A77
Triadic 2#77213A
Tetradic#216577

RGB percentages

Red22.7%
Green46.7%
Blue12.9%

CMYK percentages

Cyan51.3%
Magenta0.0%
Yellow72.3%
Key (black)53.3%

Color previews

#3a7721 text on a black background

contrast 3.84:1

Card sample

#3a7721 text on a white background

contrast 5.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3a7721

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.

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

#3a7721, answered

What color is #3a7721?

#3a7721 is a dark vivid green, closest to Green (ΔE2000 5.3). It sits at 103° on the hue wheel with 57% saturation and 30% lightness, which reads as neutral.

What is the RGB value of #3a7721?

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

Is #3a7721 a light or a dark color?

It is a dark color. Relative luminance is 0.1420 and perceived brightness is 38%, so white text on it reaches 5.47:1.

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

White. It scores 5.47:1 against #3a7721, versus 3.84:1 for black — AA at any size.

What is the complementary color of #3a7721?

#5E2177 sits directly opposite on the wheel. Softer options are the split-complements #332177 and #772165, which give the same contrast with far less vibration.

What colors go well with #3a7721?

For interface work: #F6FAF4 as the surface, #CDEDC0 for borders, #629B4B for secondary text, #481E7A as an accent and #31641C for hover and pressed states. For a palette, the analogous pair #657721 and #217733 stays calm, while #5E2177 is the loudest partner.

What is #3a7721 in CMYK for printing?

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

Is #3a7721 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 #597721; nudged cooler, #1F7926.

Work with #3a7721 in the Color Lab