Skip to content

#2d3f0f

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

RGB
45, 63, 15
HSL
83°, 62%, 15%
CMYK
29, 0, 76, 75
Luminance
0.0415

At a glance

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

Hex
#2d3f0f
Hue
83°
green
Saturation
62%
vivid
Lightness
15%
deep
Brightness
25%
HSV value
Perceived
21%
weighted brightness
Luminance
0.0415
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Green
Tone
Vivid
Best ink
White
11.48:1
Closest name
Dark Olive Green
ΔE2000 14.7
Where it sits
Hue83° of 360°
Saturation62%
Lightness15%
Temperature
Warm ← → Cool44% 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#2d3f0f
RGBrgb(45, 63, 15)
HSLhsl(83, 62%, 15%)
CMYKcmyk(29%, 0%, 76%, 75%)
LABlab(24.1 -16.0 26.0)
LCHlch(24.1 30.6 121.6)
OKLCHoklch(0.341 0.075 127.6)
Decimal2965263
Display P3color(display-p3 0.176 0.247 0.059)

Copy-ready code

/* CSS */
color: #2d3f0f;
background-color: #2d3f0f;
/* Tailwind (arbitrary) */
class="text-[#2d3f0f] bg-[#2d3f0f]"
/* SCSS */
$brand: #2d3f0f;
/* SwiftUI */
Color(red: 0.176, green: 0.247, blue: 0.059)
/* Android */
Color.parseColor("#2d3f0f")
/* Flutter */
Color(0xFF2D3F0F)
/* Python / OpenCV (BGR) */
(15, 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 #2d3f0f · 11.48:1
Use #ffffffAAA at every size.
Aa
White text · 11.48: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: #2d3f0f as text scores 11.48:1 on white and 1.83:1 on black.

Accessibility — WCAG contrast

Aa
#2d3f0f on white: 11.48:1
AA ✓ pass · AA-large · AAA
Aa
#2d3f0f on black: 1.83:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #433A08
deuteranopia · #403913
tritanopia · #2F3C35

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2d3f0f 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
#F2F7E8
#E2F0CC
#D0E9A4
#B8DF77
#A0D44A
#8DC62F
#76A527
#5E841F
#46601B
#2d3f0f
Base = 950Lightest = 50 · #F8FBF4Darkest = 950 · #2d3f0f
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F2F7E8;
  --brand-200: #E2F0CC;
  --brand-300: #D0E9A4;
  --brand-400: #B8DF77;
  --brand-500: #A0D44A;
  --brand-600: #8DC62F;
  --brand-700: #76A527;
  --brand-800: #5E841F;
  --brand-900: #46601B;
  --brand-950: #2d3f0f;
  --brand: #2d3f0f;
  --brand-ink: #ffffff;
}

Colors that work with #2d3f0f

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#DCEDC0
Hairlines and dividers
Muted text#7D9B4B
Captions on the surface
Accent#140D41
Second voice, not a rival
Dark variant#4A6719
Hover, pressed, headers
Light variant#F4FAEA
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 #2d3f0f

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#210F3F
Analogous left#3F390F
Analogous right#153F0F
Split-complement 1#0F153F
Split-complement 2#390F3F
Triadic 1#0F2D3F
Triadic 2#3F0F2D
Tetradic#0F3F39

RGB percentages

Red17.6%
Green24.7%
Blue5.9%

CMYK percentages

Cyan28.6%
Magenta0.0%
Yellow76.2%
Key (black)75.3%

Color previews

#2d3f0f text on a black background

contrast 1.83:1

Card sample

#2d3f0f text on a white background

contrast 11.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d3f0f

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.

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

#2d3f0f, answered

What color is #2d3f0f?

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

What is the RGB value of #2d3f0f?

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

Is #2d3f0f 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.48:1.

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

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

What is the complementary color of #2d3f0f?

#210F3F sits directly opposite on the wheel. Softer options are the split-complements #0F153F and #390F3F, which give the same contrast with far less vibration.

What colors go well with #2d3f0f?

For interface work: #F8FAF4 as the surface, #DCEDC0 for borders, #7D9B4B for secondary text, #140D41 as an accent and #4A6719 for hover and pressed states. For a palette, the analogous pair #3F390F and #153F0F stays calm, while #210F3F is the loudest partner.

What is #2d3f0f in CMYK for printing?

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

Is #2d3f0f warm or cool?

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

Work with #2d3f0f in the Color Lab