Skip to content

#306c21

a dark, vivid green · neutral · closest name: Dark Green

RGB
48, 108, 33
HSL
108°, 53%, 28%
CMYK
56, 0, 69, 58
Luminance
0.1146

At a glance

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

Hex
#306c21
Hue
108°
green
Saturation
53%
vivid
Lightness
28%
dark
Brightness
42%
HSV value
Perceived
34%
weighted brightness
Luminance
0.1146
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Green
Tone
Vivid
Best ink
White
6.38:1
Closest name
Dark Green
ΔE2000 4.8
Where it sits
Hue108° of 360°
Saturation53%
Lightness28%
Temperature
Warm ← → Cool58% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#306c21
RGBrgb(48, 108, 33)
HSLhsl(108, 53%, 28%)
CMYKcmyk(56%, 0%, 69%, 58%)
LABlab(40.4 -34.8 34.9)
LCHlch(40.4 49.2 134.9)
OKLCHoklch(0.474 0.125 139.9)
Decimal3173409
Display P3color(display-p3 0.188 0.424 0.129)

Copy-ready code

/* CSS */
color: #306c21;
background-color: #306c21;
/* Tailwind (arbitrary) */
class="text-[#306c21] bg-[#306c21]"
/* SCSS */
$brand: #306c21;
/* SwiftUI */
Color(red: 0.188, green: 0.424, blue: 0.129)
/* Android */
Color.parseColor("#306c21")
/* Flutter */
Color(0xFF306C21)
/* Python / OpenCV (BGR) */
(33, 108, 48)

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

Accessibility — WCAG contrast

Aa
#306c21 on white: 6.38:1
AA ✓ pass · AA-large · AAA
Aa
#306c21 on black: 3.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #6F6217
deuteranopia · #675D28
tritanopia · #2A685D

Color scale — 50 to 950

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

#F5FBF4
#ECF6E9
#D5EDCE
#B5E5A9
#90D87E
#6BCA53
#53BC39
#459C30
#387D26
#306c21
#1B3914
Base = 900Lightest = 50 · #F5FBF4Darkest = 950 · #1B3914
:root {
  --brand-50: #F5FBF4;
  --brand-100: #ECF6E9;
  --brand-200: #D5EDCE;
  --brand-300: #B5E5A9;
  --brand-400: #90D87E;
  --brand-500: #6BCA53;
  --brand-600: #53BC39;
  --brand-700: #459C30;
  --brand-800: #387D26;
  --brand-900: #306c21;
  --brand-950: #1B3914;
  --brand: #306c21;
  --brand-ink: #ffffff;
}

Colors that work with #306c21

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#F6FAF4
Tinted page background
Border#C9ECC0
Hairlines and dividers
Muted text#5B9B4B
Captions on the surface
Accent#4A1E6F
Second voice, not a rival
Dark variant#2B621E
Hover, pressed, headers
Light variant#EEF9EB
Selected rows, tints
Dark surface#172414
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 #306c21

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#5D216C
Analogous left#556C21
Analogous right#216C37
Split-complement 1#37216C
Split-complement 2#6C2155
Triadic 1#21306C
Triadic 2#6C2130
Tetradic#21556C

RGB percentages

Red18.8%
Green42.4%
Blue12.9%

CMYK percentages

Cyan55.6%
Magenta0.0%
Yellow69.4%
Key (black)57.6%

Color previews

#306c21 text on a black background

contrast 3.29:1

Card sample

#306c21 text on a white background

contrast 6.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #306c21;
Background color
Panel with #306c21 background
background-color: #306c21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #306c21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(48, 108, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 108, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #306c21;
background: linear-gradient(135deg, #306c21, #216C44);

Monochromatic scale

Palettes built from #306c21

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.

#306c21 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.

#306c21, answered

What color is #306c21?

#306c21 is a dark vivid green, closest to Dark Green (ΔE2000 4.8). It sits at 108° on the hue wheel with 53% saturation and 28% lightness, which reads as neutral.

What is the RGB value of #306c21?

rgb(48, 108, 33) — 48 red, 108 green and 33 blue out of 255, or 18.8% / 42.4% / 12.9% by channel.

Is #306c21 a light or a dark color?

It is a dark color. Relative luminance is 0.1146 and perceived brightness is 34%, so white text on it reaches 6.38:1.

Should I use black or white text on #306c21?

White. It scores 6.38:1 against #306c21, versus 3.29:1 for black — AA at any size.

What is the complementary color of #306c21?

#5D216C sits directly opposite on the wheel. Softer options are the split-complements #37216C and #6C2155, which give the same contrast with far less vibration.

What colors go well with #306c21?

For interface work: #F6FAF4 as the surface, #C9ECC0 for borders, #5B9B4B for secondary text, #4A1E6F as an accent and #2B621E for hover and pressed states. For a palette, the analogous pair #556C21 and #216C37 stays calm, while #5D216C is the loudest partner.

What is #306c21 in CMYK for printing?

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

Is #306c21 warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4B6C21; nudged cooler, #206D2C.

Work with #306c21 in the Color Lab