Skip to content

#012002

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

RGB
1, 32, 2
HSL
122°, 94%, 7%
CMYK
97, 0, 94, 88
Luminance
0.0104

At a glance

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

Hex
#012002
Hue
122°
green
Saturation
94%
electric
Lightness
7%
deep
Brightness
13%
HSV value
Perceived
10%
weighted brightness
Luminance
0.0104
WCAG relative
Temperature
Cool
63/100 cool
Color family
Green
Tone
Electric
Best ink
White
17.37:1
Closest name
Black
ΔE2000 18.6
Where it sits
Hue122° of 360°
Saturation94%
Lightness7%
Temperature
Warm ← → Cool63% 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#012002
RGBrgb(1, 32, 2)
HSLhsl(122, 94%, 7%)
CMYKcmyk(97%, 0%, 94%, 88%)
LABlab(9.3 -18.2 12.8)
LCHlch(9.3 22.3 144.8)
OKLCHoklch(0.212 0.068 143.4)
Decimal73730
Display P3color(display-p3 0.004 0.125 0.008)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#012002 on white: 17.37:1
AA ✓ pass · AA-large · AAA
Aa
#012002 on black: 1.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #211C00
deuteranopia · #1D1904
tritanopia · #001F1A

Color scale — 50 to 950

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

#F2FDF2
#E4FBE5
#C2FAC4
#92FC96
#5CFA61
#25F82C
#07ED0F
#06C60C
#059E0A
#08720C
#012002
Base = 950Lightest = 50 · #F2FDF2Darkest = 950 · #012002
:root {
  --brand-50: #F2FDF2;
  --brand-100: #E4FBE5;
  --brand-200: #C2FAC4;
  --brand-300: #92FC96;
  --brand-400: #5CFA61;
  --brand-500: #25F82C;
  --brand-600: #07ED0F;
  --brand-700: #06C60C;
  --brand-800: #059E0A;
  --brand-900: #08720C;
  --brand-950: #012002;
  --brand: #012002;
  --brand-ink: #ffffff;
}

Colors that work with #012002

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#F4FAF4
Tinted page background
Border#C0EDC1
Hairlines and dividers
Muted text#4B9B4D
Captions on the surface
Accent#1A0021
Second voice, not a rival
Dark variant#047C08
Hover, pressed, headers
Light variant#E6FEE7
Selected rows, tints
Dark surface#142414
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 #012002

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#20011F
Analogous left#102001
Analogous right#012012
Split-complement 1#120120
Split-complement 2#200110
Triadic 1#020120
Triadic 2#200201
Tetradic#011020

RGB percentages

Red0.4%
Green12.5%
Blue0.8%

CMYK percentages

Cyan96.9%
Magenta0.0%
Yellow93.8%
Key (black)87.5%

Color previews

#012002 text on a black background

contrast 1.21:1

Card sample

#012002 text on a white background

contrast 17.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #012002

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.

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

#012002, answered

What color is #012002?

#012002 is a deep electric green, closest to Black (ΔE2000 18.6). It sits at 122° on the hue wheel with 94% saturation and 7% lightness, which reads as cool.

What is the RGB value of #012002?

rgb(1, 32, 2) — 1 red, 32 green and 2 blue out of 255, or 0.4% / 12.5% / 0.8% by channel.

Is #012002 a light or a dark color?

It is a dark color. Relative luminance is 0.0104 and perceived brightness is 10%, so white text on it reaches 17.37:1.

Should I use black or white text on #012002?

White. It scores 17.37:1 against #012002, versus 1.21:1 for black — AAA at any size.

What is the complementary color of #012002?

#20011F sits directly opposite on the wheel. Softer options are the split-complements #120120 and #200110, which give the same contrast with far less vibration.

What colors go well with #012002?

For interface work: #F4FAF4 as the surface, #C0EDC1 for borders, #4B9B4D for secondary text, #1A0021 as an accent and #047C08 for hover and pressed states. For a palette, the analogous pair #102001 and #012012 stays calm, while #20011F is the loudest partner.

What is #012002 in CMYK for printing?

cmyk(97%, 0%, 94%, 88%). 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 #012002 warm or cool?

Cool — it scores 63 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0B2001; nudged cooler, #01200D.

Work with #012002 in the Color Lab