Skip to content

#175d21

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

RGB
23, 93, 33
HSL
129°, 60%, 23%
CMYK
75, 0, 65, 64
Luminance
0.0812

At a glance

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

Hex
#175d21
Hue
129°
green
Saturation
60%
vivid
Lightness
23%
deep
Brightness
36%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0812
WCAG relative
Temperature
Cool
66/100 cool
Color family
Green
Tone
Vivid
Best ink
White
8.00:1
Closest name
Dark Green
ΔE2000 5.5
Where it sits
Hue129° of 360°
Saturation60%
Lightness23%
Temperature
Warm ← → Cool66% 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#175d21
RGBrgb(23, 93, 33)
HSLhsl(129, 60%, 23%)
CMYKcmyk(75%, 0%, 65%, 64%)
LABlab(34.2 -35.1 27.8)
LCHlch(34.2 44.8 141.6)
OKLCHoklch(0.421 0.115 145.4)
Decimal1531169
Display P3color(display-p3 0.090 0.365 0.129)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#175d21 on white: 8.00:1
AA ✓ pass · AA-large · AAA
Aa
#175d21 on black: 2.62:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5F541B
deuteranopia · #564E26
tritanopia · #005B50

Color scale — 50 to 950

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

#F4FBF5
#E9F7EB
#CCEFD1
#A5E9AF
#78DE87
#4BD25F
#31C446
#28A43A
#20832F
#175d21
#113B17
Base = 900Lightest = 50 · #F4FBF5Darkest = 950 · #113B17
:root {
  --brand-50: #F4FBF5;
  --brand-100: #E9F7EB;
  --brand-200: #CCEFD1;
  --brand-300: #A5E9AF;
  --brand-400: #78DE87;
  --brand-500: #4BD25F;
  --brand-600: #31C446;
  --brand-700: #28A43A;
  --brand-800: #20832F;
  --brand-900: #175d21;
  --brand-950: #113B17;
  --brand: #175d21;
  --brand-ink: #ffffff;
}

Colors that work with #175d21

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#C0EDC6
Hairlines and dividers
Muted text#4B9B56
Captions on the surface
Accent#57155F
Second voice, not a rival
Dark variant#196624
Hover, pressed, headers
Light variant#EBFAED
Selected rows, tints
Dark surface#142416
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 #175d21

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#5D1753
Analogous left#305D17
Analogous right#175D44
Split-complement 1#44175D
Split-complement 2#5D1730
Triadic 1#21175D
Triadic 2#5D2117
Tetradic#17305D

RGB percentages

Red9.0%
Green36.5%
Blue12.9%

CMYK percentages

Cyan75.3%
Magenta0.0%
Yellow64.5%
Key (black)63.5%

Color previews

#175d21 text on a black background

contrast 2.62:1

Card sample

#175d21 text on a white background

contrast 8.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #175d21

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.

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

#175d21, answered

What color is #175d21?

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

What is the RGB value of #175d21?

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

Is #175d21 a light or a dark color?

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

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

White. It scores 8.00:1 against #175d21, versus 2.62:1 for black — AAA at any size.

What is the complementary color of #175d21?

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

What colors go well with #175d21?

For interface work: #F4FAF5 as the surface, #C0EDC6 for borders, #4B9B56 for secondary text, #57155F as an accent and #196624 for hover and pressed states. For a palette, the analogous pair #305D17 and #175D44 stays calm, while #5D1753 is the loudest partner.

What is #175d21 in CMYK for printing?

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

Is #175d21 warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #275D17; nudged cooler, #165E3B.

Work with #175d21 in the Color Lab