Skip to content

#175d15

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

RGB
23, 93, 21
HSL
118°, 63%, 22%
CMYK
75, 0, 77, 64
Luminance
0.0807

At a glance

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

Hex
#175d15
Hue
118°
green
Saturation
63%
vivid
Lightness
22%
deep
Brightness
36%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0807
WCAG relative
Temperature
Cool
62/100 cool
Color family
Green
Tone
Vivid
Best ink
White
8.04:1
Closest name
Dark Green
ΔE2000 3.6
Where it sits
Hue118° of 360°
Saturation63%
Lightness22%
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#175d15
RGBrgb(23, 93, 21)
HSLhsl(118, 63%, 22%)
CMYKcmyk(75%, 0%, 77%, 64%)
LABlab(34.1 -36.5 33.3)
LCHlch(34.1 49.4 137.6)
OKLCHoklch(0.420 0.125 142.6)
Decimal1531157
Display P3color(display-p3 0.090 0.365 0.082)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#175d15 on white: 8.04:1
AA ✓ pass · AA-large · AAA
Aa
#175d15 on black: 2.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5F5409
deuteranopia · #574E1C
tritanopia · #035A4F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #175d15 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
#E9F7E8
#CCF0CB
#A5EAA3
#79E076
#4CD648
#31C82D
#29A626
#21851E
#175d15
#113C10
Base = 900Lightest = 50 · #F4FBF4Darkest = 950 · #113C10
:root {
  --brand-50: #F4FBF4;
  --brand-100: #E9F7E8;
  --brand-200: #CCF0CB;
  --brand-300: #A5EAA3;
  --brand-400: #79E076;
  --brand-500: #4CD648;
  --brand-600: #31C82D;
  --brand-700: #29A626;
  --brand-800: #21851E;
  --brand-900: #175d15;
  --brand-950: #113C10;
  --brand: #175d15;
  --brand-ink: #ffffff;
}

Colors that work with #175d15

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#F4FAF4
Tinted page background
Border#C1EDC0
Hairlines and dividers
Muted text#4D9B4B
Captions on the surface
Accent#4A1360
Second voice, not a rival
Dark variant#1A6817
Hover, pressed, headers
Light variant#EBFAEA
Selected rows, tints
Dark surface#142414
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 #175d15

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#5B155D
Analogous left#3B5D15
Analogous right#155D37
Split-complement 1#37155D
Split-complement 2#5D153B
Triadic 1#15175D
Triadic 2#5D1517
Tetradic#153B5D

RGB percentages

Red9.0%
Green36.5%
Blue8.2%

CMYK percentages

Cyan75.3%
Magenta0.0%
Yellow77.4%
Key (black)63.5%

Color previews

#175d15 text on a black background

contrast 2.61:1

Card sample

#175d15 text on a white background

contrast 8.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(23, 93, 21, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 93, 21, 0.45);
Border & gradient
Gradient panel
border: 3px solid #175d15;
background: linear-gradient(135deg, #175d15, #155D43);

Monochromatic scale

Palettes built from #175d15

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.

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

#175d15, answered

What color is #175d15?

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

What is the RGB value of #175d15?

rgb(23, 93, 21) — 23 red, 93 green and 21 blue out of 255, or 9% / 36.5% / 8.2% by channel.

Is #175d15 a light or a dark color?

It is a dark color. Relative luminance is 0.0807 and perceived brightness is 29%, so white text on it reaches 8.04:1.

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

White. It scores 8.04:1 against #175d15, versus 2.61:1 for black — AAA at any size.

What is the complementary color of #175d15?

#5B155D sits directly opposite on the wheel. Softer options are the split-complements #37155D and #5D153B, which give the same contrast with far less vibration.

What colors go well with #175d15?

For interface work: #F4FAF4 as the surface, #C1EDC0 for borders, #4D9B4B for secondary text, #4A1360 as an accent and #1A6817 for hover and pressed states. For a palette, the analogous pair #3B5D15 and #155D37 stays calm, while #5B155D is the loudest partner.

What is #175d15 in CMYK for printing?

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

Is #175d15 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 #325D15; nudged cooler, #145E2D.

Work with #175d15 in the Color Lab