Skip to content

#034d0c

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

RGB
3, 77, 12
HSL
127°, 93%, 16%
CMYK
96, 0, 84, 70
Luminance
0.0535

At a glance

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

Hex
#034d0c
Hue
127°
green
Saturation
93%
electric
Lightness
16%
deep
Brightness
30%
HSV value
Perceived
23%
weighted brightness
Luminance
0.0535
WCAG relative
Temperature
Cool
66/100 cool
Color family
Green
Tone
Electric
Best ink
White
10.14:1
Closest name
Dark Green
ΔE2000 8
Where it sits
Hue127° of 360°
Saturation93%
Lightness16%
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#034d0c
RGBrgb(3, 77, 12)
HSLhsl(127, 93%, 16%)
CMYKcmyk(96%, 0%, 84%, 70%)
LABlab(27.7 -34.8 30.4)
LCHlch(27.7 46.2 138.8)
OKLCHoklch(0.365 0.116 144.0)
Decimal216332
Display P3color(display-p3 0.012 0.302 0.047)

Copy-ready code

/* CSS */
color: #034d0c;
background-color: #034d0c;
/* Tailwind (arbitrary) */
class="text-[#034d0c] bg-[#034d0c]"
/* SCSS */
$brand: #034d0c;
/* SwiftUI */
Color(red: 0.012, green: 0.302, blue: 0.047)
/* Android */
Color.parseColor("#034d0c")
/* Flutter */
Color(0xFF034D0C)
/* Python / OpenCV (BGR) */
(12, 77, 3)

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

Accessibility — WCAG contrast

Aa
#034d0c on white: 10.14:1
AA ✓ pass · AA-large · AAA
Aa
#034d0c on black: 2.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4F4501
deuteranopia · #473F13
tritanopia · #004B41

Color scale — 50 to 950

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

#F2FDF3
#E4FBE7
#C3F9C9
#93FBA0
#5DF970
#27F740
#09EC25
#08C41F
#069D18
#097116
#034d0c
Base = 950Lightest = 50 · #F2FDF3Darkest = 950 · #034d0c
:root {
  --brand-50: #F2FDF3;
  --brand-100: #E4FBE7;
  --brand-200: #C3F9C9;
  --brand-300: #93FBA0;
  --brand-400: #5DF970;
  --brand-500: #27F740;
  --brand-600: #09EC25;
  --brand-700: #08C41F;
  --brand-800: #069D18;
  --brand-900: #097116;
  --brand-950: #034d0c;
  --brand: #034d0c;
  --brand-ink: #ffffff;
}

Colors that work with #034d0c

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#C0EDC5
Hairlines and dividers
Muted text#4B9B54
Captions on the surface
Accent#45014F
Second voice, not a rival
Dark variant#057B13
Hover, pressed, headers
Light variant#E6FEE9
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 #034d0c

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#4D0344
Analogous left#1F4D03
Analogous right#034D31
Split-complement 1#31034D
Split-complement 2#4D031F
Triadic 1#0C034D
Triadic 2#4D0C03
Tetradic#031F4D

RGB percentages

Red1.2%
Green30.2%
Blue4.7%

CMYK percentages

Cyan96.1%
Magenta0.0%
Yellow84.4%
Key (black)69.8%

Color previews

#034d0c text on a black background

contrast 2.07:1

Card sample

#034d0c text on a white background

contrast 10.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #034d0c

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.

#034d0c 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.

#034d0c, answered

What color is #034d0c?

#034d0c is a deep electric green, closest to Dark Green (ΔE2000 8). It sits at 127° on the hue wheel with 93% saturation and 16% lightness, which reads as cool.

What is the RGB value of #034d0c?

rgb(3, 77, 12) — 3 red, 77 green and 12 blue out of 255, or 1.2% / 30.2% / 4.7% by channel.

Is #034d0c a light or a dark color?

It is a dark color. Relative luminance is 0.0535 and perceived brightness is 23%, so white text on it reaches 10.14:1.

Should I use black or white text on #034d0c?

White. It scores 10.14:1 against #034d0c, versus 2.07:1 for black — AAA at any size.

What is the complementary color of #034d0c?

#4D0344 sits directly opposite on the wheel. Softer options are the split-complements #31034D and #4D031F, which give the same contrast with far less vibration.

What colors go well with #034d0c?

For interface work: #F4FAF5 as the surface, #C0EDC5 for borders, #4B9B54 for secondary text, #45014F as an accent and #057B13 for hover and pressed states. For a palette, the analogous pair #1F4D03 and #034D31 stays calm, while #4D0344 is the loudest partner.

What is #034d0c in CMYK for printing?

cmyk(96%, 0%, 84%, 70%). 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 #034d0c 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 #154D03; nudged cooler, #024E27.

Work with #034d0c in the Color Lab