Skip to content

#337f39

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

RGB
51, 127, 57
HSL
125°, 43%, 35%
CMYK
60, 0, 55, 50
Luminance
0.1618

At a glance

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

Hex
#337f39
Hue
125°
green
Saturation
43%
soft
Lightness
35%
dark
Brightness
50%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1618
WCAG relative
Temperature
Cool
64/100 cool
Color family
Green
Tone
Soft
Best ink
White
4.96:1
Closest name
Forest Green
ΔE2000 6.1
Where it sits
Hue125° of 360°
Saturation43%
Lightness35%
Temperature
Warm ← → Cool64% 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#337f39
RGBrgb(51, 127, 57)
HSLhsl(125, 43%, 35%)
CMYKcmyk(60%, 0%, 55%, 50%)
LABlab(47.2 -38.8 30.9)
LCHlch(47.2 49.6 141.5)
OKLCHoklch(0.532 0.129 144.9)
Decimal3374905
Display P3color(display-p3 0.200 0.498 0.224)

Copy-ready code

/* CSS */
color: #337f39;
background-color: #337f39;
/* Tailwind (arbitrary) */
class="text-[#337f39] bg-[#337f39]"
/* SCSS */
$brand: #337f39;
/* SwiftUI */
Color(red: 0.200, green: 0.498, blue: 0.224)
/* Android */
Color.parseColor("#337f39")
/* Flutter */
Color(0xFF337F39)
/* Python / OpenCV (BGR) */
(57, 127, 51)

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

Accessibility — WCAG contrast

Aa
#337f39 on white: 4.96:1
AA ✓ pass · AA-large · AAA
Aa
#337f39 on black: 4.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #817433
deuteranopia · #776D3E
tritanopia · #247C6F

Color scale — 50 to 950

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

#F5FAF5
#EBF5EB
#D1EAD3
#AFDFB3
#87CF8D
#5FBF66
#46AF4E
#3A9241
#337f39
#255529
#17351A
Base = 800Lightest = 50 · #F5FAF5Darkest = 950 · #17351A
:root {
  --brand-50: #F5FAF5;
  --brand-100: #EBF5EB;
  --brand-200: #D1EAD3;
  --brand-300: #AFDFB3;
  --brand-400: #87CF8D;
  --brand-500: #5FBF66;
  --brand-600: #46AF4E;
  --brand-700: #3A9241;
  --brand-800: #337f39;
  --brand-900: #255529;
  --brand-950: #17351A;
  --brand: #337f39;
  --brand-ink: #ffffff;
}

Colors that work with #337f39

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#F4FAF5
Tinted page background
Border#C5E8C8
Hairlines and dividers
Muted text#4B9B51
Captions on the surface
Accent#742F83
Second voice, not a rival
Dark variant#255B29
Hover, pressed, headers
Light variant#EDF8EE
Selected rows, tints
Dark surface#142415
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 #337f39

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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#7F3379
Analogous left#537F33
Analogous right#337F5F
Split-complement 1#5F337F
Split-complement 2#7F3353
Triadic 1#39337F
Triadic 2#7F3933
Tetradic#33537F

RGB percentages

Red20.0%
Green49.8%
Blue22.4%

CMYK percentages

Cyan59.8%
Magenta0.0%
Yellow55.1%
Key (black)50.2%

Color previews

#337f39 text on a black background

contrast 4.24:1

Card sample

#337f39 text on a white background

contrast 4.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #337f39;
Background color
Panel with #337f39 background
background-color: #337f39;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #337f39;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(51, 127, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 127, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #337f39;
background: linear-gradient(135deg, #337f39, #337F6C);

Monochromatic scale

Palettes built from #337f39

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.

#337f39 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.

#337f39, answered

What color is #337f39?

#337f39 is a dark soft green, closest to Forest Green (ΔE2000 6.1). It sits at 125° on the hue wheel with 43% saturation and 35% lightness, which reads as cool.

What is the RGB value of #337f39?

rgb(51, 127, 57) — 51 red, 127 green and 57 blue out of 255, or 20% / 49.8% / 22.4% by channel.

Is #337f39 a light or a dark color?

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

Should I use black or white text on #337f39?

White. It scores 4.96:1 against #337f39, versus 4.24:1 for black — AA at any size.

What is the complementary color of #337f39?

#7F3379 sits directly opposite on the wheel. Softer options are the split-complements #5F337F and #7F3353, which give the same contrast with far less vibration.

What colors go well with #337f39?

For interface work: #F4FAF5 as the surface, #C5E8C8 for borders, #4B9B51 for secondary text, #742F83 as an accent and #255B29 for hover and pressed states. For a palette, the analogous pair #537F33 and #337F5F stays calm, while #7F3379 is the loudest partner.

What is #337f39 in CMYK for printing?

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

Is #337f39 warm or cool?

Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #497F33; nudged cooler, #318155.

Work with #337f39 in the Color Lab