Skip to content

#17512e

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

RGB
23, 81, 46
HSL
144°, 56%, 20%
CMYK
72, 0, 43, 68
Luminance
0.0626

At a glance

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

Hex
#17512e
Hue
144°
green
Saturation
56%
vivid
Lightness
20%
deep
Brightness
32%
HSV value
Perceived
26%
weighted brightness
Luminance
0.0626
WCAG relative
Temperature
Cool
72/100 cool
Color family
Green
Tone
Vivid
Best ink
White
9.32:1
Closest name
Dark Green
ΔE2000 12.1
Where it sits
Hue144° of 360°
Saturation56%
Lightness20%
Temperature
Warm ← → Cool72% 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#17512e
RGBrgb(23, 81, 46)
HSLhsl(144, 56%, 20%)
CMYKcmyk(72%, 0%, 43%, 68%)
LABlab(30.1 -27.8 15.3)
LCHlch(30.1 31.7 151.2)
OKLCHoklch(0.388 0.084 153.1)
Decimal1528110
Display P3color(display-p3 0.090 0.318 0.180)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#17512e on white: 9.32:1
AA ✓ pass · AA-large · AAA
Aa
#17512e on black: 2.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #514A2C
deuteranopia · #4A4530
tritanopia · #005048

Color scale — 50 to 950

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

#F4FBF7
#E9F6EE
#CEEEDA
#A8E6C0
#7CDAA1
#50CD82
#36BF6C
#2D9F5A
#247F48
#17512e
#133A22
Base = 900Lightest = 50 · #F4FBF7Darkest = 950 · #133A22
:root {
  --brand-50: #F4FBF7;
  --brand-100: #E9F6EE;
  --brand-200: #CEEEDA;
  --brand-300: #A8E6C0;
  --brand-400: #7CDAA1;
  --brand-500: #50CD82;
  --brand-600: #36BF6C;
  --brand-700: #2D9F5A;
  --brand-800: #247F48;
  --brand-900: #17512e;
  --brand-950: #133A22;
  --brand: #17512e;
  --brand-ink: #ffffff;
}

Colors that work with #17512e

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#F4FAF7
Tinted page background
Border#C0EDD2
Hairlines and dividers
Muted text#4B9B6A
Captions on the surface
Accent#53154A
Second voice, not a rival
Dark variant#1C6338
Hover, pressed, headers
Light variant#EBF9F1
Selected rows, tints
Dark surface#14241A
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 #17512e

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#51173A
Analogous left#1D5117
Analogous right#17514B
Split-complement 1#4B1751
Split-complement 2#51171D
Triadic 1#2E1751
Triadic 2#512E17
Tetradic#171D51

RGB percentages

Red9.0%
Green31.8%
Blue18.0%

CMYK percentages

Cyan71.6%
Magenta0.0%
Yellow43.2%
Key (black)68.2%

Color previews

#17512e text on a black background

contrast 2.25:1

Card sample

#17512e text on a white background

contrast 9.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #17512e;
Background color
Panel with #17512e background
background-color: #17512e;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #17512e;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(23, 81, 46, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 81, 46, 0.45);
Border & gradient
Gradient panel
border: 3px solid #17512e;
background: linear-gradient(135deg, #17512e, #174D51);

Monochromatic scale

Palettes built from #17512e

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.

#17512e 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.

#17512e, answered

What color is #17512e?

#17512e is a deep vivid green, closest to Dark Green (ΔE2000 12.1). It sits at 144° on the hue wheel with 56% saturation and 20% lightness, which reads as cool.

What is the RGB value of #17512e?

rgb(23, 81, 46) — 23 red, 81 green and 46 blue out of 255, or 9% / 31.8% / 18% by channel.

Is #17512e a light or a dark color?

It is a dark color. Relative luminance is 0.0626 and perceived brightness is 26%, so white text on it reaches 9.32:1.

Should I use black or white text on #17512e?

White. It scores 9.32:1 against #17512e, versus 2.25:1 for black — AAA at any size.

What is the complementary color of #17512e?

#51173A sits directly opposite on the wheel. Softer options are the split-complements #4B1751 and #51171D, which give the same contrast with far less vibration.

What colors go well with #17512e?

For interface work: #F4FAF7 as the surface, #C0EDD2 for borders, #4B9B6A for secondary text, #53154A as an accent and #1C6338 for hover and pressed states. For a palette, the analogous pair #1D5117 and #17514B stays calm, while #51173A is the loudest partner.

What is #17512e in CMYK for printing?

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

Is #17512e warm or cool?

Cool — it scores 72 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #175119; nudged cooler, #165244.

Work with #17512e in the Color Lab