Skip to content

#175b2b

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

RGB
23, 91, 43
HSL
138°, 60%, 22%
CMYK
75, 0, 53, 64
Luminance
0.0784

At a glance

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

Hex
#175b2b
Hue
138°
green
Saturation
60%
vivid
Lightness
22%
deep
Brightness
36%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0784
WCAG relative
Temperature
Cool
70/100 cool
Color family
Green
Tone
Vivid
Best ink
White
8.18:1
Closest name
Dark Green
ΔE2000 8.1
Where it sits
Hue138° 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#175b2b
RGBrgb(23, 91, 43)
HSLhsl(138, 60%, 22%)
CMYKcmyk(75%, 0%, 53%, 64%)
LABlab(33.6 -32.7 21.6)
LCHlch(33.6 39.2 146.5)
OKLCHoklch(0.417 0.103 149.1)
Decimal1530667
Display P3color(display-p3 0.090 0.357 0.169)

Copy-ready code

/* CSS */
color: #175b2b;
background-color: #175b2b;
/* Tailwind (arbitrary) */
class="text-[#175b2b] bg-[#175b2b]"
/* SCSS */
$brand: #175b2b;
/* SwiftUI */
Color(red: 0.090, green: 0.357, blue: 0.169)
/* Android */
Color.parseColor("#175b2b")
/* Flutter */
Color(0xFF175B2B)
/* Python / OpenCV (BGR) */
(43, 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 #175b2b · 8.18:1
Use #ffffffAAA at every size.
Aa
White text · 8.18: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: #175b2b as text scores 8.18:1 on white and 2.57:1 on black.

Accessibility — WCAG contrast

Aa
#175b2b on white: 8.18:1
AA ✓ pass · AA-large · AAA
Aa
#175b2b on black: 2.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5C5327
deuteranopia · #544D2E
tritanopia · #005950

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #175b2b 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
#A5E8B9
#79DD96
#4CD273
#31C35C
#29A34D
#21823D
#175b2b
#113B1E
Base = 900Lightest = 50 · #F4FBF6Darkest = 950 · #113B1E
:root {
  --brand-50: #F4FBF6;
  --brand-100: #E9F7ED;
  --brand-200: #CCEFD7;
  --brand-300: #A5E8B9;
  --brand-400: #79DD96;
  --brand-500: #4CD273;
  --brand-600: #31C35C;
  --brand-700: #29A34D;
  --brand-800: #21823D;
  --brand-900: #175b2b;
  --brand-950: #113B1E;
  --brand: #175b2b;
  --brand-ink: #ffffff;
}

Colors that work with #175b2b

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#C0EDCD
Hairlines and dividers
Muted text#4B9B62
Captions on the surface
Accent#5D155A
Second voice, not a rival
Dark variant#1A6630
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 #175b2b

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#5B1747
Analogous left#255B17
Analogous right#175B4D
Split-complement 1#4D175B
Split-complement 2#5B1725
Triadic 1#2B175B
Triadic 2#5B2B17
Tetradic#17255B

RGB percentages

Red9.0%
Green35.7%
Blue16.9%

CMYK percentages

Cyan74.7%
Magenta0.0%
Yellow52.7%
Key (black)64.3%

Color previews

#175b2b text on a black background

contrast 2.57:1

Card sample

#175b2b text on a white background

contrast 8.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #175b2b

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.

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

#175b2b, answered

What color is #175b2b?

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

What is the RGB value of #175b2b?

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

Is #175b2b a light or a dark color?

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

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

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

What is the complementary color of #175b2b?

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

What colors go well with #175b2b?

For interface work: #F4FAF6 as the surface, #C0EDCD for borders, #4B9B62 for secondary text, #5D155A as an accent and #1A6630 for hover and pressed states. For a palette, the analogous pair #255B17 and #175B4D stays calm, while #5B1747 is the loudest partner.

What is #175b2b in CMYK for printing?

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

Is #175b2b 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 #1C5B17; nudged cooler, #165C44.

Work with #175b2b in the Color Lab