Skip to content

#034f23

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

RGB
3, 79, 35
HSL
145°, 93%, 16%
CMYK
96, 0, 56, 69
Luminance
0.0573

At a glance

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

Hex
#034f23
Hue
145°
green
Saturation
93%
electric
Lightness
16%
deep
Brightness
31%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0573
WCAG relative
Temperature
Cool
73/100 cool
Color family
Green
Tone
Electric
Best ink
White
9.78:1
Closest name
Dark Green
ΔE2000 10.4
Where it sits
Hue145° 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#034f23
RGBrgb(3, 79, 35)
HSLhsl(145, 93%, 16%)
CMYKcmyk(96%, 0%, 56%, 69%)
LABlab(28.7 -32.4 20.0)
LCHlch(28.7 38.1 148.3)
OKLCHoklch(0.375 0.100 150.8)
Decimal216867
Display P3color(display-p3 0.012 0.310 0.137)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#034f23 on white: 9.78:1
AA ✓ pass · AA-large · AAA
Aa
#034f23 on black: 2.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4F471F
deuteranopia · #474126
tritanopia · #004D45

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #034f23 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
#E4FBEE
#C2F9DA
#93FBBF
#5DF99F
#27F77F
#09EC69
#07C557
#069D46
#097135
#034f23
Base = 950Lightest = 50 · #F2FDF6Darkest = 950 · #034f23
:root {
  --brand-50: #F2FDF6;
  --brand-100: #E4FBEE;
  --brand-200: #C2F9DA;
  --brand-300: #93FBBF;
  --brand-400: #5DF99F;
  --brand-500: #27F77F;
  --brand-600: #09EC69;
  --brand-700: #07C557;
  --brand-800: #069D46;
  --brand-900: #097135;
  --brand-950: #034f23;
  --brand: #034f23;
  --brand-ink: #ffffff;
}

Colors that work with #034f23

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#C0EDD3
Hairlines and dividers
Muted text#4B9B6C
Captions on the surface
Accent#510143
Second voice, not a rival
Dark variant#057B36
Hover, pressed, headers
Light variant#E6FEF0
Selected rows, tints
Dark surface#14241B
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 #034f23

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#4F032F
Analogous left#094F03
Analogous right#034F49
Split-complement 1#49034F
Split-complement 2#4F0309
Triadic 1#23034F
Triadic 2#4F2303
Tetradic#03094F

RGB percentages

Red1.2%
Green31.0%
Blue13.7%

CMYK percentages

Cyan96.2%
Magenta0.0%
Yellow55.7%
Key (black)69.0%

Color previews

#034f23 text on a black background

contrast 2.15:1

Card sample

#034f23 text on a white background

contrast 9.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #034f23

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.

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

#034f23, answered

What color is #034f23?

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

What is the RGB value of #034f23?

rgb(3, 79, 35) — 3 red, 79 green and 35 blue out of 255, or 1.2% / 31% / 13.7% by channel.

Is #034f23 a light or a dark color?

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

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

White. It scores 9.78:1 against #034f23, versus 2.15:1 for black — AAA at any size.

What is the complementary color of #034f23?

#4F032F sits directly opposite on the wheel. Softer options are the split-complements #49034F and #4F0309, which give the same contrast with far less vibration.

What colors go well with #034f23?

For interface work: #F4FAF7 as the surface, #C0EDD3 for borders, #4B9B6C for secondary text, #510143 as an accent and #057B36 for hover and pressed states. For a palette, the analogous pair #094F03 and #034F49 stays calm, while #4F032F is the loudest partner.

What is #034f23 in CMYK for printing?

cmyk(96%, 0%, 56%, 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 #034f23 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 #034F07; nudged cooler, #02503F.

Work with #034f23 in the Color Lab