Skip to content

#2f481c

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

RGB
47, 72, 28
HSL
94°, 44%, 20%
CMYK
35, 0, 61, 72
Luminance
0.0532

At a glance

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

Hex
#2f481c
Hue
94°
green
Saturation
44%
soft
Lightness
20%
deep
Brightness
28%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0532
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Green
Tone
Soft
Best ink
White
10.17:1
Closest name
Dark Green
ΔE2000 12.5
Where it sits
Hue94° of 360°
Saturation44%
Lightness20%
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#2f481c
RGBrgb(47, 72, 28)
HSLhsl(94, 44%, 20%)
CMYKcmyk(35%, 0%, 61%, 72%)
LABlab(27.6 -18.6 23.1)
LCHlch(27.6 29.7 128.9)
OKLCHoklch(0.370 0.075 133.5)
Decimal3098652
Display P3color(display-p3 0.184 0.282 0.110)

Copy-ready code

/* CSS */
color: #2f481c;
background-color: #2f481c;
/* Tailwind (arbitrary) */
class="text-[#2f481c] bg-[#2f481c]"
/* SCSS */
$brand: #2f481c;
/* SwiftUI */
Color(red: 0.184, green: 0.282, blue: 0.110)
/* Android */
Color.parseColor("#2f481c")
/* Flutter */
Color(0xFF2F481C)
/* Python / OpenCV (BGR) */
(28, 72, 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 #2f481c · 10.17:1
Use #ffffffAAA at every size.
Aa
White text · 10.17: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: #2f481c as text scores 10.17:1 on white and 2.06:1 on black.

Accessibility — WCAG contrast

Aa
#2f481c on white: 10.17:1
AA ✓ pass · AA-large · AAA
Aa
#2f481c on black: 2.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4B4318
deuteranopia · #47411F
tritanopia · #2F453E

Color scale — 50 to 950

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

#F7FAF5
#EFF5EA
#DCEBD1
#C4E0AE
#A6D086
#88C05D
#73B045
#609339
#4D762E
#2f481c
#243617
Base = 900Lightest = 50 · #F7FAF5Darkest = 950 · #243617
:root {
  --brand-50: #F7FAF5;
  --brand-100: #EFF5EA;
  --brand-200: #DCEBD1;
  --brand-300: #C4E0AE;
  --brand-400: #A6D086;
  --brand-500: #88C05D;
  --brand-600: #73B045;
  --brand-700: #609339;
  --brand-800: #4D762E;
  --brand-900: #2f481c;
  --brand-950: #243617;
  --brand: #2f481c;
  --brand-ink: #ffffff;
}

Colors that work with #2f481c

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#D4E8C4
Hairlines and dividers
Muted text#6D9B4B
Captions on the surface
Accent#291A4A
Second voice, not a rival
Dark variant#3C5C24
Hover, pressed, headers
Light variant#F1F8ED
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 #2f481c

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#351C48
Analogous left#45481C
Analogous right#1C481F
Split-complement 1#1F1C48
Split-complement 2#481C45
Triadic 1#1C2F48
Triadic 2#481C2F
Tetradic#1C4548

RGB percentages

Red18.4%
Green28.2%
Blue11.0%

CMYK percentages

Cyan34.7%
Magenta0.0%
Yellow61.1%
Key (black)71.8%

Color previews

#2f481c text on a black background

contrast 2.06:1

Card sample

#2f481c text on a white background

contrast 10.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 72, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 72, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f481c;
background: linear-gradient(135deg, #2f481c, #1C4826);

Monochromatic scale

Palettes built from #2f481c

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.

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

#2f481c, answered

What color is #2f481c?

#2f481c is a deep soft green, closest to Dark Green (ΔE2000 12.5). It sits at 94° on the hue wheel with 44% saturation and 20% lightness, which reads as neutral.

What is the RGB value of #2f481c?

rgb(47, 72, 28) — 47 red, 72 green and 28 blue out of 255, or 18.4% / 28.2% / 11% by channel.

Is #2f481c a light or a dark color?

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

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

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

What is the complementary color of #2f481c?

#351C48 sits directly opposite on the wheel. Softer options are the split-complements #1F1C48 and #481C45, which give the same contrast with far less vibration.

What colors go well with #2f481c?

For interface work: #F7FAF4 as the surface, #D4E8C4 for borders, #6D9B4B for secondary text, #291A4A as an accent and #3C5C24 for hover and pressed states. For a palette, the analogous pair #45481C and #1C481F stays calm, while #351C48 is the loudest partner.

What is #2f481c in CMYK for printing?

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

Is #2f481c 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 #3F481C; nudged cooler, #1E491B.

Work with #2f481c in the Color Lab