Skip to content

#3f8f2d

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

RGB
63, 143, 45
HSL
109°, 52%, 37%
CMYK
56, 0, 69, 44
Luminance
0.2089

At a glance

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

Hex
#3f8f2d
Hue
109°
green
Saturation
52%
vivid
Lightness
37%
dark
Brightness
56%
HSV value
Perceived
45%
weighted brightness
Luminance
0.2089
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
5.18:1
Closest name
Forest Green
ΔE2000 2.9
Where it sits
Hue109° of 360°
Saturation52%
Lightness37%
Temperature
Warm ← → Cool58% 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#3f8f2d
RGBrgb(63, 143, 45)
HSLhsl(109, 52%, 37%)
CMYKcmyk(56%, 0%, 69%, 44%)
LABlab(52.8 -43.5 43.1)
LCHlch(52.8 61.2 135.2)
OKLCHoklch(0.579 0.155 140.2)
Decimal4165421
Display P3color(display-p3 0.247 0.561 0.176)

Copy-ready code

/* CSS */
color: #3f8f2d;
background-color: #3f8f2d;
/* Tailwind (arbitrary) */
class="text-[#3f8f2d] bg-[#3f8f2d]"
/* SCSS */
$brand: #3f8f2d;
/* SwiftUI */
Color(red: 0.247, green: 0.561, blue: 0.176)
/* Android */
Color.parseColor("#3f8f2d")
/* Flutter */
Color(0xFF3F8F2D)
/* Python / OpenCV (BGR) */
(45, 143, 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 #3f8f2d · 5.18:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.06:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.18:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #3f8f2d as text scores 4.06:1 on white and 5.18:1 on black.

Accessibility — WCAG contrast

Aa
#3f8f2d on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#3f8f2d on black: 5.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #938220
deuteranopia · #897C36
tritanopia · #368A7B

Color scale — 50 to 950

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

#F5FAF4
#ECF6E9
#D4EDCF
#B4E4AA
#8FD77F
#6AC954
#52BA3B
#3f8f2d
#377C27
#2B5B20
#1B3914
Base = 700Lightest = 50 · #F5FAF4Darkest = 950 · #1B3914
:root {
  --brand-50: #F5FAF4;
  --brand-100: #ECF6E9;
  --brand-200: #D4EDCF;
  --brand-300: #B4E4AA;
  --brand-400: #8FD77F;
  --brand-500: #6AC954;
  --brand-600: #52BA3B;
  --brand-700: #3f8f2d;
  --brand-800: #377C27;
  --brand-900: #2B5B20;
  --brand-950: #1B3914;
  --brand: #3f8f2d;
  --brand-ink: #000000;
}

Colors that work with #3f8f2d

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#F5FAF4
Tinted page background
Border#C9EBC1
Hairlines and dividers
Muted text#599B4B
Captions on the surface
Accent#652993
Second voice, not a rival
Dark variant#2B611F
Hover, pressed, headers
Light variant#EEF9EC
Selected rows, tints
Dark surface#172414
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 #3f8f2d

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#7D2D8F
Analogous left#708F2D
Analogous right#2D8F4C
Split-complement 1#4C2D8F
Split-complement 2#8F2D70
Triadic 1#2D3F8F
Triadic 2#8F2D3F
Tetradic#2D708F

RGB percentages

Red24.7%
Green56.1%
Blue17.6%

CMYK percentages

Cyan55.9%
Magenta0.0%
Yellow68.5%
Key (black)43.9%

Color previews

#3f8f2d text on a black background

contrast 5.18:1

Card sample

#3f8f2d text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(63, 143, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 143, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f8f2d;
background: linear-gradient(135deg, #3f8f2d, #2D8F5C);

Monochromatic scale

Palettes built from #3f8f2d

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.

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

#3f8f2d, answered

What color is #3f8f2d?

#3f8f2d is a dark vivid green, closest to Forest Green (ΔE2000 2.9). It sits at 109° on the hue wheel with 52% saturation and 37% lightness, which reads as neutral.

What is the RGB value of #3f8f2d?

rgb(63, 143, 45) — 63 red, 143 green and 45 blue out of 255, or 24.7% / 56.1% / 17.6% by channel.

Is #3f8f2d a light or a dark color?

It is a mid-tone. Relative luminance is 0.2089 and perceived brightness is 45%, so black text on it reaches 5.18:1.

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

Black. It scores 5.18:1 against #3f8f2d, versus 4.06:1 for white — AA at any size.

What is the complementary color of #3f8f2d?

#7D2D8F sits directly opposite on the wheel. Softer options are the split-complements #4C2D8F and #8F2D70, which give the same contrast with far less vibration.

What colors go well with #3f8f2d?

For interface work: #F5FAF4 as the surface, #C9EBC1 for borders, #599B4B for secondary text, #652993 as an accent and #2B611F for hover and pressed states. For a palette, the analogous pair #708F2D and #2D8F4C stays calm, while #7D2D8F is the loudest partner.

What is #3f8f2d in CMYK for printing?

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

Is #3f8f2d warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #638F2D; nudged cooler, #2B913E.

Work with #3f8f2d in the Color Lab