Skip to content

#3e7c21

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

RGB
62, 124, 33
HSL
101°, 58%, 31%
CMYK
50, 0, 73, 51
Luminance
0.1555

At a glance

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

Hex
#3e7c21
Hue
101°
green
Saturation
58%
vivid
Lightness
31%
dark
Brightness
49%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1555
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Green
Tone
Vivid
Best ink
White
5.11:1
Closest name
Green
ΔE2000 4.7
Where it sits
Hue101° of 360°
Saturation58%
Lightness31%
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#3e7c21
RGBrgb(62, 124, 33)
HSLhsl(101, 58%, 31%)
CMYKcmyk(50%, 0%, 73%, 51%)
LABlab(46.4 -37.1 41.4)
LCHlch(46.4 55.6 131.9)
OKLCHoklch(0.525 0.139 137.6)
Decimal4095009
Display P3color(display-p3 0.243 0.486 0.129)

Copy-ready code

/* CSS */
color: #3e7c21;
background-color: #3e7c21;
/* Tailwind (arbitrary) */
class="text-[#3e7c21] bg-[#3e7c21]"
/* SCSS */
$brand: #3e7c21;
/* SwiftUI */
Color(red: 0.243, green: 0.486, blue: 0.129)
/* Android */
Color.parseColor("#3e7c21")
/* Flutter */
Color(0xFF3E7C21)
/* Python / OpenCV (BGR) */
(33, 124, 62)

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 #3e7c21 · 5.11:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.11:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.11:1
AA fail · AA large pass · AAA fail
Reading the other direction: #3e7c21 as text scores 5.11:1 on white and 4.11:1 on black.

Accessibility — WCAG contrast

Aa
#3e7c21 on white: 5.11:1
AA ✓ pass · AA-large · AAA
Aa
#3e7c21 on black: 4.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #807112
deuteranopia · #786C2A
tritanopia · #3A776A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #3e7c21 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
#EDF7E9
#D8EFCD
#BBE7A6
#99DC7A
#77D04E
#61C133
#51A12B
#3e7c21
#315E1D
#1F3B12
Base = 800Lightest = 50 · #F6FBF4Darkest = 950 · #1F3B12
:root {
  --brand-50: #F6FBF4;
  --brand-100: #EDF7E9;
  --brand-200: #D8EFCD;
  --brand-300: #BBE7A6;
  --brand-400: #99DC7A;
  --brand-500: #77D04E;
  --brand-600: #61C133;
  --brand-700: #51A12B;
  --brand-800: #3e7c21;
  --brand-900: #315E1D;
  --brand-950: #1F3B12;
  --brand: #3e7c21;
  --brand-ink: #ffffff;
}

Colors that work with #3e7c21

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#CEEDC0
Hairlines and dividers
Muted text#649B4B
Captions on the surface
Accent#481E7F
Second voice, not a rival
Dark variant#32651B
Hover, pressed, headers
Light variant#F0FAEB
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 #3e7c21

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#5F217C
Analogous left#6C7C21
Analogous right#217C32
Split-complement 1#32217C
Split-complement 2#7C216C
Triadic 1#213E7C
Triadic 2#7C213E
Tetradic#216C7C

RGB percentages

Red24.3%
Green48.6%
Blue12.9%

CMYK percentages

Cyan50.0%
Magenta0.0%
Yellow73.4%
Key (black)51.4%

Color previews

#3e7c21 text on a black background

contrast 4.11:1

Card sample

#3e7c21 text on a white background

contrast 5.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(62, 124, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(62, 124, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3e7c21;
background: linear-gradient(135deg, #3e7c21, #217C41);

Monochromatic scale

Palettes built from #3e7c21

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.

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

#3e7c21, answered

What color is #3e7c21?

#3e7c21 is a dark vivid green, closest to Green (ΔE2000 4.7). It sits at 101° on the hue wheel with 58% saturation and 31% lightness, which reads as neutral.

What is the RGB value of #3e7c21?

rgb(62, 124, 33) — 62 red, 124 green and 33 blue out of 255, or 24.3% / 48.6% / 12.9% by channel.

Is #3e7c21 a light or a dark color?

It is a dark color. Relative luminance is 0.1555 and perceived brightness is 40%, so white text on it reaches 5.11:1.

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

White. It scores 5.11:1 against #3e7c21, versus 4.11:1 for black — AA at any size.

What is the complementary color of #3e7c21?

#5F217C sits directly opposite on the wheel. Softer options are the split-complements #32217C and #7C216C, which give the same contrast with far less vibration.

What colors go well with #3e7c21?

For interface work: #F6FAF4 as the surface, #CEEDC0 for borders, #649B4B for secondary text, #481E7F as an accent and #32651B for hover and pressed states. For a palette, the analogous pair #6C7C21 and #217C32 stays calm, while #5F217C is the loudest partner.

What is #3e7c21 in CMYK for printing?

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

Is #3e7c21 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 #5F7C21; nudged cooler, #1F7E24.

Work with #3e7c21 in the Color Lab