#173b13
a deep, vivid green · cool · closest name: Dark Green
At a glance
Every number on this page in one read: what #173b13 is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #173b13 |
| RGB | rgb(23, 59, 19) |
| HSL | hsl(114, 51%, 15%) |
| CMYK | cmyk(61%, 0%, 68%, 77%) |
| LAB | lab(21.4 -22.5 20.6) |
| LCH | lch(21.4 30.4 137.5) |
| OKLCH | oklch(0.315 0.078 141.7) |
| Decimal | 1522451 |
| Display P3 | color(display-p3 0.090 0.231 0.075) |
Copy-ready code
/* CSS */
color: #173b13;
background-color: #173b13;
/* Tailwind (arbitrary) */
class="text-[#173b13] bg-[#173b13]"
/* SCSS */
$brand: #173b13;
/* SwiftUI */
Color(red: 0.090, green: 0.231, blue: 0.075)
/* Android */
Color.parseColor("#173b13")
/* Flutter */
Color(0xFF173B13)
/* Python / OpenCV (BGR) */
(19, 59, 23)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #173b13 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F5FAF4;
--brand-100: #EBF6EA;
--brand-200: #D2EDCF;
--brand-300: #B0E4AA;
--brand-400: #88D680;
--brand-500: #61C855;
--brand-600: #48B93C;
--brand-700: #3C9A32;
--brand-800: #307B28;
--brand-900: #265A20;
--brand-950: #173b13;
--brand: #173b13;
--brand-ink: #ffffff;
}Colors that work with #173b13
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #173b13
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | #37133B | Directly opposite — maximum tension | |
| Analogous left | #2B3B13 | Neighbour, quieter | |
| Analogous right | #133B23 | Neighbour, quieter | |
| Split-complement 1 | #23133B | Contrast without the clash | |
| Split-complement 2 | #3B132B | Contrast without the clash | |
| Triadic 1 | #13173B | Even thirds — balanced and loud | |
| Triadic 2 | #3B1317 | Even thirds — balanced and loud | |
| Tetradic | #132B3B | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#173b13 text on a black background
contrast 1.67:1
#173b13 text on a white background
contrast 12.56:1
CSS3 live lab
The quick brown fox
color: #173b13;
background-color: #173b13;
Glowing headline
text-shadow: 2px 2px 8px #173b13;
Soft neon halo
text-shadow: 0 0 14px rgba(23, 59, 19, 0.45);
box-shadow: 0 12px 32px -8px rgba(23, 59, 19, 0.45);
border: 3px solid #173b13; background: linear-gradient(135deg, #173b13, #133B2A);
Monochromatic scale
Palettes built from #173b13
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.
Closest color with a full write-up: Hunter Green (#355e3b) — ΔE2000 11.5 away, with its history, psychology and brand usage.
#173b13 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#173b13, answered
What color is #173b13?
#173b13 is a deep vivid green, closest to Dark Green (ΔE2000 15). It sits at 114° on the hue wheel with 51% saturation and 15% lightness, which reads as cool.
What is the RGB value of #173b13?
rgb(23, 59, 19) — 23 red, 59 green and 19 blue out of 255, or 9% / 23.1% / 7.5% by channel.
Is #173b13 a light or a dark color?
It is a dark color. Relative luminance is 0.0336 and perceived brightness is 19%, so white text on it reaches 12.56:1.
Should I use black or white text on #173b13?
White. It scores 12.56:1 against #173b13, versus 1.67:1 for black — AAA at any size.
What is the complementary color of #173b13?
#37133B sits directly opposite on the wheel. Softer options are the split-complements #23133B and #3B132B, which give the same contrast with far less vibration.
What colors go well with #173b13?
For interface work: #F5FAF4 as the surface, #C5EBC1 for borders, #539B4B for secondary text, #2D113D as an accent and #26601F for hover and pressed states. For a palette, the analogous pair #2B3B13 and #133B23 stays calm, while #37133B is the loudest partner.
What is #173b13 in CMYK for printing?
cmyk(61%, 0%, 68%, 77%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #173b13 warm or cool?
Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #263B13; nudged cooler, #123C1D.