Skip to content

#34ae21

a dark, vivid green · cool · closest name: Lime Green

RGB
52, 174, 33
HSL
112°, 68%, 41%
CMYK
70, 0, 81, 32
Luminance
0.3111

At a glance

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

Hex
#34ae21
Hue
112°
green
Saturation
68%
vivid
Lightness
41%
dark
Brightness
68%
HSV value
Perceived
54%
weighted brightness
Luminance
0.3111
WCAG relative
Temperature
Cool
59/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
7.22:1
Closest name
Lime Green
ΔE2000 8.3
Where it sits
Hue112° of 360°
Saturation68%
Lightness41%
Temperature
Warm ← → Cool59% 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#34ae21
RGBrgb(52, 174, 33)
HSLhsl(112, 68%, 41%)
CMYKcmyk(70%, 0%, 81%, 32%)
LABlab(62.6 -58.0 57.1)
LCHlch(62.6 81.5 135.5)
OKLCHoklch(0.659 0.203 141.3)
Decimal3452449
Display P3color(display-p3 0.204 0.682 0.129)

Copy-ready code

/* CSS */
color: #34ae21;
background-color: #34ae21;
/* Tailwind (arbitrary) */
class="text-[#34ae21] bg-[#34ae21]"
/* SCSS */
$brand: #34ae21;
/* SwiftUI */
Color(red: 0.204, green: 0.682, blue: 0.129)
/* Android */
Color.parseColor("#34ae21")
/* Flutter */
Color(0xFF34AE21)
/* Python / OpenCV (BGR) */
(33, 174, 52)

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#000000 on #34ae21 · 7.22:1
Use #000000AAA at every size.
Aa
White text · 2.91:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.22:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #34ae21 as text scores 2.91:1 on white and 7.22:1 on black.

Accessibility — WCAG contrast

Aa
#34ae21 on white: 2.91:1
AA ✗ fail · AA-large · AAA
Aa
#34ae21 on black: 7.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B29D00
deuteranopia · #A49433
tritanopia · #16A894

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #34ae21 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4FBF3
#EAF8E8
#CFF2CA
#ABEDA1
#81E472
#57DB42
#3ECE27
#34ae21
#29891A
#216417
#153E0E
Base = 700Lightest = 50 · #F4FBF3Darkest = 950 · #153E0E
:root {
  --brand-50: #F4FBF3;
  --brand-100: #EAF8E8;
  --brand-200: #CFF2CA;
  --brand-300: #ABEDA1;
  --brand-400: #81E472;
  --brand-500: #57DB42;
  --brand-600: #3ECE27;
  --brand-700: #34ae21;
  --brand-800: #29891A;
  --brand-900: #216417;
  --brand-950: #153E0E;
  --brand: #34ae21;
  --brand-ink: #000000;
}

Colors that work with #34ae21

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F5FAF4
Tinted page background
Border#C6EDC0
Hairlines and dividers
Muted text#559B4B
Captions on the surface
Accent#791DB2
Second voice, not a rival
Dark variant#206B14
Hover, pressed, headers
Light variant#ECFBEA
Selected rows, tints
Dark surface#162414
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 #34ae21

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • 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 of any size on white — fails WCAG AA
  • 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#9B21AE
Analogous left#7BAE21
Analogous right#21AE54
Split-complement 1#5421AE
Split-complement 2#AE217B
Triadic 1#2134AE
Triadic 2#AE2134
Tetradic#217BAE

RGB percentages

Red20.4%
Green68.2%
Blue12.9%

CMYK percentages

Cyan70.1%
Magenta0.0%
Yellow81.0%
Key (black)31.8%

Color previews

#34ae21 text on a black background

contrast 7.22:1

Card sample

#34ae21 text on a white background

contrast 2.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #34ae21;
Background color
Panel with #34ae21 background
background-color: #34ae21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #34ae21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(52, 174, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(52, 174, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #34ae21;
background: linear-gradient(135deg, #34ae21, #21AE6C);

Monochromatic scale

Palettes built from #34ae21

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.

#34ae21 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

Converts to four-color process without much drama. Proof it anyway.

#34ae21, answered

What color is #34ae21?

#34ae21 is a dark vivid green, closest to Lime Green (ΔE2000 8.3). It sits at 112° on the hue wheel with 68% saturation and 41% lightness, which reads as cool.

What is the RGB value of #34ae21?

rgb(52, 174, 33) — 52 red, 174 green and 33 blue out of 255, or 20.4% / 68.2% / 12.9% by channel.

Is #34ae21 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3111 and perceived brightness is 54%, so black text on it reaches 7.22:1.

Should I use black or white text on #34ae21?

Black. It scores 7.22:1 against #34ae21, versus 2.91:1 for white — AAA at any size.

What is the complementary color of #34ae21?

#9B21AE sits directly opposite on the wheel. Softer options are the split-complements #5421AE and #AE217B, which give the same contrast with far less vibration.

What colors go well with #34ae21?

For interface work: #F5FAF4 as the surface, #C6EDC0 for borders, #559B4B for secondary text, #791DB2 as an accent and #206B14 for hover and pressed states. For a palette, the analogous pair #7BAE21 and #21AE54 stays calm, while #9B21AE is the loudest partner.

What is #34ae21 in CMYK for printing?

cmyk(70%, 0%, 81%, 32%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #34ae21 warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #68AE21; nudged cooler, #1FB041.

Work with #34ae21 in the Color Lab