Skip to content

#175102

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

RGB
23, 81, 2
HSL
104°, 95%, 16%
CMYK
72, 0, 98, 68
Luminance
0.0607

At a glance

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

Hex
#175102
Hue
104°
green
Saturation
95%
electric
Lightness
16%
deep
Brightness
32%
HSV value
Perceived
25%
weighted brightness
Luminance
0.0607
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Green
Tone
Electric
Best ink
White
9.48:1
Closest name
Dark Green
ΔE2000 6.4
Where it sits
Hue104° of 360°
Saturation95%
Lightness16%
Temperature
Warm ← → Cool56% 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#175102
RGBrgb(23, 81, 2)
HSLhsl(104, 95%, 16%)
CMYKcmyk(72%, 0%, 98%, 68%)
LABlab(29.6 -33.3 36.0)
LCHlch(29.6 49.0 132.8)
OKLCHoklch(0.382 0.120 139.6)
Decimal1528066
Display P3color(display-p3 0.090 0.318 0.008)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#175102 on white: 9.48:1
AA ✓ pass · AA-large · AAA
Aa
#175102 on black: 2.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #544900
deuteranopia · #4D440D
tritanopia · #0E4E44

Color scale — 50 to 950

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

#F5FDF1
#EAFCE4
#D1FAC2
#AEFC91
#85FB5B
#5DFA24
#44EF06
#38C705
#2D9F04
#247308
#175102
Base = 950Lightest = 50 · #F5FDF1Darkest = 950 · #175102
:root {
  --brand-50: #F5FDF1;
  --brand-100: #EAFCE4;
  --brand-200: #D1FAC2;
  --brand-300: #AEFC91;
  --brand-400: #85FB5B;
  --brand-500: #5DFA24;
  --brand-600: #44EF06;
  --brand-700: #38C705;
  --brand-800: #2D9F04;
  --brand-900: #247308;
  --brand-950: #175102;
  --brand: #175102;
  --brand-ink: #ffffff;
}

Colors that work with #175102

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#CCEDC0
Hairlines and dividers
Muted text#609B4B
Captions on the surface
Accent#280053
Second voice, not a rival
Dark variant#237C03
Hover, pressed, headers
Light variant#EDFEE6
Selected rows, tints
Dark surface#182414
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 #175102

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#3C0251
Analogous left#3F5102
Analogous right#025115
Split-complement 1#150251
Split-complement 2#51023F
Triadic 1#021751
Triadic 2#510217
Tetradic#023F51

RGB percentages

Red9.0%
Green31.8%
Blue0.8%

CMYK percentages

Cyan71.6%
Magenta0.0%
Yellow97.5%
Key (black)68.2%

Color previews

#175102 text on a black background

contrast 2.21:1

Card sample

#175102 text on a white background

contrast 9.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #175102

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.

#175102 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.

#175102, answered

What color is #175102?

#175102 is a deep electric green, closest to Dark Green (ΔE2000 6.4). It sits at 104° on the hue wheel with 95% saturation and 16% lightness, which reads as neutral.

What is the RGB value of #175102?

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

Is #175102 a light or a dark color?

It is a dark color. Relative luminance is 0.0607 and perceived brightness is 25%, so white text on it reaches 9.48:1.

Should I use black or white text on #175102?

White. It scores 9.48:1 against #175102, versus 2.21:1 for black — AAA at any size.

What is the complementary color of #175102?

#3C0251 sits directly opposite on the wheel. Softer options are the split-complements #150251 and #51023F, which give the same contrast with far less vibration.

What colors go well with #175102?

For interface work: #F6FAF4 as the surface, #CCEDC0 for borders, #609B4B for secondary text, #280053 as an accent and #237C03 for hover and pressed states. For a palette, the analogous pair #3F5102 and #025115 stays calm, while #3C0251 is the loudest partner.

What is #175102 in CMYK for printing?

cmyk(72%, 0%, 98%, 68%). 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 #175102 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #345102; nudged cooler, #015209.

Work with #175102 in the Color Lab