Skip to content

#2c7813

a dark, vivid green · neutral · closest name: Green

RGB
44, 120, 19
HSL
105°, 73%, 27%
CMYK
63, 0, 84, 53
Luminance
0.1402

At a glance

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

Hex
#2c7813
Hue
105°
green
Saturation
73%
vivid
Lightness
27%
dark
Brightness
47%
HSV value
Perceived
37%
weighted brightness
Luminance
0.1402
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Green
Tone
Vivid
Best ink
White
5.52:1
Closest name
Green
ΔE2000 3.6
Where it sits
Hue105° of 360°
Saturation73%
Lightness27%
Temperature
Warm ← → Cool56% 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#2c7813
RGBrgb(44, 120, 19)
HSLhsl(105, 73%, 27%)
CMYKcmyk(63%, 0%, 84%, 53%)
LABlab(44.3 -41.8 44.1)
LCHlch(44.3 60.8 133.4)
OKLCHoklch(0.506 0.151 139.6)
Decimal2914323
Display P3color(display-p3 0.173 0.471 0.075)

Copy-ready code

/* CSS */
color: #2c7813;
background-color: #2c7813;
/* Tailwind (arbitrary) */
class="text-[#2c7813] bg-[#2c7813]"
/* SCSS */
$brand: #2c7813;
/* SwiftUI */
Color(red: 0.173, green: 0.471, blue: 0.075)
/* Android */
Color.parseColor("#2c7813")
/* Flutter */
Color(0xFF2C7813)
/* Python / OpenCV (BGR) */
(19, 120, 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 #2c7813 · 5.52:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.52:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.80:1
AA fail · AA large pass · AAA fail
Reading the other direction: #2c7813 as text scores 5.52:1 on white and 3.80:1 on black.

Accessibility — WCAG contrast

Aa
#2c7813 on white: 5.52:1
AA ✓ pass · AA-large · AAA
Aa
#2c7813 on black: 3.80:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7C6C00
deuteranopia · #726620
tritanopia · #227466

Color scale — 50 to 950

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

#F5FCF3
#EBF8E7
#D3F3C9
#B2F09E
#8CE86E
#66E03D
#4ED321
#41B01C
#348D16
#2c7813
#19400D
Base = 900Lightest = 50 · #F5FCF3Darkest = 950 · #19400D
:root {
  --brand-50: #F5FCF3;
  --brand-100: #EBF8E7;
  --brand-200: #D3F3C9;
  --brand-300: #B2F09E;
  --brand-400: #8CE86E;
  --brand-500: #66E03D;
  --brand-600: #4ED321;
  --brand-700: #41B01C;
  --brand-800: #348D16;
  --brand-900: #2c7813;
  --brand-950: #19400D;
  --brand: #2c7813;
  --brand-ink: #ffffff;
}

Colors that work with #2c7813

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#F6FAF4
Tinted page background
Border#CBEDC0
Hairlines and dividers
Muted text#5F9B4B
Captions on the surface
Accent#46107B
Second voice, not a rival
Dark variant#286E11
Hover, pressed, headers
Light variant#EEFCE9
Selected rows, tints
Dark surface#182414
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 #2c7813

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
  • 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#5F1378
Analogous left#5F7813
Analogous right#13782C
Split-complement 1#2C1378
Split-complement 2#78135F
Triadic 1#132C78
Triadic 2#78132C
Tetradic#135F78

RGB percentages

Red17.3%
Green47.1%
Blue7.5%

CMYK percentages

Cyan63.3%
Magenta0.0%
Yellow84.2%
Key (black)52.9%

Color previews

#2c7813 text on a black background

contrast 3.80:1

Card sample

#2c7813 text on a white background

contrast 5.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2c7813

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.

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

#2c7813, answered

What color is #2c7813?

#2c7813 is a dark vivid green, closest to Green (ΔE2000 3.6). It sits at 105° on the hue wheel with 73% saturation and 27% lightness, which reads as neutral.

What is the RGB value of #2c7813?

rgb(44, 120, 19) — 44 red, 120 green and 19 blue out of 255, or 17.3% / 47.1% / 7.5% by channel.

Is #2c7813 a light or a dark color?

It is a dark color. Relative luminance is 0.1402 and perceived brightness is 37%, so white text on it reaches 5.52:1.

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

White. It scores 5.52:1 against #2c7813, versus 3.80:1 for black — AA at any size.

What is the complementary color of #2c7813?

#5F1378 sits directly opposite on the wheel. Softer options are the split-complements #2C1378 and #78135F, which give the same contrast with far less vibration.

What colors go well with #2c7813?

For interface work: #F6FAF4 as the surface, #CBEDC0 for borders, #5F9B4B for secondary text, #46107B as an accent and #286E11 for hover and pressed states. For a palette, the analogous pair #5F7813 and #13782C stays calm, while #5F1378 is the loudest partner.

What is #2c7813 in CMYK for printing?

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

Is #2c7813 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #517813; nudged cooler, #127A1E.

Work with #2c7813 in the Color Lab