Skip to content

#175c03

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

RGB
23, 92, 3
HSL
107°, 94%, 19%
CMYK
75, 0, 97, 64
Luminance
0.0784

At a glance

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

Hex
#175c03
Hue
107°
green
Saturation
94%
electric
Lightness
19%
deep
Brightness
36%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0784
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Green
Tone
Electric
Best ink
White
8.18:1
Closest name
Dark Green
ΔE2000 2.9
Where it sits
Hue107° of 360°
Saturation94%
Lightness19%
Temperature
Warm ← → Cool57% 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#175c03
RGBrgb(23, 92, 3)
HSLhsl(107, 94%, 19%)
CMYKcmyk(75%, 0%, 97%, 64%)
LABlab(33.6 -37.3 39.0)
LCHlch(33.6 54.0 133.7)
OKLCHoklch(0.416 0.133 140.4)
Decimal1530883
Display P3color(display-p3 0.090 0.361 0.012)

Copy-ready code

/* CSS */
color: #175c03;
background-color: #175c03;
/* Tailwind (arbitrary) */
class="text-[#175c03] bg-[#175c03]"
/* SCSS */
$brand: #175c03;
/* SwiftUI */
Color(red: 0.090, green: 0.361, blue: 0.012)
/* Android */
Color.parseColor("#175c03")
/* Flutter */
Color(0xFF175C03)
/* Python / OpenCV (BGR) */
(3, 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 #175c03 · 8.18:1
Use #ffffffAAA at every size.
Aa
White text · 8.18: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: #175c03 as text scores 8.18:1 on white and 2.57:1 on black.

Accessibility — WCAG contrast

Aa
#175c03 on white: 8.18:1
AA ✓ pass · AA-large · AAA
Aa
#175c03 on black: 2.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5F5200
deuteranopia · #574D10
tritanopia · #08594D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #175c03 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
#E9FBE4
#CFFAC2
#AAFB92
#7FFA5C
#55F826
#3BED08
#31C606
#289E05
#207208
#175c03
Base = 950Lightest = 50 · #F4FDF2Darkest = 950 · #175c03
:root {
  --brand-50: #F4FDF2;
  --brand-100: #E9FBE4;
  --brand-200: #CFFAC2;
  --brand-300: #AAFB92;
  --brand-400: #7FFA5C;
  --brand-500: #55F826;
  --brand-600: #3BED08;
  --brand-700: #31C606;
  --brand-800: #289E05;
  --brand-900: #207208;
  --brand-950: #175c03;
  --brand: #175c03;
  --brand-ink: #ffffff;
}

Colors that work with #175c03

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#CAEDC0
Hairlines and dividers
Muted text#5D9B4B
Captions on the surface
Accent#32015E
Second voice, not a rival
Dark variant#1F7B04
Hover, pressed, headers
Light variant#ECFEE6
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 #175c03

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#48035C
Analogous left#435C03
Analogous right#035C1B
Split-complement 1#1B035C
Split-complement 2#5C0343
Triadic 1#03175C
Triadic 2#5C0317
Tetradic#03435C

RGB percentages

Red9.0%
Green36.1%
Blue1.2%

CMYK percentages

Cyan75.0%
Magenta0.0%
Yellow96.7%
Key (black)63.9%

Color previews

#175c03 text on a black background

contrast 2.57:1

Card sample

#175c03 text on a white background

contrast 8.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #175c03

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.

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

#175c03, answered

What color is #175c03?

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

What is the RGB value of #175c03?

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

Is #175c03 a light or a dark color?

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

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

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

What is the complementary color of #175c03?

#48035C sits directly opposite on the wheel. Softer options are the split-complements #1B035C and #5C0343, which give the same contrast with far less vibration.

What colors go well with #175c03?

For interface work: #F6FAF4 as the surface, #CAEDC0 for borders, #5D9B4B for secondary text, #32015E as an accent and #1F7B04 for hover and pressed states. For a palette, the analogous pair #435C03 and #035C1B stays calm, while #48035C is the loudest partner.

What is #175c03 in CMYK for printing?

cmyk(75%, 0%, 97%, 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 #175c03 warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #385C03; nudged cooler, #025D0F.

Work with #175c03 in the Color Lab