Skip to content

#2d3f11

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

RGB
45, 63, 17
HSL
84°, 58%, 16%
CMYK
29, 0, 73, 75
Luminance
0.0415

At a glance

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

Hex
#2d3f11
Hue
84°
green
Saturation
58%
vivid
Lightness
16%
deep
Brightness
25%
HSV value
Perceived
21%
weighted brightness
Luminance
0.0415
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Green
Tone
Vivid
Best ink
White
11.47:1
Closest name
Dark Olive Green
ΔE2000 14.7
Where it sits
Hue84° of 360°
Saturation58%
Lightness16%
Temperature
Warm ← → Cool45% 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#2d3f11
RGBrgb(45, 63, 17)
HSLhsl(84, 58%, 16%)
CMYKcmyk(29%, 0%, 73%, 75%)
LABlab(24.2 -15.8 25.1)
LCHlch(24.2 29.6 122.3)
OKLCHoklch(0.341 0.073 128.0)
Decimal2965265
Display P3color(display-p3 0.176 0.247 0.067)

Copy-ready code

/* CSS */
color: #2d3f11;
background-color: #2d3f11;
/* Tailwind (arbitrary) */
class="text-[#2d3f11] bg-[#2d3f11]"
/* SCSS */
$brand: #2d3f11;
/* SwiftUI */
Color(red: 0.176, green: 0.247, blue: 0.067)
/* Android */
Color.parseColor("#2d3f11")
/* Flutter */
Color(0xFF2D3F11)
/* Python / OpenCV (BGR) */
(17, 63, 45)

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

Accessibility — WCAG contrast

Aa
#2d3f11 on white: 11.47:1
AA ✓ pass · AA-large · AAA
Aa
#2d3f11 on black: 1.83:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #423A0B
deuteranopia · #403915
tritanopia · #2F3C35

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2d3f11 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
#F1F7E9
#E1EFCD
#CEE7A7
#B5DB7A
#9DCF4E
#8AC134
#73A12B
#5C8123
#445E1D
#2d3f11
Base = 950Lightest = 50 · #F8FBF4Darkest = 950 · #2d3f11
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F1F7E9;
  --brand-200: #E1EFCD;
  --brand-300: #CEE7A7;
  --brand-400: #B5DB7A;
  --brand-500: #9DCF4E;
  --brand-600: #8AC134;
  --brand-700: #73A12B;
  --brand-800: #5C8123;
  --brand-900: #445E1D;
  --brand-950: #2d3f11;
  --brand: #2d3f11;
  --brand-ink: #ffffff;
}

Colors that work with #2d3f11

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#DBEDC0
Hairlines and dividers
Muted text#7B9B4B
Captions on the surface
Accent#160F41
Second voice, not a rival
Dark variant#48641B
Hover, pressed, headers
Light variant#F4FAEB
Selected rows, tints
Dark surface#1E2414
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 #2d3f11

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#23113F
Analogous left#3F3A11
Analogous right#163F11
Split-complement 1#11163F
Split-complement 2#3A113F
Triadic 1#112D3F
Triadic 2#3F112D
Tetradic#113F3A

RGB percentages

Red17.6%
Green24.7%
Blue6.7%

CMYK percentages

Cyan28.6%
Magenta0.0%
Yellow73.0%
Key (black)75.3%

Color previews

#2d3f11 text on a black background

contrast 1.83:1

Card sample

#2d3f11 text on a white background

contrast 11.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 63, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 63, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d3f11;
background: linear-gradient(135deg, #2d3f11, #113F14);

Monochromatic scale

Palettes built from #2d3f11

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.

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

#2d3f11, answered

What color is #2d3f11?

#2d3f11 is a deep vivid green, closest to Dark Olive Green (ΔE2000 14.7). It sits at 84° on the hue wheel with 58% saturation and 16% lightness, which reads as neutral.

What is the RGB value of #2d3f11?

rgb(45, 63, 17) — 45 red, 63 green and 17 blue out of 255, or 17.6% / 24.7% / 6.7% by channel.

Is #2d3f11 a light or a dark color?

It is a dark color. Relative luminance is 0.0415 and perceived brightness is 21%, so white text on it reaches 11.47:1.

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

White. It scores 11.47:1 against #2d3f11, versus 1.83:1 for black — AAA at any size.

What is the complementary color of #2d3f11?

#23113F sits directly opposite on the wheel. Softer options are the split-complements #11163F and #3A113F, which give the same contrast with far less vibration.

What colors go well with #2d3f11?

For interface work: #F8FAF4 as the surface, #DBEDC0 for borders, #7B9B4B for secondary text, #160F41 as an accent and #48641B for hover and pressed states. For a palette, the analogous pair #3F3A11 and #163F11 stays calm, while #23113F is the loudest partner.

What is #2d3f11 in CMYK for printing?

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

Is #2d3f11 warm or cool?

Neutral — it scores 45 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3E3F11; nudged cooler, #1C4010.

Work with #2d3f11 in the Color Lab