Skip to content

#017421

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

RGB
1, 116, 33
HSL
137°, 98%, 23%
CMYK
99, 0, 72, 55
Luminance
0.1261

At a glance

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

Hex
#017421
Hue
137°
green
Saturation
98%
electric
Lightness
23%
deep
Brightness
45%
HSV value
Perceived
35%
weighted brightness
Luminance
0.1261
WCAG relative
Temperature
Cool
69/100 cool
Color family
Green
Tone
Electric
Best ink
White
5.96:1
Closest name
Green
ΔE2000 5.7
Where it sits
Hue137° of 360°
Saturation98%
Lightness23%
Temperature
Warm ← → Cool69% 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#017421
RGBrgb(1, 116, 33)
HSLhsl(137, 98%, 23%)
CMYKcmyk(99%, 0%, 72%, 55%)
LABlab(42.2 -45.9 36.5)
LCHlch(42.2 58.7 141.5)
OKLCHoklch(0.486 0.149 145.7)
Decimal95265
Display P3color(display-p3 0.004 0.455 0.129)

Copy-ready code

/* CSS */
color: #017421;
background-color: #017421;
/* Tailwind (arbitrary) */
class="text-[#017421] bg-[#017421]"
/* SCSS */
$brand: #017421;
/* SwiftUI */
Color(red: 0.004, green: 0.455, blue: 0.129)
/* Android */
Color.parseColor("#017421")
/* Flutter */
Color(0xFF017421)
/* Python / OpenCV (BGR) */
(33, 116, 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 #017421 · 5.96:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.96:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.52:1
AA fail · AA large pass · AAA fail
Reading the other direction: #017421 as text scores 5.96:1 on white and 3.52:1 on black.

Accessibility — WCAG contrast

Aa
#017421 on white: 5.96:1
AA ✓ pass · AA-large · AAA
Aa
#017421 on black: 3.52:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #766815
deuteranopia · #6B6129
tritanopia · #007163

Color scale — 50 to 950

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

#F1FDF5
#E3FCEA
#C1FBD1
#90FEAE
#58FE86
#21FD5E
#02F345
#02CA3A
#01A22E
#017421
#044917
Base = 900Lightest = 50 · #F1FDF5Darkest = 950 · #044917
:root {
  --brand-50: #F1FDF5;
  --brand-100: #E3FCEA;
  --brand-200: #C1FBD1;
  --brand-300: #90FEAE;
  --brand-400: #58FE86;
  --brand-500: #21FD5E;
  --brand-600: #02F345;
  --brand-700: #02CA3A;
  --brand-800: #01A22E;
  --brand-900: #017421;
  --brand-950: #044917;
  --brand: #017421;
  --brand-ink: #ffffff;
}

Colors that work with #017421

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#F4FAF6
Tinted page background
Border#C0EDCC
Hairlines and dividers
Muted text#4B9B61
Captions on the surface
Accent#750071
Second voice, not a rival
Dark variant#017E24
Hover, pressed, headers
Light variant#E6FFED
Selected rows, tints
Dark surface#142418
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 #017421

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#740154
Analogous left#1A7401
Analogous right#01745A
Split-complement 1#5A0174
Split-complement 2#74011A
Triadic 1#210174
Triadic 2#742101
Tetradic#011A74

RGB percentages

Red0.4%
Green45.5%
Blue12.9%

CMYK percentages

Cyan99.1%
Magenta0.0%
Yellow71.6%
Key (black)54.5%

Color previews

#017421 text on a black background

contrast 3.52:1

Card sample

#017421 text on a white background

contrast 5.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(1, 116, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(1, 116, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #017421;
background: linear-gradient(135deg, #017421, #01746D);

Monochromatic scale

Palettes built from #017421

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.

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

#017421, answered

What color is #017421?

#017421 is a deep electric green, closest to Green (ΔE2000 5.7). It sits at 137° on the hue wheel with 98% saturation and 23% lightness, which reads as cool.

What is the RGB value of #017421?

rgb(1, 116, 33) — 1 red, 116 green and 33 blue out of 255, or 0.4% / 45.5% / 12.9% by channel.

Is #017421 a light or a dark color?

It is a dark color. Relative luminance is 0.1261 and perceived brightness is 35%, so white text on it reaches 5.96:1.

Should I use black or white text on #017421?

White. It scores 5.96:1 against #017421, versus 3.52:1 for black — AA at any size.

What is the complementary color of #017421?

#740154 sits directly opposite on the wheel. Softer options are the split-complements #5A0174 and #74011A, which give the same contrast with far less vibration.

What colors go well with #017421?

For interface work: #F4FAF6 as the surface, #C0EDCC for borders, #4B9B61 for secondary text, #750071 as an accent and #017E24 for hover and pressed states. For a palette, the analogous pair #1A7401 and #01745A stays calm, while #740154 is the loudest partner.

What is #017421 in CMYK for printing?

cmyk(99%, 0%, 72%, 55%). 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 #017421 warm or cool?

Cool — it scores 69 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0B7401; nudged cooler, #00754B.

Work with #017421 in the Color Lab