Skip to content

#2c5a39

a dark, soft green · cool · closest name: Dark Olive Green

RGB
44, 90, 57
HSL
137°, 34%, 26%
CMYK
51, 0, 37, 65
Luminance
0.0814

At a glance

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

Hex
#2c5a39
Hue
137°
green
Saturation
34%
soft
Lightness
26%
dark
Brightness
35%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0814
WCAG relative
Temperature
Cool
69/100 cool
Color family
Green
Tone
Soft
Best ink
White
7.99:1
Closest name
Dark Olive Green
ΔE2000 11.9
Where it sits
Hue137° of 360°
Saturation34%
Lightness26%
Temperature
Warm ← → Cool69% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#2c5a39
RGBrgb(44, 90, 57)
HSLhsl(137, 34%, 26%)
CMYKcmyk(51%, 0%, 37%, 65%)
LABlab(34.3 -24.1 14.3)
LCHlch(34.3 28.1 149.3)
OKLCHoklch(0.425 0.075 151.2)
Decimal2906681
Display P3color(display-p3 0.173 0.353 0.224)

Copy-ready code

/* CSS */
color: #2c5a39;
background-color: #2c5a39;
/* Tailwind (arbitrary) */
class="text-[#2c5a39] bg-[#2c5a39]"
/* SCSS */
$brand: #2c5a39;
/* SwiftUI */
Color(red: 0.173, green: 0.353, blue: 0.224)
/* Android */
Color.parseColor("#2c5a39")
/* Flutter */
Color(0xFF2C5A39)
/* Python / OpenCV (BGR) */
(57, 90, 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 #2c5a39 · 7.99:1
Use #ffffffAAA at every size.
Aa
White text · 7.99:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.63:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2c5a39 as text scores 7.99:1 on white and 2.63:1 on black.

Accessibility — WCAG contrast

Aa
#2c5a39 on white: 7.99:1
AA ✓ pass · AA-large · AAA
Aa
#2c5a39 on black: 2.63:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5A5337
deuteranopia · #544F3B
tritanopia · #235951

Color scale — 50 to 950

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

#F5F9F6
#ECF4EE
#D4E8DA
#B4DABF
#8EC89E
#68B57E
#50A468
#438957
#366E45
#2c5a39
#1A3221
Base = 900Lightest = 50 · #F5F9F6Darkest = 950 · #1A3221
:root {
  --brand-50: #F5F9F6;
  --brand-100: #ECF4EE;
  --brand-200: #D4E8DA;
  --brand-300: #B4DABF;
  --brand-400: #8EC89E;
  --brand-500: #68B57E;
  --brand-600: #50A468;
  --brand-700: #438957;
  --brand-800: #366E45;
  --brand-900: #2c5a39;
  --brand-950: #1A3221;
  --brand: #2c5a39;
  --brand-ink: #ffffff;
}

Colors that work with #2c5a39

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#F5FAF6
Tinted page background
Border#C8E4D0
Hairlines and dividers
Muted text#4B9A62
Captions on the surface
Accent#5D295B
Second voice, not a rival
Dark variant#2A5636
Hover, pressed, headers
Light variant#EEF7F0
Selected rows, tints
Dark surface#142418
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 #2c5a39

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#5A2C4D
Analogous left#365A2C
Analogous right#2C5A50
Split-complement 1#502C5A
Split-complement 2#5A2C36
Triadic 1#392C5A
Triadic 2#5A392C
Tetradic#2C365A

RGB percentages

Red17.3%
Green35.3%
Blue22.4%

CMYK percentages

Cyan51.1%
Magenta0.0%
Yellow36.7%
Key (black)64.7%

Color previews

#2c5a39 text on a black background

contrast 2.63:1

Card sample

#2c5a39 text on a white background

contrast 7.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2c5a39

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.

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

#2c5a39, answered

What color is #2c5a39?

#2c5a39 is a dark soft green, closest to Dark Olive Green (ΔE2000 11.9). It sits at 137° on the hue wheel with 34% saturation and 26% lightness, which reads as cool.

What is the RGB value of #2c5a39?

rgb(44, 90, 57) — 44 red, 90 green and 57 blue out of 255, or 17.3% / 35.3% / 22.4% by channel.

Is #2c5a39 a light or a dark color?

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

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

White. It scores 7.99:1 against #2c5a39, versus 2.63:1 for black — AAA at any size.

What is the complementary color of #2c5a39?

#5A2C4D sits directly opposite on the wheel. Softer options are the split-complements #502C5A and #5A2C36, which give the same contrast with far less vibration.

What colors go well with #2c5a39?

For interface work: #F5FAF6 as the surface, #C8E4D0 for borders, #4B9A62 for secondary text, #5D295B as an accent and #2A5636 for hover and pressed states. For a palette, the analogous pair #365A2C and #2C5A50 stays calm, while #5A2C4D is the loudest partner.

What is #2c5a39 in CMYK for printing?

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

Is #2c5a39 warm or cool?

Cool — it scores 69 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #305A2C; nudged cooler, #2B5B4A.

Work with #2c5a39 in the Color Lab