Skip to content

#2f5713

a deep, vivid green · neutral · closest name: Dark Green

RGB
47, 87, 19
HSL
95°, 64%, 21%
CMYK
46, 0, 78, 66
Luminance
0.0747

At a glance

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

Hex
#2f5713
Hue
95°
green
Saturation
64%
vivid
Lightness
21%
deep
Brightness
34%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0747
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Green
Tone
Vivid
Best ink
White
8.42:1
Closest name
Dark Green
ΔE2000 6.7
Where it sits
Hue95° of 360°
Saturation64%
Lightness21%
Temperature
Warm ← → Cool52% 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#2f5713
RGBrgb(47, 87, 19)
HSLhsl(95, 64%, 21%)
CMYKcmyk(46%, 0%, 78%, 66%)
LABlab(32.9 -27.1 33.2)
LCHlch(32.9 42.8 129.2)
OKLCHoklch(0.412 0.106 135.3)
Decimal3102483
Display P3color(display-p3 0.184 0.341 0.075)

Copy-ready code

/* CSS */
color: #2f5713;
background-color: #2f5713;
/* Tailwind (arbitrary) */
class="text-[#2f5713] bg-[#2f5713]"
/* SCSS */
$brand: #2f5713;
/* SwiftUI */
Color(red: 0.184, green: 0.341, blue: 0.075)
/* Android */
Color.parseColor("#2f5713")
/* Flutter */
Color(0xFF2F5713)
/* Python / OpenCV (BGR) */
(19, 87, 47)

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 #2f5713 · 8.42:1
Use #ffffffAAA at every size.
Aa
White text · 8.42:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.49:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2f5713 as text scores 8.42:1 on white and 2.49:1 on black.

Accessibility — WCAG contrast

Aa
#2f5713 on white: 8.42:1
AA ✓ pass · AA-large · AAA
Aa
#2f5713 on black: 2.49:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5A4F07
deuteranopia · #554C1A
tritanopia · #2E534A

Color scale — 50 to 950

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

#F7FBF4
#EEF7E8
#DBF1CB
#C1EBA3
#A1E175
#82D747
#6DC92C
#5AA725
#48861D
#2f5713
#223D10
Base = 900Lightest = 50 · #F7FBF4Darkest = 950 · #223D10
:root {
  --brand-50: #F7FBF4;
  --brand-100: #EEF7E8;
  --brand-200: #DBF1CB;
  --brand-300: #C1EBA3;
  --brand-400: #A1E175;
  --brand-500: #82D747;
  --brand-600: #6DC92C;
  --brand-700: #5AA725;
  --brand-800: #48861D;
  --brand-900: #2f5713;
  --brand-950: #223D10;
  --brand: #2f5713;
  --brand-ink: #ffffff;
}

Colors that work with #2f5713

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#F7FAF4
Tinted page background
Border#D2EDC0
Hairlines and dividers
Muted text#6C9B4B
Captions on the surface
Accent#291159
Second voice, not a rival
Dark variant#396917
Hover, pressed, headers
Light variant#F1FAEA
Selected rows, tints
Dark surface#1B2414
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 #2f5713

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
  • Text on black or near-black surfaces
  • 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#3B1357
Analogous left#515713
Analogous right#135719
Split-complement 1#191357
Split-complement 2#571351
Triadic 1#132F57
Triadic 2#57132F
Tetradic#135157

RGB percentages

Red18.4%
Green34.1%
Blue7.5%

CMYK percentages

Cyan46.0%
Magenta0.0%
Yellow78.2%
Key (black)65.9%

Color previews

#2f5713 text on a black background

contrast 2.49:1

Card sample

#2f5713 text on a white background

contrast 8.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2f5713;
Background color
Panel with #2f5713 background
background-color: #2f5713;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 87, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 87, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f5713;
background: linear-gradient(135deg, #2f5713, #135724);

Monochromatic scale

Palettes built from #2f5713

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.

#2f5713 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.

#2f5713, answered

What color is #2f5713?

#2f5713 is a deep vivid green, closest to Dark Green (ΔE2000 6.7). It sits at 95° on the hue wheel with 64% saturation and 21% lightness, which reads as neutral.

What is the RGB value of #2f5713?

rgb(47, 87, 19) — 47 red, 87 green and 19 blue out of 255, or 18.4% / 34.1% / 7.5% by channel.

Is #2f5713 a light or a dark color?

It is a dark color. Relative luminance is 0.0747 and perceived brightness is 28%, so white text on it reaches 8.42:1.

Should I use black or white text on #2f5713?

White. It scores 8.42:1 against #2f5713, versus 2.49:1 for black — AAA at any size.

What is the complementary color of #2f5713?

#3B1357 sits directly opposite on the wheel. Softer options are the split-complements #191357 and #571351, which give the same contrast with far less vibration.

What colors go well with #2f5713?

For interface work: #F7FAF4 as the surface, #D2EDC0 for borders, #6C9B4B for secondary text, #291159 as an accent and #396917 for hover and pressed states. For a palette, the analogous pair #515713 and #135719 stays calm, while #3B1357 is the loudest partner.

What is #2f5713 in CMYK for printing?

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

Is #2f5713 warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #485713; nudged cooler, #155812.

Work with #2f5713 in the Color Lab