Skip to content

#017f13

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

RGB
1, 127, 19
HSL
129°, 98%, 25%
CMYK
99, 0, 85, 50
Luminance
0.1523

At a glance

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

Hex
#017f13
Hue
129°
green
Saturation
98%
electric
Lightness
25%
dark
Brightness
50%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1523
WCAG relative
Temperature
Cool
66/100 cool
Color family
Green
Tone
Electric
Best ink
White
5.19:1
Closest name
Green
ΔE2000 1.4
Where it sits
Hue129° of 360°
Saturation98%
Lightness25%
Temperature
Warm ← → Cool66% 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#017f13
RGBrgb(1, 127, 19)
HSLhsl(129, 98%, 25%)
CMYKcmyk(99%, 0%, 85%, 50%)
LABlab(46.0 -50.5 45.4)
LCHlch(46.0 67.9 138.0)
OKLCHoklch(0.518 0.170 143.6)
Decimal98067
Display P3color(display-p3 0.004 0.498 0.075)

Copy-ready code

/* CSS */
color: #017f13;
background-color: #017f13;
/* Tailwind (arbitrary) */
class="text-[#017f13] bg-[#017f13]"
/* SCSS */
$brand: #017f13;
/* SwiftUI */
Color(red: 0.004, green: 0.498, blue: 0.075)
/* Android */
Color.parseColor("#017f13")
/* Flutter */
Color(0xFF017F13)
/* Python / OpenCV (BGR) */
(19, 127, 1)

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 #017f13 · 5.19:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.19:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.05:1
AA fail · AA large pass · AAA fail
Reading the other direction: #017f13 as text scores 5.19:1 on white and 4.05:1 on black.

Accessibility — WCAG contrast

Aa
#017f13 on white: 5.19:1
AA ✓ pass · AA-large · AAA
Aa
#017f13 on black: 4.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #827200
deuteranopia · #766A21
tritanopia · #007B6C

Color scale — 50 to 950

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

#F1FEF3
#E3FCE7
#C1FBC9
#90FEA0
#58FE70
#20FD40
#02F324
#02CA1E
#01A218
#017f13
#04490E
Base = 900Lightest = 50 · #F1FEF3Darkest = 950 · #04490E
:root {
  --brand-50: #F1FEF3;
  --brand-100: #E3FCE7;
  --brand-200: #C1FBC9;
  --brand-300: #90FEA0;
  --brand-400: #58FE70;
  --brand-500: #20FD40;
  --brand-600: #02F324;
  --brand-700: #02CA1E;
  --brand-800: #01A218;
  --brand-900: #017f13;
  --brand-950: #04490E;
  --brand: #017f13;
  --brand-ink: #ffffff;
}

Colors that work with #017f13

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#C0EDC6
Hairlines and dividers
Muted text#4B9B56
Captions on the surface
Accent#720080
Second voice, not a rival
Dark variant#017E13
Hover, pressed, headers
Light variant#E6FFE9
Selected rows, tints
Dark surface#142416
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 #017f13

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
  • 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#7F016D
Analogous left#2E7F01
Analogous right#017F52
Split-complement 1#52017F
Split-complement 2#7F012E
Triadic 1#13017F
Triadic 2#7F1301
Tetradic#012E7F

RGB percentages

Red0.4%
Green49.8%
Blue7.5%

CMYK percentages

Cyan99.2%
Magenta0.0%
Yellow85.0%
Key (black)50.2%

Color previews

#017f13 text on a black background

contrast 4.05:1

Card sample

#017f13 text on a white background

contrast 5.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(1, 127, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(1, 127, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #017f13;
background: linear-gradient(135deg, #017f13, #017F67);

Monochromatic scale

Palettes built from #017f13

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.

#017f13 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.

#017f13, answered

What color is #017f13?

#017f13 is a dark electric green, closest to Green (ΔE2000 1.4). It sits at 129° on the hue wheel with 98% saturation and 25% lightness, which reads as cool.

What is the RGB value of #017f13?

rgb(1, 127, 19) — 1 red, 127 green and 19 blue out of 255, or 0.4% / 49.8% / 7.5% by channel.

Is #017f13 a light or a dark color?

It is a dark color. Relative luminance is 0.1523 and perceived brightness is 38%, so white text on it reaches 5.19:1.

Should I use black or white text on #017f13?

White. It scores 5.19:1 against #017f13, versus 4.05:1 for black — AA at any size.

What is the complementary color of #017f13?

#7F016D sits directly opposite on the wheel. Softer options are the split-complements #52017F and #7F012E, which give the same contrast with far less vibration.

What colors go well with #017f13?

For interface work: #F4FAF5 as the surface, #C0EDC6 for borders, #4B9B56 for secondary text, #720080 as an accent and #017E13 for hover and pressed states. For a palette, the analogous pair #2E7F01 and #017F52 stays calm, while #7F016D is the loudest partner.

What is #017f13 in CMYK for printing?

cmyk(99%, 0%, 85%, 50%). 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 #017f13 warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1D7F01; nudged cooler, #008041.

Work with #017f13 in the Color Lab