Skip to content

#2f4b19

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

RGB
47, 75, 25
HSL
94°, 50%, 20%
CMYK
37, 0, 67, 71
Luminance
0.0571

At a glance

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

Hex
#2f4b19
Hue
94°
green
Saturation
50%
vivid
Lightness
20%
deep
Brightness
29%
HSV value
Perceived
25%
weighted brightness
Luminance
0.0571
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Green
Tone
Vivid
Best ink
White
9.81:1
Closest name
Dark Green
ΔE2000 11.1
Where it sits
Hue94° of 360°
Saturation50%
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#2f4b19
RGBrgb(47, 75, 25)
HSLhsl(94, 50%, 20%)
CMYKcmyk(37%, 0%, 67%, 71%)
LABlab(28.7 -20.6 25.9)
LCHlch(28.7 33.1 128.5)
OKLCHoklch(0.378 0.083 133.6)
Decimal3099417
Display P3color(display-p3 0.184 0.294 0.098)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f4b19 on white: 9.81:1
AA ✓ pass · AA-large · AAA
Aa
#2f4b19 on black: 2.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4E4513
deuteranopia · #4A431D
tritanopia · #2F4840

Color scale — 50 to 950

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

#F7FAF4
#EFF6EA
#DCECCF
#C4E3AB
#A6D581
#88C757
#73B83D
#609933
#4D7A29
#2f4b19
#243815
Base = 900Lightest = 50 · #F7FAF4Darkest = 950 · #243815
:root {
  --brand-50: #F7FAF4;
  --brand-100: #EFF6EA;
  --brand-200: #DCECCF;
  --brand-300: #C4E3AB;
  --brand-400: #A6D581;
  --brand-500: #88C757;
  --brand-600: #73B83D;
  --brand-700: #609933;
  --brand-800: #4D7A29;
  --brand-900: #2f4b19;
  --brand-950: #243815;
  --brand: #2f4b19;
  --brand-ink: #ffffff;
}

Colors that work with #2f4b19

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#D4EBC2
Hairlines and dividers
Muted text#6E9B4B
Captions on the surface
Accent#28174D
Second voice, not a rival
Dark variant#3C6020
Hover, pressed, headers
Light variant#F1F9EC
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 #2f4b19

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#35194B
Analogous left#484B19
Analogous right#194B1C
Split-complement 1#1C194B
Split-complement 2#4B1948
Triadic 1#192F4B
Triadic 2#4B192F
Tetradic#19484B

RGB percentages

Red18.4%
Green29.4%
Blue9.8%

CMYK percentages

Cyan37.3%
Magenta0.0%
Yellow66.7%
Key (black)70.6%

Color previews

#2f4b19 text on a black background

contrast 2.14:1

Card sample

#2f4b19 text on a white background

contrast 9.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 75, 25, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 75, 25, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f4b19;
background: linear-gradient(135deg, #2f4b19, #194B24);

Monochromatic scale

Palettes built from #2f4b19

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.

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

#2f4b19, answered

What color is #2f4b19?

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

What is the RGB value of #2f4b19?

rgb(47, 75, 25) — 47 red, 75 green and 25 blue out of 255, or 18.4% / 29.4% / 9.8% by channel.

Is #2f4b19 a light or a dark color?

It is a dark color. Relative luminance is 0.0571 and perceived brightness is 25%, so white text on it reaches 9.81:1.

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

White. It scores 9.81:1 against #2f4b19, versus 2.14:1 for black — AAA at any size.

What is the complementary color of #2f4b19?

#35194B sits directly opposite on the wheel. Softer options are the split-complements #1C194B and #4B1948, which give the same contrast with far less vibration.

What colors go well with #2f4b19?

For interface work: #F7FAF4 as the surface, #D4EBC2 for borders, #6E9B4B for secondary text, #28174D as an accent and #3C6020 for hover and pressed states. For a palette, the analogous pair #484B19 and #194B1C stays calm, while #35194B is the loudest partner.

What is #2f4b19 in CMYK for printing?

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

Is #2f4b19 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 #414B19; nudged cooler, #1C4C18.

Work with #2f4b19 in the Color Lab