Skip to content

#3a9727

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

RGB
58, 151, 39
HSL
110°, 59%, 37%
CMYK
62, 0, 74, 41
Luminance
0.2318

At a glance

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

Hex
#3a9727
Hue
110°
green
Saturation
59%
vivid
Lightness
37%
dark
Brightness
59%
HSV value
Perceived
47%
weighted brightness
Luminance
0.2318
WCAG relative
Temperature
Cool
58/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
5.64:1
Closest name
Forest Green
ΔE2000 4.7
Where it sits
Hue110° of 360°
Saturation59%
Lightness37%
Temperature
Warm ← → Cool58% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#3a9727
RGBrgb(58, 151, 39)
HSLhsl(110, 59%, 37%)
CMYKcmyk(62%, 0%, 74%, 41%)
LABlab(55.3 -48.4 48.0)
LCHlch(55.3 68.2 135.2)
OKLCHoklch(0.598 0.171 140.6)
Decimal3839783
Display P3color(display-p3 0.227 0.592 0.153)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3a9727 on white: 3.73:1
AA ✗ fail · AA-large · AAA
Aa
#3a9727 on black: 5.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9B8913
deuteranopia · #908132
tritanopia · #2D9281

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #3a9727 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
#EBF7E9
#D3EFCD
#B1E8A6
#8ADC79
#63D14D
#4BC232
#3a9727
#328222
#275E1C
#193B12
Base = 700Lightest = 50 · #F5FBF4Darkest = 950 · #193B12
:root {
  --brand-50: #F5FBF4;
  --brand-100: #EBF7E9;
  --brand-200: #D3EFCD;
  --brand-300: #B1E8A6;
  --brand-400: #8ADC79;
  --brand-500: #63D14D;
  --brand-600: #4BC232;
  --brand-700: #3a9727;
  --brand-800: #328222;
  --brand-900: #275E1C;
  --brand-950: #193B12;
  --brand: #3a9727;
  --brand-ink: #000000;
}

Colors that work with #3a9727

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#C7EDC0
Hairlines and dividers
Muted text#589B4B
Captions on the surface
Accent#69239B
Second voice, not a rival
Dark variant#27651A
Hover, pressed, headers
Light variant#EDFAEB
Selected rows, tints
Dark surface#162414
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 #3a9727

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#842797
Analogous left#729727
Analogous right#27974C
Split-complement 1#4C2797
Split-complement 2#972772
Triadic 1#273A97
Triadic 2#97273A
Tetradic#277297

RGB percentages

Red22.7%
Green59.2%
Blue15.3%

CMYK percentages

Cyan61.6%
Magenta0.0%
Yellow74.2%
Key (black)40.8%

Color previews

#3a9727 text on a black background

contrast 5.64:1

Card sample

#3a9727 text on a white background

contrast 3.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(58, 151, 39, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 151, 39, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3a9727;
background: linear-gradient(135deg, #3a9727, #27975F);

Monochromatic scale

Palettes built from #3a9727

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.

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

#3a9727, answered

What color is #3a9727?

#3a9727 is a dark vivid green, closest to Forest Green (ΔE2000 4.7). It sits at 110° on the hue wheel with 59% saturation and 37% lightness, which reads as cool.

What is the RGB value of #3a9727?

rgb(58, 151, 39) — 58 red, 151 green and 39 blue out of 255, or 22.7% / 59.2% / 15.3% by channel.

Is #3a9727 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2318 and perceived brightness is 47%, so black text on it reaches 5.64:1.

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

Black. It scores 5.64:1 against #3a9727, versus 3.73:1 for white — AA at any size.

What is the complementary color of #3a9727?

#842797 sits directly opposite on the wheel. Softer options are the split-complements #4C2797 and #972772, which give the same contrast with far less vibration.

What colors go well with #3a9727?

For interface work: #F5FAF4 as the surface, #C7EDC0 for borders, #589B4B for secondary text, #69239B as an accent and #27651A for hover and pressed states. For a palette, the analogous pair #729727 and #27974C stays calm, while #842797 is the loudest partner.

What is #3a9727 in CMYK for printing?

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

Is #3a9727 warm or cool?

Cool — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #639727; nudged cooler, #25993C.

Work with #3a9727 in the Color Lab