Skip to content

#175c06

a deep, electric green · neutral · closest name: Dark Green

RGB
23, 92, 6
HSL
108°, 88%, 19%
CMYK
75, 0, 94, 64
Luminance
0.0785

At a glance

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

Hex
#175c06
Hue
108°
green
Saturation
88%
electric
Lightness
19%
deep
Brightness
36%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0785
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Green
Tone
Electric
Best ink
White
8.17:1
Closest name
Dark Green
ΔE2000 3
Where it sits
Hue108° of 360°
Saturation88%
Lightness19%
Temperature
Warm ← → Cool58% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#175c06
RGBrgb(23, 92, 6)
HSLhsl(108, 88%, 19%)
CMYKcmyk(75%, 0%, 94%, 64%)
LABlab(33.7 -37.1 38.1)
LCHlch(33.7 53.2 134.3)
OKLCHoklch(0.416 0.131 140.7)
Decimal1530886
Display P3color(display-p3 0.090 0.361 0.024)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#175c06 on white: 8.17:1
AA ✓ pass · AA-large · AAA
Aa
#175c06 on black: 2.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5F5200
deuteranopia · #574D12
tritanopia · #07594D

Color scale — 50 to 950

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

#F4FDF2
#E9FAE5
#CEF8C4
#A9F896
#7EF561
#53F12C
#3AE60F
#30C00C
#26990A
#1F6F0C
#175c06
Base = 950Lightest = 50 · #F4FDF2Darkest = 950 · #175c06
:root {
  --brand-50: #F4FDF2;
  --brand-100: #E9FAE5;
  --brand-200: #CEF8C4;
  --brand-300: #A9F896;
  --brand-400: #7EF561;
  --brand-500: #53F12C;
  --brand-600: #3AE60F;
  --brand-700: #30C00C;
  --brand-800: #26990A;
  --brand-900: #1F6F0C;
  --brand-950: #175c06;
  --brand: #175c06;
  --brand-ink: #ffffff;
}

Colors that work with #175c06

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#F6FAF4
Tinted page background
Border#C9EDC0
Hairlines and dividers
Muted text#5B9B4B
Captions on the surface
Accent#36045E
Second voice, not a rival
Dark variant#1E7808
Hover, pressed, headers
Light variant#EBFDE7
Selected rows, tints
Dark surface#172414
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 #175c06

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#4B065C
Analogous left#425C06
Analogous right#065C20
Split-complement 1#20065C
Split-complement 2#5C0642
Triadic 1#06175C
Triadic 2#5C0617
Tetradic#06425C

RGB percentages

Red9.0%
Green36.1%
Blue2.4%

CMYK percentages

Cyan75.0%
Magenta0.0%
Yellow93.5%
Key (black)63.9%

Color previews

#175c06 text on a black background

contrast 2.57:1

Card sample

#175c06 text on a white background

contrast 8.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(23, 92, 6, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 92, 6, 0.45);
Border & gradient
Gradient panel
border: 3px solid #175c06;
background: linear-gradient(135deg, #175c06, #065C2E);

Monochromatic scale

Palettes built from #175c06

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.

#175c06 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#175c06, answered

What color is #175c06?

#175c06 is a deep electric green, closest to Dark Green (ΔE2000 3). It sits at 108° on the hue wheel with 88% saturation and 19% lightness, which reads as neutral.

What is the RGB value of #175c06?

rgb(23, 92, 6) — 23 red, 92 green and 6 blue out of 255, or 9% / 36.1% / 2.4% by channel.

Is #175c06 a light or a dark color?

It is a dark color. Relative luminance is 0.0785 and perceived brightness is 28%, so white text on it reaches 8.17:1.

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

White. It scores 8.17:1 against #175c06, versus 2.57:1 for black — AAA at any size.

What is the complementary color of #175c06?

#4B065C sits directly opposite on the wheel. Softer options are the split-complements #20065C and #5C0642, which give the same contrast with far less vibration.

What colors go well with #175c06?

For interface work: #F6FAF4 as the surface, #C9EDC0 for borders, #5B9B4B for secondary text, #36045E as an accent and #1E7808 for hover and pressed states. For a palette, the analogous pair #425C06 and #065C20 stays calm, while #4B065C is the loudest partner.

What is #175c06 in CMYK for printing?

cmyk(75%, 0%, 94%, 64%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #175c06 warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #375C06; nudged cooler, #055D14.

Work with #175c06 in the Color Lab