Skip to content

#2f4810

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

RGB
47, 72, 16
HSL
87°, 64%, 17%
CMYK
35, 0, 78, 72
Luminance
0.0528

At a glance

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

Hex
#2f4810
Hue
87°
green
Saturation
64%
vivid
Lightness
17%
deep
Brightness
28%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0528
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Green
Tone
Vivid
Best ink
White
10.22:1
Closest name
Dark Green
ΔE2000 11.6
Where it sits
Hue87° of 360°
Saturation64%
Lightness17%
Temperature
Warm ← → Cool47% 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#2f4810
RGBrgb(47, 72, 16)
HSLhsl(87, 64%, 17%)
CMYKcmyk(35%, 0%, 78%, 72%)
LABlab(27.5 -19.9 29.1)
LCHlch(27.5 35.2 124.4)
OKLCHoklch(0.368 0.086 130.6)
Decimal3098640
Display P3color(display-p3 0.184 0.282 0.063)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f4810 on white: 10.22:1
AA ✓ pass · AA-large · AAA
Aa
#2f4810 on black: 2.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4C4207
deuteranopia · #484015
tritanopia · #30453D

Color scale — 50 to 950

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

#F8FBF4
#F1F7E8
#E0F0CB
#CBEBA3
#B1E075
#96D647
#83C82D
#6DA725
#57851E
#416119
#2f4810
Base = 950Lightest = 50 · #F8FBF4Darkest = 950 · #2f4810
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F1F7E8;
  --brand-200: #E0F0CB;
  --brand-300: #CBEBA3;
  --brand-400: #B1E075;
  --brand-500: #96D647;
  --brand-600: #83C82D;
  --brand-700: #6DA725;
  --brand-800: #57851E;
  --brand-900: #416119;
  --brand-950: #2f4810;
  --brand: #2f4810;
  --brand-ink: #ffffff;
}

Colors that work with #2f4810

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#F8FAF4
Tinted page background
Border#D9EDC0
Hairlines and dividers
Muted text#779B4B
Captions on the surface
Accent#1A0E4A
Second voice, not a rival
Dark variant#446817
Hover, pressed, headers
Light variant#F3FAEA
Selected rows, tints
Dark surface#1D2414
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 #2f4810

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#291048
Analogous left#484510
Analogous right#134810
Split-complement 1#101348
Split-complement 2#451048
Triadic 1#102F48
Triadic 2#48102F
Tetradic#104845

RGB percentages

Red18.4%
Green28.2%
Blue6.3%

CMYK percentages

Cyan34.7%
Magenta0.0%
Yellow77.8%
Key (black)71.8%

Color previews

#2f4810 text on a black background

contrast 2.06:1

Card sample

#2f4810 text on a white background

contrast 10.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f4810

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.

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

#2f4810, answered

What color is #2f4810?

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

What is the RGB value of #2f4810?

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

Is #2f4810 a light or a dark color?

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

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

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

What is the complementary color of #2f4810?

#291048 sits directly opposite on the wheel. Softer options are the split-complements #101348 and #451048, which give the same contrast with far less vibration.

What colors go well with #2f4810?

For interface work: #F8FAF4 as the surface, #D9EDC0 for borders, #779B4B for secondary text, #1A0E4A as an accent and #446817 for hover and pressed states. For a palette, the analogous pair #484510 and #134810 stays calm, while #291048 is the loudest partner.

What is #2f4810 in CMYK for printing?

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

Is #2f4810 warm or cool?

Neutral — it scores 47 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #444810; nudged cooler, #1A490F.

Work with #2f4810 in the Color Lab