Skip to content

#2c3f0c

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

RGB
44, 63, 12
HSL
82°, 68%, 15%
CMYK
30, 0, 81, 75
Luminance
0.0412

At a glance

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

Hex
#2c3f0c
Hue
82°
green
Saturation
68%
vivid
Lightness
15%
deep
Brightness
25%
HSV value
Perceived
21%
weighted brightness
Luminance
0.0412
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Green
Tone
Vivid
Best ink
White
11.52:1
Closest name
Dark Green
ΔE2000 14.4
Where it sits
Hue82° of 360°
Saturation68%
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#2c3f0c
RGBrgb(44, 63, 12)
HSLhsl(82, 68%, 15%)
CMYKcmyk(30%, 0%, 81%, 75%)
LABlab(24.1 -16.7 27.3)
LCHlch(24.1 32.0 121.5)
OKLCHoklch(0.340 0.078 127.9)
Decimal2899724
Display P3color(display-p3 0.173 0.247 0.047)

Copy-ready code

/* CSS */
color: #2c3f0c;
background-color: #2c3f0c;
/* Tailwind (arbitrary) */
class="text-[#2c3f0c] bg-[#2c3f0c]"
/* SCSS */
$brand: #2c3f0c;
/* SwiftUI */
Color(red: 0.173, green: 0.247, blue: 0.047)
/* Android */
Color.parseColor("#2c3f0c")
/* Flutter */
Color(0xFF2C3F0C)
/* Python / OpenCV (BGR) */
(12, 63, 44)

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

Accessibility — WCAG contrast

Aa
#2c3f0c on white: 11.52:1
AA ✓ pass · AA-large · AAA
Aa
#2c3f0c on black: 1.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #433A05
deuteranopia · #403911
tritanopia · #2E3C35

Color scale — 50 to 950

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

#F8FBF3
#F2F8E8
#E3F2CA
#D1EDA1
#B9E472
#A2DB43
#8FCE27
#78AB21
#60891A
#476317
#2c3f0c
Base = 950Lightest = 50 · #F8FBF3Darkest = 950 · #2c3f0c
:root {
  --brand-50: #F8FBF3;
  --brand-100: #F2F8E8;
  --brand-200: #E3F2CA;
  --brand-300: #D1EDA1;
  --brand-400: #B9E472;
  --brand-500: #A2DB43;
  --brand-600: #8FCE27;
  --brand-700: #78AB21;
  --brand-800: #60891A;
  --brand-900: #476317;
  --brand-950: #2c3f0c;
  --brand: #2c3f0c;
  --brand-ink: #ffffff;
}

Colors that work with #2c3f0c

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#110A40
Second voice, not a rival
Dark variant#4B6B14
Hover, pressed, headers
Light variant#F4FBEA
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 #2c3f0c

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#1F0C3F
Analogous left#3F390C
Analogous right#123F0C
Split-complement 1#0C123F
Split-complement 2#390C3F
Triadic 1#0C2C3F
Triadic 2#3F0C2C
Tetradic#0C3F39

RGB percentages

Red17.3%
Green24.7%
Blue4.7%

CMYK percentages

Cyan30.2%
Magenta0.0%
Yellow81.0%
Key (black)75.3%

Color previews

#2c3f0c text on a black background

contrast 1.82:1

Card sample

#2c3f0c text on a white background

contrast 11.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2c3f0c

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.

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

#2c3f0c, answered

What color is #2c3f0c?

#2c3f0c is a deep vivid green, closest to Dark Green (ΔE2000 14.4). It sits at 82° on the hue wheel with 68% saturation and 15% lightness, which reads as neutral.

What is the RGB value of #2c3f0c?

rgb(44, 63, 12) — 44 red, 63 green and 12 blue out of 255, or 17.3% / 24.7% / 4.7% by channel.

Is #2c3f0c a light or a dark color?

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

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

White. It scores 11.52:1 against #2c3f0c, versus 1.82:1 for black — AAA at any size.

What is the complementary color of #2c3f0c?

#1F0C3F sits directly opposite on the wheel. Softer options are the split-complements #0C123F and #390C3F, which give the same contrast with far less vibration.

What colors go well with #2c3f0c?

For interface work: #F8FAF4 as the surface, #DCEDC0 for borders, #7D9B4B for secondary text, #110A40 as an accent and #4B6B14 for hover and pressed states. For a palette, the analogous pair #3F390C and #123F0C stays calm, while #1F0C3F is the loudest partner.

What is #2c3f0c in CMYK for printing?

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

Is #2c3f0c 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 #3F3F0C; nudged cooler, #19400B.

Work with #2c3f0c in the Color Lab