Skip to content

#3f9821

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

RGB
63, 152, 33
HSL
105°, 64%, 36%
CMYK
59, 0, 78, 40
Luminance
0.2362

At a glance

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

Hex
#3f9821
Hue
105°
green
Saturation
64%
vivid
Lightness
36%
dark
Brightness
60%
HSV value
Perceived
48%
weighted brightness
Luminance
0.2362
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
5.72:1
Closest name
Forest Green
ΔE2000 5.5
Where it sits
Hue105° of 360°
Saturation64%
Lightness36%
Temperature
Warm ← → Cool56% 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#3f9821
RGBrgb(63, 152, 33)
HSLhsl(105, 64%, 36%)
CMYKcmyk(59%, 0%, 78%, 40%)
LABlab(55.7 -47.9 50.7)
LCHlch(55.7 69.7 133.4)
OKLCHoklch(0.602 0.174 139.3)
Decimal4167713
Display P3color(display-p3 0.247 0.596 0.129)

Copy-ready code

/* CSS */
color: #3f9821;
background-color: #3f9821;
/* Tailwind (arbitrary) */
class="text-[#3f9821] bg-[#3f9821]"
/* SCSS */
$brand: #3f9821;
/* SwiftUI */
Color(red: 0.247, green: 0.596, blue: 0.129)
/* Android */
Color.parseColor("#3f9821")
/* Flutter */
Color(0xFF3F9821)
/* Python / OpenCV (BGR) */
(33, 152, 63)

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

Accessibility — WCAG contrast

Aa
#3f9821 on white: 3.67:1
AA ✗ fail · AA-large · AAA
Aa
#3f9821 on black: 5.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9D8A02
deuteranopia · #91832E
tritanopia · #359382

Color scale — 50 to 950

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

#F5FBF4
#ECF7E8
#D5F1CB
#B5EBA3
#90E175
#6BD747
#53C92C
#3f9821
#38861D
#2B6119
#1B3D10
Base = 700Lightest = 50 · #F5FBF4Darkest = 950 · #1B3D10
:root {
  --brand-50: #F5FBF4;
  --brand-100: #ECF7E8;
  --brand-200: #D5F1CB;
  --brand-300: #B5EBA3;
  --brand-400: #90E175;
  --brand-500: #6BD747;
  --brand-600: #53C92C;
  --brand-700: #3f9821;
  --brand-800: #38861D;
  --brand-900: #2B6119;
  --brand-950: #1B3D10;
  --brand: #3f9821;
  --brand-ink: #000000;
}

Colors that work with #3f9821

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F6FAF4
Tinted page background
Border#CBEDC0
Hairlines and dividers
Muted text#5F9B4B
Captions on the surface
Accent#5C1D9C
Second voice, not a rival
Dark variant#2B6917
Hover, pressed, headers
Light variant#EEFAEA
Selected rows, tints
Dark surface#182414
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 #3f9821

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • 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
  • Small text on white — under 4.5:1
  • 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#7A2198
Analogous left#7B9821
Analogous right#21983F
Split-complement 1#3F2198
Split-complement 2#98217B
Triadic 1#213F98
Triadic 2#98213F
Tetradic#217B98

RGB percentages

Red24.7%
Green59.6%
Blue12.9%

CMYK percentages

Cyan58.6%
Magenta0.0%
Yellow78.3%
Key (black)40.4%

Color previews

#3f9821 text on a black background

contrast 5.72:1

Card sample

#3f9821 text on a white background

contrast 3.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f9821

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.

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

#3f9821, answered

What color is #3f9821?

#3f9821 is a dark vivid green, closest to Forest Green (ΔE2000 5.5). It sits at 105° on the hue wheel with 64% saturation and 36% lightness, which reads as neutral.

What is the RGB value of #3f9821?

rgb(63, 152, 33) — 63 red, 152 green and 33 blue out of 255, or 24.7% / 59.6% / 12.9% by channel.

Is #3f9821 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2362 and perceived brightness is 48%, so black text on it reaches 5.72:1.

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

Black. It scores 5.72:1 against #3f9821, versus 3.67:1 for white — AA at any size.

What is the complementary color of #3f9821?

#7A2198 sits directly opposite on the wheel. Softer options are the split-complements #3F2198 and #98217B, which give the same contrast with far less vibration.

What colors go well with #3f9821?

For interface work: #F6FAF4 as the surface, #CBEDC0 for borders, #5F9B4B for secondary text, #5C1D9C as an accent and #2B6917 for hover and pressed states. For a palette, the analogous pair #7B9821 and #21983F stays calm, while #7A2198 is the loudest partner.

What is #3f9821 in CMYK for printing?

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

Is #3f9821 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6B9821; nudged cooler, #1F9A2D.

Work with #3f9821 in the Color Lab