Skip to content

#175c1c

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

RGB
23, 92, 28
HSL
124°, 60%, 23%
CMYK
75, 0, 70, 64
Luminance
0.0792

At a glance

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

Hex
#175c1c
Hue
124°
green
Saturation
60%
vivid
Lightness
23%
deep
Brightness
36%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0792
WCAG relative
Temperature
Cool
64/100 cool
Color family
Green
Tone
Vivid
Best ink
White
8.13:1
Closest name
Dark Green
ΔE2000 4.9
Where it sits
Hue124° of 360°
Saturation60%
Lightness23%
Temperature
Warm ← → Cool64% 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#175c1c
RGBrgb(23, 92, 28)
HSLhsl(124, 60%, 23%)
CMYKcmyk(75%, 0%, 70%, 64%)
LABlab(33.8 -35.3 29.9)
LCHlch(33.8 46.3 139.8)
OKLCHoklch(0.418 0.118 144.1)
Decimal1530908
Display P3color(display-p3 0.090 0.361 0.110)

Copy-ready code

/* CSS */
color: #175c1c;
background-color: #175c1c;
/* Tailwind (arbitrary) */
class="text-[#175c1c] bg-[#175c1c]"
/* SCSS */
$brand: #175c1c;
/* SwiftUI */
Color(red: 0.090, green: 0.361, blue: 0.110)
/* Android */
Color.parseColor("#175c1c")
/* Flutter */
Color(0xFF175C1C)
/* Python / OpenCV (BGR) */
(28, 92, 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 #175c1c · 8.13:1
Use #ffffffAAA at every size.
Aa
White text · 8.13:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.58:1
AA fail · AA large fail · AAA fail
Reading the other direction: #175c1c as text scores 8.13:1 on white and 2.58:1 on black.

Accessibility — WCAG contrast

Aa
#175c1c on white: 8.13:1
AA ✓ pass · AA-large · AAA
Aa
#175c1c on black: 2.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5E5314
deuteranopia · #564D22
tritanopia · #02594F

Color scale — 50 to 950

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

#F4FBF4
#E9F7EA
#CCEFCF
#A5E9AA
#78DD80
#4BD255
#31C43B
#29A332
#218328
#175c1c
#113B14
Base = 900Lightest = 50 · #F4FBF4Darkest = 950 · #113B14
:root {
  --brand-50: #F4FBF4;
  --brand-100: #E9F7EA;
  --brand-200: #CCEFCF;
  --brand-300: #A5E9AA;
  --brand-400: #78DD80;
  --brand-500: #4BD255;
  --brand-600: #31C43B;
  --brand-700: #29A332;
  --brand-800: #218328;
  --brand-900: #175c1c;
  --brand-950: #113B14;
  --brand: #175c1c;
  --brand-ink: #ffffff;
}

Colors that work with #175c1c

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#F4FAF5
Tinted page background
Border#C0EDC3
Hairlines and dividers
Muted text#4B9B50
Captions on the surface
Accent#51155E
Second voice, not a rival
Dark variant#1A661F
Hover, pressed, headers
Light variant#EBFAEC
Selected rows, tints
Dark surface#142415
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 #175c1c

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#5C1757
Analogous left#345C17
Analogous right#175C3E
Split-complement 1#3E175C
Split-complement 2#5C1734
Triadic 1#1C175C
Triadic 2#5C1C17
Tetradic#17345C

RGB percentages

Red9.0%
Green36.1%
Blue11.0%

CMYK percentages

Cyan75.0%
Magenta0.0%
Yellow69.6%
Key (black)63.9%

Color previews

#175c1c text on a black background

contrast 2.58:1

Card sample

#175c1c text on a white background

contrast 8.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #175c1c

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.

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

#175c1c, answered

What color is #175c1c?

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

What is the RGB value of #175c1c?

rgb(23, 92, 28) — 23 red, 92 green and 28 blue out of 255, or 9% / 36.1% / 11% by channel.

Is #175c1c a light or a dark color?

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

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

White. It scores 8.13:1 against #175c1c, versus 2.58:1 for black — AAA at any size.

What is the complementary color of #175c1c?

#5C1757 sits directly opposite on the wheel. Softer options are the split-complements #3E175C and #5C1734, which give the same contrast with far less vibration.

What colors go well with #175c1c?

For interface work: #F4FAF5 as the surface, #C0EDC3 for borders, #4B9B50 for secondary text, #51155E as an accent and #1A661F for hover and pressed states. For a palette, the analogous pair #345C17 and #175C3E stays calm, while #5C1757 is the loudest partner.

What is #175c1c in CMYK for printing?

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

Is #175c1c warm or cool?

Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2B5C17; nudged cooler, #165D35.

Work with #175c1c in the Color Lab