Skip to content

#175b2c

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

RGB
23, 91, 44
HSL
139°, 60%, 22%
CMYK
75, 0, 52, 64
Luminance
0.0785

At a glance

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

Hex
#175b2c
Hue
139°
green
Saturation
60%
vivid
Lightness
22%
deep
Brightness
36%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0785
WCAG relative
Temperature
Cool
70/100 cool
Color family
Green
Tone
Vivid
Best ink
White
8.17:1
Closest name
Dark Green
ΔE2000 8.3
Where it sits
Hue139° of 360°
Saturation60%
Lightness22%
Temperature
Warm ← → Cool70% 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#175b2c
RGBrgb(23, 91, 44)
HSLhsl(139, 60%, 22%)
CMYKcmyk(75%, 0%, 52%, 64%)
LABlab(33.7 -32.5 21.1)
LCHlch(33.7 38.8 147.0)
OKLCHoklch(0.417 0.102 149.6)
Decimal1530668
Display P3color(display-p3 0.090 0.357 0.173)

Copy-ready code

/* CSS */
color: #175b2c;
background-color: #175b2c;
/* Tailwind (arbitrary) */
class="text-[#175b2c] bg-[#175b2c]"
/* SCSS */
$brand: #175b2c;
/* SwiftUI */
Color(red: 0.090, green: 0.357, blue: 0.173)
/* Android */
Color.parseColor("#175b2c")
/* Flutter */
Color(0xFF175B2C)
/* Python / OpenCV (BGR) */
(44, 91, 23)

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

Accessibility — WCAG contrast

Aa
#175b2c on white: 8.17:1
AA ✓ pass · AA-large · AAA
Aa
#175b2c on black: 2.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5C5328
deuteranopia · #534D2F
tritanopia · #005950

Color scale — 50 to 950

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

#F4FBF6
#E9F7ED
#CCEFD7
#A5E8BA
#79DD98
#4CD275
#31C35E
#29A34F
#21823F
#175b2c
#113B1E
Base = 900Lightest = 50 · #F4FBF6Darkest = 950 · #113B1E
:root {
  --brand-50: #F4FBF6;
  --brand-100: #E9F7ED;
  --brand-200: #CCEFD7;
  --brand-300: #A5E8BA;
  --brand-400: #79DD98;
  --brand-500: #4CD275;
  --brand-600: #31C35E;
  --brand-700: #29A34F;
  --brand-800: #21823F;
  --brand-900: #175b2c;
  --brand-950: #113B1E;
  --brand: #175b2c;
  --brand-ink: #ffffff;
}

Colors that work with #175b2c

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#F4FAF6
Tinted page background
Border#C0EDCE
Hairlines and dividers
Muted text#4B9B63
Captions on the surface
Accent#5D1559
Second voice, not a rival
Dark variant#1A6631
Hover, pressed, headers
Light variant#EBFAEF
Selected rows, tints
Dark surface#142419
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 #175b2c

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#5B1746
Analogous left#245B17
Analogous right#175B4E
Split-complement 1#4E175B
Split-complement 2#5B1724
Triadic 1#2C175B
Triadic 2#5B2C17
Tetradic#17245B

RGB percentages

Red9.0%
Green35.7%
Blue17.3%

CMYK percentages

Cyan74.7%
Magenta0.0%
Yellow51.6%
Key (black)64.3%

Color previews

#175b2c text on a black background

contrast 2.57:1

Card sample

#175b2c text on a white background

contrast 8.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(23, 91, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 91, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #175b2c;
background: linear-gradient(135deg, #175b2c, #175B59);

Monochromatic scale

Palettes built from #175b2c

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.

#175b2c 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.

#175b2c, answered

What color is #175b2c?

#175b2c is a deep vivid green, closest to Dark Green (ΔE2000 8.3). It sits at 139° on the hue wheel with 60% saturation and 22% lightness, which reads as cool.

What is the RGB value of #175b2c?

rgb(23, 91, 44) — 23 red, 91 green and 44 blue out of 255, or 9% / 35.7% / 17.3% by channel.

Is #175b2c a light or a dark color?

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

Should I use black or white text on #175b2c?

White. It scores 8.17:1 against #175b2c, versus 2.57:1 for black — AAA at any size.

What is the complementary color of #175b2c?

#5B1746 sits directly opposite on the wheel. Softer options are the split-complements #4E175B and #5B1724, which give the same contrast with far less vibration.

What colors go well with #175b2c?

For interface work: #F4FAF6 as the surface, #C0EDCE for borders, #4B9B63 for secondary text, #5D1559 as an accent and #1A6631 for hover and pressed states. For a palette, the analogous pair #245B17 and #175B4E stays calm, while #5B1746 is the loudest partner.

What is #175b2c in CMYK for printing?

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

Is #175b2c warm or cool?

Cool — it scores 70 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1B5B17; nudged cooler, #165C45.

Work with #175b2c in the Color Lab