Skip to content

#034e21

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

RGB
3, 78, 33
HSL
144°, 93%, 16%
CMYK
96, 0, 58, 69
Luminance
0.0558

At a glance

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

Hex
#034e21
Hue
144°
green
Saturation
93%
electric
Lightness
16%
deep
Brightness
31%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0558
WCAG relative
Temperature
Cool
73/100 cool
Color family
Green
Tone
Electric
Best ink
White
9.93:1
Closest name
Dark Green
ΔE2000 10.4
Where it sits
Hue144° of 360°
Saturation93%
Lightness16%
Temperature
Warm ← → Cool73% 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#034e21
RGBrgb(3, 78, 33)
HSLhsl(144, 93%, 16%)
CMYKcmyk(96%, 0%, 58%, 69%)
LABlab(28.3 -32.4 20.7)
LCHlch(28.3 38.4 147.4)
OKLCHoklch(0.371 0.100 150.1)
Decimal216609
Display P3color(display-p3 0.012 0.306 0.129)

Copy-ready code

/* CSS */
color: #034e21;
background-color: #034e21;
/* Tailwind (arbitrary) */
class="text-[#034e21] bg-[#034e21]"
/* SCSS */
$brand: #034e21;
/* SwiftUI */
Color(red: 0.012, green: 0.306, blue: 0.129)
/* Android */
Color.parseColor("#034e21")
/* Flutter */
Color(0xFF034E21)
/* Python / OpenCV (BGR) */
(33, 78, 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 #034e21 · 9.93:1
Use #ffffffAAA at every size.
Aa
White text · 9.93:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.12:1
AA fail · AA large fail · AAA fail
Reading the other direction: #034e21 as text scores 9.93:1 on white and 2.12:1 on black.

Accessibility — WCAG contrast

Aa
#034e21 on white: 9.93:1
AA ✓ pass · AA-large · AAA
Aa
#034e21 on black: 2.12:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4F461D
deuteranopia · #474124
tritanopia · #004C44

Color scale — 50 to 950

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

#F2FDF6
#E4FBED
#C2F9D8
#93FBBD
#5DF99B
#27F77A
#09EC64
#08C453
#069D42
#097133
#034e21
Base = 950Lightest = 50 · #F2FDF6Darkest = 950 · #034e21
:root {
  --brand-50: #F2FDF6;
  --brand-100: #E4FBED;
  --brand-200: #C2F9D8;
  --brand-300: #93FBBD;
  --brand-400: #5DF99B;
  --brand-500: #27F77A;
  --brand-600: #09EC64;
  --brand-700: #08C453;
  --brand-800: #069D42;
  --brand-900: #097133;
  --brand-950: #034e21;
  --brand: #034e21;
  --brand-ink: #ffffff;
}

Colors that work with #034e21

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#F4FAF7
Tinted page background
Border#C0EDD2
Hairlines and dividers
Muted text#4B9B6B
Captions on the surface
Accent#500144
Second voice, not a rival
Dark variant#057B34
Hover, pressed, headers
Light variant#E6FEF0
Selected rows, tints
Dark surface#14241A
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 #034e21

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#4E0330
Analogous left#0B4E03
Analogous right#034E47
Split-complement 1#47034E
Split-complement 2#4E030B
Triadic 1#21034E
Triadic 2#4E2103
Tetradic#030B4E

RGB percentages

Red1.2%
Green30.6%
Blue12.9%

CMYK percentages

Cyan96.2%
Magenta0.0%
Yellow57.7%
Key (black)69.4%

Color previews

#034e21 text on a black background

contrast 2.12:1

Card sample

#034e21 text on a white background

contrast 9.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #034e21

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.

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

#034e21, answered

What color is #034e21?

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

What is the RGB value of #034e21?

rgb(3, 78, 33) — 3 red, 78 green and 33 blue out of 255, or 1.2% / 30.6% / 12.9% by channel.

Is #034e21 a light or a dark color?

It is a dark color. Relative luminance is 0.0558 and perceived brightness is 24%, so white text on it reaches 9.93:1.

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

White. It scores 9.93:1 against #034e21, versus 2.12:1 for black — AAA at any size.

What is the complementary color of #034e21?

#4E0330 sits directly opposite on the wheel. Softer options are the split-complements #47034E and #4E030B, which give the same contrast with far less vibration.

What colors go well with #034e21?

For interface work: #F4FAF7 as the surface, #C0EDD2 for borders, #4B9B6B for secondary text, #500144 as an accent and #057B34 for hover and pressed states. For a palette, the analogous pair #0B4E03 and #034E47 stays calm, while #4E0330 is the loudest partner.

What is #034e21 in CMYK for printing?

cmyk(96%, 0%, 58%, 69%). 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 #034e21 warm or cool?

Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #034E06; nudged cooler, #024F3D.

Work with #034e21 in the Color Lab