Skip to content

#304539

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

RGB
48, 69, 57
HSL
146°, 18%, 23%
CMYK
30, 0, 17, 73
Luminance
0.0518

At a glance

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

Hex
#304539
Hue
146°
green
Saturation
18%
soft
Lightness
23%
deep
Brightness
27%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0518
WCAG relative
Temperature
Cool
62/100 cool
Color family
Green
Tone
Soft
Best ink
White
10.31:1
Closest name
Dark Slate Gray
ΔE2000 7.3
Where it sits
Hue146° of 360°
Saturation18%
Lightness23%
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#304539
RGBrgb(48, 69, 57)
HSLhsl(146, 18%, 23%)
CMYKcmyk(30%, 0%, 17%, 73%)
LABlab(27.2 -11.2 4.6)
LCHlch(27.2 12.2 157.7)
OKLCHoklch(0.369 0.034 159.2)
Decimal3163449
Display P3color(display-p3 0.188 0.271 0.224)

Copy-ready code

/* CSS */
color: #304539;
background-color: #304539;
/* Tailwind (arbitrary) */
class="text-[#304539] bg-[#304539]"
/* SCSS */
$brand: #304539;
/* SwiftUI */
Color(red: 0.188, green: 0.271, blue: 0.224)
/* Android */
Color.parseColor("#304539")
/* Flutter */
Color(0xFF304539)
/* Python / OpenCV (BGR) */
(57, 69, 48)

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

Accessibility — WCAG contrast

Aa
#304539 on white: 10.31:1
AA ✓ pass · AA-large · AAA
Aa
#304539 on black: 2.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #454238
deuteranopia · #413F3A
tritanopia · #2C4542

Color scale — 50 to 950

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

#F6F8F7
#EEF2EF
#D9E3DD
#BDD1C5
#9CBAA9
#7BA38C
#649077
#547863
#436050
#304539
#202D25
Base = 900Lightest = 50 · #F6F8F7Darkest = 950 · #202D25
:root {
  --brand-50: #F6F8F7;
  --brand-100: #EEF2EF;
  --brand-200: #D9E3DD;
  --brand-300: #BDD1C5;
  --brand-400: #9CBAA9;
  --brand-500: #7BA38C;
  --brand-600: #649077;
  --brand-700: #547863;
  --brand-800: #436050;
  --brand-900: #304539;
  --brand-950: #202D25;
  --brand: #304539;
  --brand-ink: #ffffff;
}

Colors that work with #304539

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#CFDED5
Hairlines and dividers
Muted text#5E8770
Captions on the surface
Accent#472E43
Second voice, not a rival
Dark variant#344B3E
Hover, pressed, headers
Light variant#F0F5F2
Selected rows, tints
Dark surface#17211B
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 #304539

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#45303C
Analogous left#314530
Analogous right#304543
Split-complement 1#433045
Split-complement 2#453031
Triadic 1#393045
Triadic 2#453930
Tetradic#303145

RGB percentages

Red18.8%
Green27.1%
Blue22.4%

CMYK percentages

Cyan30.4%
Magenta0.0%
Yellow17.4%
Key (black)72.9%

Color previews

#304539 text on a black background

contrast 2.04:1

Card sample

#304539 text on a white background

contrast 10.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(48, 69, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 69, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #304539;
background: linear-gradient(135deg, #304539, #304345);

Monochromatic scale

Palettes built from #304539

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.

#304539 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.

#304539, answered

What color is #304539?

#304539 is a deep soft green, closest to Dark Slate Gray (ΔE2000 7.3). It sits at 146° on the hue wheel with 18% saturation and 23% lightness, which reads as cool.

What is the RGB value of #304539?

rgb(48, 69, 57) — 48 red, 69 green and 57 blue out of 255, or 18.8% / 27.1% / 22.4% by channel.

Is #304539 a light or a dark color?

It is a dark color. Relative luminance is 0.0518 and perceived brightness is 24%, so white text on it reaches 10.31:1.

Should I use black or white text on #304539?

White. It scores 10.31:1 against #304539, versus 2.04:1 for black — AAA at any size.

What is the complementary color of #304539?

#45303C sits directly opposite on the wheel. Softer options are the split-complements #433045 and #453031, which give the same contrast with far less vibration.

What colors go well with #304539?

For interface work: #F6F9F7 as the surface, #CFDED5 for borders, #5E8770 for secondary text, #472E43 as an accent and #344B3E for hover and pressed states. For a palette, the analogous pair #314530 and #304543 stays calm, while #45303C is the loudest partner.

What is #304539 in CMYK for printing?

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

Is #304539 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 #304531; nudged cooler, #2F4641.

Work with #304539 in the Color Lab