Skip to content

#2b4f2f

a deep, soft green · cool · closest name: Dark Green

RGB
43, 79, 47
HSL
127°, 30%, 24%
CMYK
46, 0, 41, 69
Luminance
0.0631

At a glance

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

Hex
#2b4f2f
Hue
127°
green
Saturation
30%
soft
Lightness
24%
deep
Brightness
31%
HSV value
Perceived
26%
weighted brightness
Luminance
0.0631
WCAG relative
Temperature
Cool
63/100 cool
Color family
Green
Tone
Soft
Best ink
White
9.28:1
Closest name
Dark Green
ΔE2000 13.1
Where it sits
Hue127° of 360°
Saturation30%
Lightness24%
Temperature
Warm ← → Cool63% 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#2b4f2f
RGBrgb(43, 79, 47)
HSLhsl(127, 30%, 24%)
CMYKcmyk(46%, 0%, 41%, 69%)
LABlab(30.2 -20.8 15.0)
LCHlch(30.2 25.6 144.3)
OKLCHoklch(0.391 0.068 146.7)
Decimal2838319
Display P3color(display-p3 0.169 0.310 0.184)

Copy-ready code

/* CSS */
color: #2b4f2f;
background-color: #2b4f2f;
/* Tailwind (arbitrary) */
class="text-[#2b4f2f] bg-[#2b4f2f]"
/* SCSS */
$brand: #2b4f2f;
/* SwiftUI */
Color(red: 0.169, green: 0.310, blue: 0.184)
/* Android */
Color.parseColor("#2b4f2f")
/* Flutter */
Color(0xFF2B4F2F)
/* Python / OpenCV (BGR) */
(47, 79, 43)

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

Accessibility — WCAG contrast

Aa
#2b4f2f on white: 9.28:1
AA ✓ pass · AA-large · AAA
Aa
#2b4f2f on black: 2.26:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #50492D
deuteranopia · #4B4631
tritanopia · #264D47

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2b4f2f 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
#ECF3ED
#D5E6D7
#B6D7BA
#92C498
#6EB075
#569F5E
#48844F
#3A6A3F
#2b4f2f
#1C311E
Base = 900Lightest = 50 · #F6F9F6Darkest = 950 · #1C311E
:root {
  --brand-50: #F6F9F6;
  --brand-100: #ECF3ED;
  --brand-200: #D5E6D7;
  --brand-300: #B6D7BA;
  --brand-400: #92C498;
  --brand-500: #6EB075;
  --brand-600: #569F5E;
  --brand-700: #48844F;
  --brand-800: #3A6A3F;
  --brand-900: #2b4f2f;
  --brand-950: #1C311E;
  --brand: #2b4f2f;
  --brand-ink: #ffffff;
}

Colors that work with #2b4f2f

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#F5FAF6
Tinted page background
Border#CAE2CD
Hairlines and dividers
Muted text#519558
Captions on the surface
Accent#4C2951
Second voice, not a rival
Dark variant#2D5331
Hover, pressed, headers
Light variant#EEF6EF
Selected rows, tints
Dark surface#142416
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 #2b4f2f

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#4F2B4B
Analogous left#394F2B
Analogous right#2B4F41
Split-complement 1#412B4F
Split-complement 2#4F2B39
Triadic 1#2F2B4F
Triadic 2#4F2F2B
Tetradic#2B394F

RGB percentages

Red16.9%
Green31.0%
Blue18.4%

CMYK percentages

Cyan45.6%
Magenta0.0%
Yellow40.5%
Key (black)69.0%

Color previews

#2b4f2f text on a black background

contrast 2.26:1

Card sample

#2b4f2f text on a white background

contrast 9.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2b4f2f

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.

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

#2b4f2f, answered

What color is #2b4f2f?

#2b4f2f is a deep soft green, closest to Dark Green (ΔE2000 13.1). It sits at 127° on the hue wheel with 30% saturation and 24% lightness, which reads as cool.

What is the RGB value of #2b4f2f?

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

Is #2b4f2f a light or a dark color?

It is a dark color. Relative luminance is 0.0631 and perceived brightness is 26%, so white text on it reaches 9.28:1.

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

White. It scores 9.28:1 against #2b4f2f, versus 2.26:1 for black — AAA at any size.

What is the complementary color of #2b4f2f?

#4F2B4B sits directly opposite on the wheel. Softer options are the split-complements #412B4F and #4F2B39, which give the same contrast with far less vibration.

What colors go well with #2b4f2f?

For interface work: #F5FAF6 as the surface, #CAE2CD for borders, #519558 for secondary text, #4C2951 as an accent and #2D5331 for hover and pressed states. For a palette, the analogous pair #394F2B and #2B4F41 stays calm, while #4F2B4B is the loudest partner.

What is #2b4f2f in CMYK for printing?

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

Is #2b4f2f warm or cool?

Cool — it scores 63 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #344F2B; nudged cooler, #2A503C.

Work with #2b4f2f in the Color Lab