Skip to content

#17541b

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

RGB
23, 84, 27
HSL
124°, 57%, 21%
CMYK
73, 0, 68, 67
Luminance
0.0660

At a glance

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

Hex
#17541b
Hue
124°
green
Saturation
57%
vivid
Lightness
21%
deep
Brightness
33%
HSV value
Perceived
26%
weighted brightness
Luminance
0.0660
WCAG relative
Temperature
Cool
64/100 cool
Color family
Green
Tone
Vivid
Best ink
White
9.05:1
Closest name
Dark Green
ΔE2000 7.2
Where it sits
Hue124° of 360°
Saturation57%
Lightness21%
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#17541b
RGBrgb(23, 84, 27)
HSLhsl(124, 57%, 21%)
CMYKcmyk(73%, 0%, 68%, 67%)
LABlab(30.9 -32.3 27.1)
LCHlch(30.9 42.1 140.0)
OKLCHoklch(0.393 0.108 144.1)
Decimal1528859
Display P3color(display-p3 0.090 0.329 0.106)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#17541b on white: 9.05:1
AA ✓ pass · AA-large · AAA
Aa
#17541b on black: 2.32:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #564C14
deuteranopia · #4E4720
tritanopia · #075248

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #17541b 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
#CDEECF
#A7E7AB
#7BDB81
#4FCF57
#35C03E
#2CA033
#238029
#17541b
#123A15
Base = 900Lightest = 50 · #F4FBF4Darkest = 950 · #123A15
:root {
  --brand-50: #F4FBF4;
  --brand-100: #E9F7EA;
  --brand-200: #CDEECF;
  --brand-300: #A7E7AB;
  --brand-400: #7BDB81;
  --brand-500: #4FCF57;
  --brand-600: #35C03E;
  --brand-700: #2CA033;
  --brand-800: #238029;
  --brand-900: #17541b;
  --brand-950: #123A15;
  --brand: #17541b;
  --brand-ink: #ffffff;
}

Colors that work with #17541b

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#4A1556
Second voice, not a rival
Dark variant#1B6420
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 #17541b

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#541750
Analogous left#325417
Analogous right#17543A
Split-complement 1#3A1754
Split-complement 2#541732
Triadic 1#1B1754
Triadic 2#541B17
Tetradic#173254

RGB percentages

Red9.0%
Green32.9%
Blue10.6%

CMYK percentages

Cyan72.6%
Magenta0.0%
Yellow67.9%
Key (black)67.1%

Color previews

#17541b text on a black background

contrast 2.32:1

Card sample

#17541b text on a white background

contrast 9.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #17541b;
Background color
Panel with #17541b background
background-color: #17541b;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #17541b;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(23, 84, 27, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 84, 27, 0.45);
Border & gradient
Gradient panel
border: 3px solid #17541b;
background: linear-gradient(135deg, #17541b, #175444);

Monochromatic scale

Palettes built from #17541b

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.

#17541b 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.

#17541b, answered

What color is #17541b?

#17541b is a deep vivid green, closest to Dark Green (ΔE2000 7.2). It sits at 124° on the hue wheel with 57% saturation and 21% lightness, which reads as cool.

What is the RGB value of #17541b?

rgb(23, 84, 27) — 23 red, 84 green and 27 blue out of 255, or 9% / 32.9% / 10.6% by channel.

Is #17541b a light or a dark color?

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

Should I use black or white text on #17541b?

White. It scores 9.05:1 against #17541b, versus 2.32:1 for black — AAA at any size.

What is the complementary color of #17541b?

#541750 sits directly opposite on the wheel. Softer options are the split-complements #3A1754 and #541732, which give the same contrast with far less vibration.

What colors go well with #17541b?

For interface work: #F4FAF5 as the surface, #C0EDC3 for borders, #4B9B50 for secondary text, #4A1556 as an accent and #1B6420 for hover and pressed states. For a palette, the analogous pair #325417 and #17543A stays calm, while #541750 is the loudest partner.

What is #17541b in CMYK for printing?

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

Is #17541b 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 #295417; nudged cooler, #165531.

Work with #17541b in the Color Lab