Skip to content

#056c01

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

RGB
5, 108, 1
HSL
118°, 98%, 21%
CMYK
95, 0, 99, 58
Luminance
0.1076

At a glance

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

Hex
#056c01
Hue
118°
green
Saturation
98%
electric
Lightness
21%
deep
Brightness
42%
HSV value
Perceived
32%
weighted brightness
Luminance
0.1076
WCAG relative
Temperature
Cool
62/100 cool
Color family
Green
Tone
Electric
Best ink
White
6.66:1
Closest name
Dark Green
ΔE2000 2.6
Where it sits
Hue118° of 360°
Saturation98%
Lightness21%
Temperature
Warm ← → Cool62% 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#056c01
RGBrgb(5, 108, 1)
HSLhsl(118, 98%, 21%)
CMYKcmyk(95%, 0%, 99%, 58%)
LABlab(39.2 -45.2 44.0)
LCHlch(39.2 63.1 135.8)
OKLCHoklch(0.461 0.155 142.3)
Decimal355329
Display P3color(display-p3 0.020 0.424 0.004)

Copy-ready code

/* CSS */
color: #056c01;
background-color: #056c01;
/* Tailwind (arbitrary) */
class="text-[#056c01] bg-[#056c01]"
/* SCSS */
$brand: #056c01;
/* SwiftUI */
Color(red: 0.020, green: 0.424, blue: 0.004)
/* Android */
Color.parseColor("#056c01")
/* Flutter */
Color(0xFF056C01)
/* Python / OpenCV (BGR) */
(1, 108, 5)

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

Accessibility — WCAG contrast

Aa
#056c01 on white: 6.66:1
AA ✓ pass · AA-large · AAA
Aa
#056c01 on black: 3.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #6F6000
deuteranopia · #655A13
tritanopia · #00685B

Color scale — 50 to 950

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

#F2FDF1
#E4FCE3
#C3FBC1
#94FE90
#5EFD58
#29FD21
#0BF302
#09CA02
#07A201
#056c01
#064904
Base = 900Lightest = 50 · #F2FDF1Darkest = 950 · #064904
:root {
  --brand-50: #F2FDF1;
  --brand-100: #E4FCE3;
  --brand-200: #C3FBC1;
  --brand-300: #94FE90;
  --brand-400: #5EFD58;
  --brand-500: #29FD21;
  --brand-600: #0BF302;
  --brand-700: #09CA02;
  --brand-800: #07A201;
  --brand-900: #056c01;
  --brand-950: #064904;
  --brand: #056c01;
  --brand-ink: #ffffff;
}

Colors that work with #056c01

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#F5FAF4
Tinted page background
Border#C1EDC0
Hairlines and dividers
Muted text#4E9B4B
Captions on the surface
Accent#4E006D
Second voice, not a rival
Dark variant#067E01
Hover, pressed, headers
Light variant#E7FFE6
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 #056c01

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#68016C
Analogous left#3A6C01
Analogous right#016C33
Split-complement 1#33016C
Split-complement 2#6C013A
Triadic 1#01056C
Triadic 2#6C0105
Tetradic#013A6C

RGB percentages

Red2.0%
Green42.4%
Blue0.4%

CMYK percentages

Cyan95.4%
Magenta0.0%
Yellow99.1%
Key (black)57.6%

Color previews

#056c01 text on a black background

contrast 3.15:1

Card sample

#056c01 text on a white background

contrast 6.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(5, 108, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 108, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #056c01;
background: linear-gradient(135deg, #056c01, #016C45);

Monochromatic scale

Palettes built from #056c01

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.

#056c01 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.

#056c01, answered

What color is #056c01?

#056c01 is a deep electric green, closest to Dark Green (ΔE2000 2.6). It sits at 118° on the hue wheel with 98% saturation and 21% lightness, which reads as cool.

What is the RGB value of #056c01?

rgb(5, 108, 1) — 5 red, 108 green and 1 blue out of 255, or 2% / 42.4% / 0.4% by channel.

Is #056c01 a light or a dark color?

It is a dark color. Relative luminance is 0.1076 and perceived brightness is 32%, so white text on it reaches 6.66:1.

Should I use black or white text on #056c01?

White. It scores 6.66:1 against #056c01, versus 3.15:1 for black — AA at any size.

What is the complementary color of #056c01?

#68016C sits directly opposite on the wheel. Softer options are the split-complements #33016C and #6C013A, which give the same contrast with far less vibration.

What colors go well with #056c01?

For interface work: #F5FAF4 as the surface, #C1EDC0 for borders, #4E9B4B for secondary text, #4E006D as an accent and #067E01 for hover and pressed states. For a palette, the analogous pair #3A6C01 and #016C33 stays calm, while #68016C is the loudest partner.

What is #056c01 in CMYK for printing?

cmyk(95%, 0%, 99%, 58%). 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 #056c01 warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2C6C01; nudged cooler, #006D24.

Work with #056c01 in the Color Lab