Skip to content

#17a708

a dark, electric green · cool · closest name: Forest Green

RGB
23, 167, 8
HSL
114°, 91%, 34%
CMYK
86, 0, 95, 35
Luminance
0.2784

At a glance

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

Hex
#17a708
Hue
114°
green
Saturation
91%
electric
Lightness
34%
dark
Brightness
65%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2784
WCAG relative
Temperature
Cool
60/100 cool
Color family
Green
Tone
Electric
Best ink
Black
6.57:1
Closest name
Forest Green
ΔE2000 9.7
Where it sits
Hue114° of 360°
Saturation91%
Lightness34%
Temperature
Warm ← → Cool60% 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#17a708
RGBrgb(23, 167, 8)
HSLhsl(114, 91%, 34%)
CMYKcmyk(86%, 0%, 95%, 35%)
LABlab(59.7 -61.1 59.7)
LCHlch(59.7 85.4 135.7)
OKLCHoklch(0.633 0.211 142.1)
Decimal1550088
Display P3color(display-p3 0.090 0.655 0.031)

Copy-ready code

/* CSS */
color: #17a708;
background-color: #17a708;
/* Tailwind (arbitrary) */
class="text-[#17a708] bg-[#17a708]"
/* SCSS */
$brand: #17a708;
/* SwiftUI */
Color(red: 0.090, green: 0.655, blue: 0.031)
/* Android */
Color.parseColor("#17a708")
/* Flutter */
Color(0xFF17A708)
/* Python / OpenCV (BGR) */
(8, 167, 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#000000 on #17a708 · 6.57:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.20:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.57:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #17a708 as text scores 3.20:1 on white and 6.57:1 on black.

Accessibility — WCAG contrast

Aa
#17a708 on white: 3.20:1
AA ✗ fail · AA-large · AAA
Aa
#17a708 on black: 6.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AB9600
deuteranopia · #9D8C25
tritanopia · #00A28D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #17a708 is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3FDF2
#E7FBE5
#C8F9C3
#9EFA94
#6DF75E
#3CF529
#20EA0B
#1BC309
#17a708
#14700A
#0C4606
Base = 800Lightest = 50 · #F3FDF2Darkest = 950 · #0C4606
:root {
  --brand-50: #F3FDF2;
  --brand-100: #E7FBE5;
  --brand-200: #C8F9C3;
  --brand-300: #9EFA94;
  --brand-400: #6DF75E;
  --brand-500: #3CF529;
  --brand-600: #20EA0B;
  --brand-700: #1BC309;
  --brand-800: #17a708;
  --brand-900: #14700A;
  --brand-950: #0C4606;
  --brand: #17a708;
  --brand-ink: #000000;
}

Colors that work with #17a708

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F5FAF4
Tinted page background
Border#C4EDC0
Hairlines and dividers
Muted text#529B4B
Captions on the surface
Accent#7104AA
Second voice, not a rival
Dark variant#117A06
Hover, pressed, headers
Light variant#E9FEE7
Selected rows, tints
Dark surface#152414
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 #17a708

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • 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
  • Small text on white — under 4.5:1
  • 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#9808A7
Analogous left#67A708
Analogous right#08A748
Split-complement 1#4808A7
Split-complement 2#A70867
Triadic 1#0817A7
Triadic 2#A70817
Tetradic#0867A7

RGB percentages

Red9.0%
Green65.5%
Blue3.1%

CMYK percentages

Cyan86.2%
Magenta0.0%
Yellow95.2%
Key (black)34.5%

Color previews

#17a708 text on a black background

contrast 6.57:1

Card sample

#17a708 text on a white background

contrast 3.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(23, 167, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 167, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #17a708;
background: linear-gradient(135deg, #17a708, #08A763);

Monochromatic scale

Palettes built from #17a708

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.

#17a708 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.

#17a708, answered

What color is #17a708?

#17a708 is a dark electric green, closest to Forest Green (ΔE2000 9.7). It sits at 114° on the hue wheel with 91% saturation and 34% lightness, which reads as cool.

What is the RGB value of #17a708?

rgb(23, 167, 8) — 23 red, 167 green and 8 blue out of 255, or 9% / 65.5% / 3.1% by channel.

Is #17a708 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2784 and perceived brightness is 50%, so black text on it reaches 6.57:1.

Should I use black or white text on #17a708?

Black. It scores 6.57:1 against #17a708, versus 3.20:1 for white — AA at any size.

What is the complementary color of #17a708?

#9808A7 sits directly opposite on the wheel. Softer options are the split-complements #4808A7 and #A70867, which give the same contrast with far less vibration.

What colors go well with #17a708?

For interface work: #F5FAF4 as the surface, #C4EDC0 for borders, #529B4B for secondary text, #7104AA as an accent and #117A06 for hover and pressed states. For a palette, the analogous pair #67A708 and #08A748 stays calm, while #9808A7 is the loudest partner.

What is #17a708 in CMYK for printing?

cmyk(86%, 0%, 95%, 35%). 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 #17a708 warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #51A708; nudged cooler, #06A932.

Work with #17a708 in the Color Lab