Skip to content

#309c21

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

RGB
48, 156, 33
HSL
113°, 65%, 37%
CMYK
69, 0, 79, 39
Luminance
0.2452

At a glance

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

Hex
#309c21
Hue
113°
green
Saturation
65%
vivid
Lightness
37%
dark
Brightness
61%
HSV value
Perceived
48%
weighted brightness
Luminance
0.2452
WCAG relative
Temperature
Cool
59/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
5.90:1
Closest name
Forest Green
ΔE2000 6.1
Where it sits
Hue113° of 360°
Saturation65%
Lightness37%
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#309c21
RGBrgb(48, 156, 33)
HSLhsl(113, 65%, 37%)
CMYKcmyk(69%, 0%, 79%, 39%)
LABlab(56.6 -52.8 51.4)
LCHlch(56.6 73.7 135.8)
OKLCHoklch(0.609 0.184 141.4)
Decimal3185697
Display P3color(display-p3 0.188 0.612 0.129)

Copy-ready code

/* CSS */
color: #309c21;
background-color: #309c21;
/* Tailwind (arbitrary) */
class="text-[#309c21] bg-[#309c21]"
/* SCSS */
$brand: #309c21;
/* SwiftUI */
Color(red: 0.188, green: 0.612, blue: 0.129)
/* Android */
Color.parseColor("#309c21")
/* Flutter */
Color(0xFF309C21)
/* Python / OpenCV (BGR) */
(33, 156, 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#000000 on #309c21 · 5.90:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.56:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.90:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #309c21 as text scores 3.56:1 on white and 5.90:1 on black.

Accessibility — WCAG contrast

Aa
#309c21 on white: 3.56:1
AA ✗ fail · AA-large · AAA
Aa
#309c21 on black: 5.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A08D00
deuteranopia · #93842F
tritanopia · #189785

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #309c21 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
#EAF7E8
#CFF1CB
#ABEBA2
#81E274
#58D846
#3ECA2B
#309c21
#29871C
#216219
#153D0F
Base = 700Lightest = 50 · #F4FBF3Darkest = 950 · #153D0F
:root {
  --brand-50: #F4FBF3;
  --brand-100: #EAF7E8;
  --brand-200: #CFF1CB;
  --brand-300: #ABEBA2;
  --brand-400: #81E274;
  --brand-500: #58D846;
  --brand-600: #3ECA2B;
  --brand-700: #309c21;
  --brand-800: #29871C;
  --brand-900: #216219;
  --brand-950: #153D0F;
  --brand: #309c21;
  --brand-ink: #000000;
}

Colors that work with #309c21

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#C5EDC0
Hairlines and dividers
Muted text#549B4B
Captions on the surface
Accent#6F1DA0
Second voice, not a rival
Dark variant#206916
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 #309c21

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

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#8D219C
Analogous left#6E9C21
Analogous right#219C50
Split-complement 1#50219C
Split-complement 2#9C216E
Triadic 1#21309C
Triadic 2#9C2130
Tetradic#216E9C

RGB percentages

Red18.8%
Green61.2%
Blue12.9%

CMYK percentages

Cyan69.2%
Magenta0.0%
Yellow78.8%
Key (black)38.8%

Color previews

#309c21 text on a black background

contrast 5.90:1

Card sample

#309c21 text on a white background

contrast 3.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #309c21

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.

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

#309c21, answered

What color is #309c21?

#309c21 is a dark vivid green, closest to Forest Green (ΔE2000 6.1). It sits at 113° on the hue wheel with 65% saturation and 37% lightness, which reads as cool.

What is the RGB value of #309c21?

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

Is #309c21 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2452 and perceived brightness is 48%, so black text on it reaches 5.90:1.

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

Black. It scores 5.90:1 against #309c21, versus 3.56:1 for white — AA at any size.

What is the complementary color of #309c21?

#8D219C sits directly opposite on the wheel. Softer options are the split-complements #50219C and #9C216E, which give the same contrast with far less vibration.

What colors go well with #309c21?

For interface work: #F5FAF4 as the surface, #C5EDC0 for borders, #549B4B for secondary text, #6F1DA0 as an accent and #206916 for hover and pressed states. For a palette, the analogous pair #6E9C21 and #219C50 stays calm, while #8D219C is the loudest partner.

What is #309c21 in CMYK for printing?

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

Is #309c21 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 #5D9C21; nudged cooler, #1F9E3E.

Work with #309c21 in the Color Lab