Skip to content

#34503c

a dark, soft green · cool · closest name: Dark Slate Gray

RGB
52, 80, 60
HSL
137°, 21%, 26%
CMYK
35, 0, 25, 69
Luminance
0.0679

At a glance

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

Hex
#34503c
Hue
137°
green
Saturation
21%
soft
Lightness
26%
dark
Brightness
31%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0679
WCAG relative
Temperature
Cool
62/100 cool
Color family
Green
Tone
Soft
Best ink
White
8.90:1
Closest name
Dark Slate Gray
ΔE2000 9.5
Where it sits
Hue137° of 360°
Saturation21%
Lightness26%
Temperature
Warm ← → Cool62% 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#34503c
RGBrgb(52, 80, 60)
HSLhsl(137, 21%, 26%)
CMYKcmyk(35%, 0%, 25%, 69%)
LABlab(31.3 -15.4 8.5)
LCHlch(31.3 17.6 151.1)
OKLCHoklch(0.403 0.048 152.8)
Decimal3428412
Display P3color(display-p3 0.204 0.314 0.235)

Copy-ready code

/* CSS */
color: #34503c;
background-color: #34503c;
/* Tailwind (arbitrary) */
class="text-[#34503c] bg-[#34503c]"
/* SCSS */
$brand: #34503c;
/* SwiftUI */
Color(red: 0.204, green: 0.314, blue: 0.235)
/* Android */
Color.parseColor("#34503c")
/* Flutter */
Color(0xFF34503C)
/* Python / OpenCV (BGR) */
(60, 80, 52)

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

Accessibility — WCAG contrast

Aa
#34503c on white: 8.90:1
AA ✓ pass · AA-large · AAA
Aa
#34503c on black: 2.36:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #504C3B
deuteranopia · #4C483D
tritanopia · #2F4F4A

Color scale — 50 to 950

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

#F6F9F7
#EDF2EF
#D8E4DB
#BBD3C2
#99BDA3
#77A785
#60946F
#507C5D
#40634A
#34503c
#1F2E23
Base = 900Lightest = 50 · #F6F9F7Darkest = 950 · #1F2E23
:root {
  --brand-50: #F6F9F7;
  --brand-100: #EDF2EF;
  --brand-200: #D8E4DB;
  --brand-300: #BBD3C2;
  --brand-400: #99BDA3;
  --brand-500: #77A785;
  --brand-600: #60946F;
  --brand-700: #507C5D;
  --brand-800: #40634A;
  --brand-900: #34503c;
  --brand-950: #1F2E23;
  --brand: #34503c;
  --brand-ink: #ffffff;
}

Colors that work with #34503c

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#F6F9F7
Tinted page background
Border#CEDFD2
Hairlines and dividers
Muted text#5A8B68
Captions on the surface
Accent#533152
Second voice, not a rival
Dark variant#324D3A
Hover, pressed, headers
Light variant#F0F5F1
Selected rows, tints
Dark surface#162219
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 #34503c

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#503448
Analogous left#3A5034
Analogous right#34504A
Split-complement 1#4A3450
Split-complement 2#50343A
Triadic 1#3C3450
Triadic 2#503C34
Tetradic#343A50

RGB percentages

Red20.4%
Green31.4%
Blue23.5%

CMYK percentages

Cyan35.0%
Magenta0.0%
Yellow25.0%
Key (black)68.6%

Color previews

#34503c text on a black background

contrast 2.36:1

Card sample

#34503c text on a white background

contrast 8.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #34503c;
Background color
Panel with #34503c background
background-color: #34503c;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(52, 80, 60, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(52, 80, 60, 0.45);
Border & gradient
Gradient panel
border: 3px solid #34503c;
background: linear-gradient(135deg, #34503c, #34504F);

Monochromatic scale

Palettes built from #34503c

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.

#34503c 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.

#34503c, answered

What color is #34503c?

#34503c is a dark soft green, closest to Dark Slate Gray (ΔE2000 9.5). It sits at 137° on the hue wheel with 21% saturation and 26% lightness, which reads as cool.

What is the RGB value of #34503c?

rgb(52, 80, 60) — 52 red, 80 green and 60 blue out of 255, or 20.4% / 31.4% / 23.5% by channel.

Is #34503c a light or a dark color?

It is a dark color. Relative luminance is 0.0679 and perceived brightness is 28%, so white text on it reaches 8.90:1.

Should I use black or white text on #34503c?

White. It scores 8.90:1 against #34503c, versus 2.36:1 for black — AAA at any size.

What is the complementary color of #34503c?

#503448 sits directly opposite on the wheel. Softer options are the split-complements #4A3450 and #50343A, which give the same contrast with far less vibration.

What colors go well with #34503c?

For interface work: #F6F9F7 as the surface, #CEDFD2 for borders, #5A8B68 for secondary text, #533152 as an accent and #324D3A for hover and pressed states. For a palette, the analogous pair #3A5034 and #34504A stays calm, while #503448 is the loudest partner.

What is #34503c in CMYK for printing?

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

Is #34503c warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #365034; nudged cooler, #335147.

Work with #34503c in the Color Lab