Skip to content

#2f472b

a deep, soft green · neutral · closest name: Dark Slate Gray

RGB
47, 71, 43
HSL
111°, 25%, 22%
CMYK
34, 0, 39, 72
Luminance
0.0529

At a glance

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

Hex
#2f472b
Hue
111°
green
Saturation
25%
soft
Lightness
22%
deep
Brightness
28%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0529
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Green
Tone
Soft
Best ink
White
10.21:1
Closest name
Dark Slate Gray
ΔE2000 13.1
Where it sits
Hue111° of 360°
Saturation25%
Lightness22%
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#2f472b
RGBrgb(47, 71, 43)
HSLhsl(111, 25%, 22%)
CMYKcmyk(34%, 0%, 39%, 72%)
LABlab(27.5 -15.8 14.0)
LCHlch(27.5 21.1 138.4)
OKLCHoklch(0.370 0.055 141.0)
Decimal3098411
Display P3color(display-p3 0.184 0.278 0.169)

Copy-ready code

/* CSS */
color: #2f472b;
background-color: #2f472b;
/* Tailwind (arbitrary) */
class="text-[#2f472b] bg-[#2f472b]"
/* SCSS */
$brand: #2f472b;
/* SwiftUI */
Color(red: 0.184, green: 0.278, blue: 0.169)
/* Android */
Color.parseColor("#2f472b")
/* Flutter */
Color(0xFF2F472B)
/* Python / OpenCV (BGR) */
(43, 71, 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 #2f472b · 10.21:1
Use #ffffffAAA at every size.
Aa
White text · 10.21:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.06:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2f472b as text scores 10.21:1 on white and 2.06:1 on black.

Accessibility — WCAG contrast

Aa
#2f472b on white: 10.21:1
AA ✓ pass · AA-large · AAA
Aa
#2f472b on black: 2.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #484229
deuteranopia · #45402D
tritanopia · #2D4540

Color scale — 50 to 950

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

#F6F9F6
#EEF3ED
#D9E5D7
#BDD5B9
#9CC096
#7BAA73
#65995C
#547F4D
#43663E
#2f472b
#202F1E
Base = 900Lightest = 50 · #F6F9F6Darkest = 950 · #202F1E
:root {
  --brand-50: #F6F9F6;
  --brand-100: #EEF3ED;
  --brand-200: #D9E5D7;
  --brand-300: #BDD5B9;
  --brand-400: #9CC096;
  --brand-500: #7BAA73;
  --brand-600: #65995C;
  --brand-700: #547F4D;
  --brand-800: #43663E;
  --brand-900: #2f472b;
  --brand-950: #202F1E;
  --brand: #2f472b;
  --brand-ink: #ffffff;
}

Colors that work with #2f472b

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#F6F9F5
Tinted page background
Border#CFE0CC
Hairlines and dividers
Muted text#5F8F57
Captions on the surface
Accent#3D2949
Second voice, not a rival
Dark variant#354F30
Hover, pressed, headers
Light variant#F0F5EF
Selected rows, tints
Dark surface#172315
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 #2f472b

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
  • Text on black or near-black surfaces
  • 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#432B47
Analogous left#3D472B
Analogous right#2B4735
Split-complement 1#352B47
Split-complement 2#472B3D
Triadic 1#2B2F47
Triadic 2#472B2F
Tetradic#2B3D47

RGB percentages

Red18.4%
Green27.8%
Blue16.9%

CMYK percentages

Cyan33.8%
Magenta0.0%
Yellow39.4%
Key (black)72.2%

Color previews

#2f472b text on a black background

contrast 2.06:1

Card sample

#2f472b text on a white background

contrast 10.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f472b

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.

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

#2f472b, answered

What color is #2f472b?

#2f472b is a deep soft green, closest to Dark Slate Gray (ΔE2000 13.1). It sits at 111° on the hue wheel with 25% saturation and 22% lightness, which reads as neutral.

What is the RGB value of #2f472b?

rgb(47, 71, 43) — 47 red, 71 green and 43 blue out of 255, or 18.4% / 27.8% / 16.9% by channel.

Is #2f472b a light or a dark color?

It is a dark color. Relative luminance is 0.0529 and perceived brightness is 24%, so white text on it reaches 10.21:1.

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

White. It scores 10.21:1 against #2f472b, versus 2.06:1 for black — AAA at any size.

What is the complementary color of #2f472b?

#432B47 sits directly opposite on the wheel. Softer options are the split-complements #352B47 and #472B3D, which give the same contrast with far less vibration.

What colors go well with #2f472b?

For interface work: #F6F9F5 as the surface, #CFE0CC for borders, #5F8F57 for secondary text, #3D2949 as an accent and #354F30 for hover and pressed states. For a palette, the analogous pair #3D472B and #2B4735 stays calm, while #432B47 is the loudest partner.

What is #2f472b in CMYK for printing?

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

Is #2f472b 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 #39472B; nudged cooler, #2A4831.

Work with #2f472b in the Color Lab