Skip to content

#2f5d11

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

RGB
47, 93, 17
HSL
96°, 69%, 22%
CMYK
50, 0, 82, 64
Luminance
0.0847

At a glance

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

Hex
#2f5d11
Hue
96°
green
Saturation
69%
vivid
Lightness
22%
deep
Brightness
36%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0847
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Green
Tone
Vivid
Best ink
White
7.79:1
Closest name
Dark Green
ΔE2000 5
Where it sits
Hue96° of 360°
Saturation69%
Lightness22%
Temperature
Warm ← → Cool53% 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#2f5d11
RGBrgb(47, 93, 17)
HSLhsl(96, 69%, 22%)
CMYKcmyk(50%, 0%, 82%, 64%)
LABlab(35.0 -29.9 36.0)
LCHlch(35.0 46.9 129.7)
OKLCHoklch(0.429 0.116 136.1)
Decimal3104017
Display P3color(display-p3 0.184 0.365 0.067)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f5d11 on white: 7.79:1
AA ✓ pass · AA-large · AAA
Aa
#2f5d11 on black: 2.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #615502
deuteranopia · #5A5119
tritanopia · #2D594F

Color scale — 50 to 950

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

#F6FBF3
#EEF8E7
#DAF2CA
#BFEEA0
#9FE571
#7FDC41
#69CF26
#57AC20
#468A19
#2f5d11
#213F0E
Base = 900Lightest = 50 · #F6FBF3Darkest = 950 · #213F0E
:root {
  --brand-50: #F6FBF3;
  --brand-100: #EEF8E7;
  --brand-200: #DAF2CA;
  --brand-300: #BFEEA0;
  --brand-400: #9FE571;
  --brand-500: #7FDC41;
  --brand-600: #69CF26;
  --brand-700: #57AC20;
  --brand-800: #468A19;
  --brand-900: #2f5d11;
  --brand-950: #213F0E;
  --brand: #2f5d11;
  --brand-ink: #ffffff;
}

Colors that work with #2f5d11

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#D1EDC0
Hairlines and dividers
Muted text#6A9B4B
Captions on the surface
Accent#2B0F5F
Second voice, not a rival
Dark variant#366C14
Hover, pressed, headers
Light variant#F0FBE9
Selected rows, tints
Dark surface#1A2414
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 #2f5d11

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#3F115D
Analogous left#555D11
Analogous right#115D19
Split-complement 1#19115D
Split-complement 2#5D1155
Triadic 1#112F5D
Triadic 2#5D112F
Tetradic#11555D

RGB percentages

Red18.4%
Green36.5%
Blue6.7%

CMYK percentages

Cyan49.5%
Magenta0.0%
Yellow81.7%
Key (black)63.5%

Color previews

#2f5d11 text on a black background

contrast 2.69:1

Card sample

#2f5d11 text on a white background

contrast 7.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 93, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 93, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f5d11;
background: linear-gradient(135deg, #2f5d11, #115D26);

Monochromatic scale

Palettes built from #2f5d11

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.

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

#2f5d11, answered

What color is #2f5d11?

#2f5d11 is a deep vivid green, closest to Dark Green (ΔE2000 5). It sits at 96° on the hue wheel with 69% saturation and 22% lightness, which reads as neutral.

What is the RGB value of #2f5d11?

rgb(47, 93, 17) — 47 red, 93 green and 17 blue out of 255, or 18.4% / 36.5% / 6.7% by channel.

Is #2f5d11 a light or a dark color?

It is a dark color. Relative luminance is 0.0847 and perceived brightness is 30%, so white text on it reaches 7.79:1.

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

White. It scores 7.79:1 against #2f5d11, versus 2.69:1 for black — AAA at any size.

What is the complementary color of #2f5d11?

#3F115D sits directly opposite on the wheel. Softer options are the split-complements #19115D and #5D1155, which give the same contrast with far less vibration.

What colors go well with #2f5d11?

For interface work: #F7FAF4 as the surface, #D1EDC0 for borders, #6A9B4B for secondary text, #2B0F5F as an accent and #366C14 for hover and pressed states. For a palette, the analogous pair #555D11 and #115D19 stays calm, while #3F115D is the loudest partner.

What is #2f5d11 in CMYK for printing?

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

Is #2f5d11 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4B5D11; nudged cooler, #125E10.

Work with #2f5d11 in the Color Lab