Skip to content

#081c02

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

RGB
8, 28, 2
HSL
106°, 87%, 6%
CMYK
71, 0, 93, 89
Luminance
0.0089

At a glance

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

Hex
#081c02
Hue
106°
green
Saturation
87%
electric
Lightness
6%
deep
Brightness
11%
HSV value
Perceived
9%
weighted brightness
Luminance
0.0089
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Green
Tone
Electric
Best ink
White
17.84:1
Closest name
Black
ΔE2000 15.5
Where it sits
Hue106° of 360°
Saturation87%
Lightness6%
Temperature
Warm ← → Cool57% 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#081c02
RGBrgb(8, 28, 2)
HSLhsl(106, 87%, 6%)
CMYKcmyk(71%, 0%, 93%, 89%)
LABlab(8.0 -12.9 10.9)
LCHlch(8.0 16.9 139.8)
OKLCHoklch(0.202 0.056 137.8)
Decimal531458
Display P3color(display-p3 0.031 0.110 0.008)

Copy-ready code

/* CSS */
color: #081c02;
background-color: #081c02;
/* Tailwind (arbitrary) */
class="text-[#081c02] bg-[#081c02]"
/* SCSS */
$brand: #081c02;
/* SwiftUI */
Color(red: 0.031, green: 0.110, blue: 0.008)
/* Android */
Color.parseColor("#081c02")
/* Flutter */
Color(0xFF081C02)
/* Python / OpenCV (BGR) */
(2, 28, 8)

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 #081c02 · 17.84:1
Use #ffffffAAA at every size.
Aa
White text · 17.84:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.18:1
AA fail · AA large fail · AAA fail
Reading the other direction: #081c02 as text scores 17.84:1 on white and 1.18:1 on black.

Accessibility — WCAG contrast

Aa
#081c02 on white: 17.84:1
AA ✓ pass · AA-large · AAA
Aa
#081c02 on black: 1.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1D1900
deuteranopia · #1B1703
tritanopia · #071B16

Color scale — 50 to 950

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

#F5FDF2
#EAFAE5
#D0F7C4
#ADF896
#83F462
#5AF02E
#41E510
#36BE0E
#2B980B
#236E0C
#081c02
Base = 950Lightest = 50 · #F5FDF2Darkest = 950 · #081c02
:root {
  --brand-50: #F5FDF2;
  --brand-100: #EAFAE5;
  --brand-200: #D0F7C4;
  --brand-300: #ADF896;
  --brand-400: #83F462;
  --brand-500: #5AF02E;
  --brand-600: #41E510;
  --brand-700: #36BE0E;
  --brand-800: #2B980B;
  --brand-900: #236E0C;
  --brand-950: #081c02;
  --brand: #081c02;
  --brand-ink: #ffffff;
}

Colors that work with #081c02

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#CAEDC0
Hairlines and dividers
Muted text#5D9B4B
Captions on the surface
Accent#10011D
Second voice, not a rival
Dark variant#227708
Hover, pressed, headers
Light variant#ECFDE7
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 #081c02

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#16021C
Analogous left#151C02
Analogous right#021C09
Split-complement 1#09021C
Split-complement 2#1C0215
Triadic 1#02081C
Triadic 2#1C0208
Tetradic#02151C

RGB percentages

Red3.1%
Green11.0%
Blue0.8%

CMYK percentages

Cyan71.4%
Magenta0.0%
Yellow92.9%
Key (black)89.0%

Color previews

#081c02 text on a black background

contrast 1.18:1

Card sample

#081c02 text on a white background

contrast 17.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #081c02

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.

#081c02 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.

#081c02, answered

What color is #081c02?

#081c02 is a deep electric green, closest to Black (ΔE2000 15.5). It sits at 106° on the hue wheel with 87% saturation and 6% lightness, which reads as neutral.

What is the RGB value of #081c02?

rgb(8, 28, 2) — 8 red, 28 green and 2 blue out of 255, or 3.1% / 11% / 0.8% by channel.

Is #081c02 a light or a dark color?

It is a dark color. Relative luminance is 0.0089 and perceived brightness is 9%, so white text on it reaches 17.84:1.

Should I use black or white text on #081c02?

White. It scores 17.84:1 against #081c02, versus 1.18:1 for black — AAA at any size.

What is the complementary color of #081c02?

#16021C sits directly opposite on the wheel. Softer options are the split-complements #09021C and #1C0215, which give the same contrast with far less vibration.

What colors go well with #081c02?

For interface work: #F6FAF4 as the surface, #CAEDC0 for borders, #5D9B4B for secondary text, #10011D as an accent and #227708 for hover and pressed states. For a palette, the analogous pair #151C02 and #021C09 stays calm, while #16021C is the loudest partner.

What is #081c02 in CMYK for printing?

cmyk(71%, 0%, 93%, 89%). 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 #081c02 warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #121C02; nudged cooler, #021C05.

Work with #081c02 in the Color Lab