Skip to content

#2f6021

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

RGB
47, 96, 33
HSL
107°, 49%, 25%
CMYK
51, 0, 66, 62
Luminance
0.0908

At a glance

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

Hex
#2f6021
Hue
107°
green
Saturation
49%
vivid
Lightness
25%
dark
Brightness
38%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0908
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Green
Tone
Vivid
Best ink
White
7.46:1
Closest name
Dark Green
ΔE2000 5.4
Where it sits
Hue107° of 360°
Saturation49%
Lightness25%
Temperature
Warm ← → Cool57% 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#2f6021
RGBrgb(47, 96, 33)
HSLhsl(107, 49%, 25%)
CMYKcmyk(51%, 0%, 66%, 62%)
LABlab(36.1 -29.8 30.2)
LCHlch(36.1 42.5 134.6)
OKLCHoklch(0.439 0.108 139.3)
Decimal3104801
Display P3color(display-p3 0.184 0.376 0.129)

Copy-ready code

/* CSS */
color: #2f6021;
background-color: #2f6021;
/* Tailwind (arbitrary) */
class="text-[#2f6021] bg-[#2f6021]"
/* SCSS */
$brand: #2f6021;
/* SwiftUI */
Color(red: 0.184, green: 0.376, blue: 0.129)
/* Android */
Color.parseColor("#2f6021")
/* Flutter */
Color(0xFF2F6021)
/* Python / OpenCV (BGR) */
(33, 96, 47)

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 #2f6021 · 7.46:1
Use #ffffffAAA at every size.
Aa
White text · 7.46:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.82:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2f6021 as text scores 7.46:1 on white and 2.82:1 on black.

Accessibility — WCAG contrast

Aa
#2f6021 on white: 7.46:1
AA ✓ pass · AA-large · AAA
Aa
#2f6021 on black: 2.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #63581A
deuteranopia · #5C5326
tritanopia · #2B5D53

Color scale — 50 to 950

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

#F6FAF4
#ECF6EA
#D6ECD0
#B8E2AC
#94D482
#70C658
#59B63F
#4A9834
#3B792A
#2f6021
#1D3715
Base = 900Lightest = 50 · #F6FAF4Darkest = 950 · #1D3715
:root {
  --brand-50: #F6FAF4;
  --brand-100: #ECF6EA;
  --brand-200: #D6ECD0;
  --brand-300: #B8E2AC;
  --brand-400: #94D482;
  --brand-500: #70C658;
  --brand-600: #59B63F;
  --brand-700: #4A9834;
  --brand-800: #3B792A;
  --brand-900: #2f6021;
  --brand-950: #1D3715;
  --brand: #2f6021;
  --brand-ink: #ffffff;
}

Colors that work with #2f6021

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#CBEAC2
Hairlines and dividers
Muted text#5C9B4B
Captions on the surface
Accent#421E63
Second voice, not a rival
Dark variant#2E5F21
Hover, pressed, headers
Light variant#EFF8EC
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 #2f6021

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#522160
Analogous left#4E6021
Analogous right#216033
Split-complement 1#332160
Split-complement 2#60214E
Triadic 1#212F60
Triadic 2#60212F
Tetradic#214E60

RGB percentages

Red18.4%
Green37.6%
Blue12.9%

CMYK percentages

Cyan51.0%
Magenta0.0%
Yellow65.6%
Key (black)62.4%

Color previews

#2f6021 text on a black background

contrast 2.82:1

Card sample

#2f6021 text on a white background

contrast 7.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2f6021;
Background color
Panel with #2f6021 background
background-color: #2f6021;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 96, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 96, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f6021;
background: linear-gradient(135deg, #2f6021, #21603D);

Monochromatic scale

Palettes built from #2f6021

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.

#2f6021 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.

#2f6021, answered

What color is #2f6021?

#2f6021 is a dark vivid green, closest to Dark Green (ΔE2000 5.4). It sits at 107° on the hue wheel with 49% saturation and 25% lightness, which reads as neutral.

What is the RGB value of #2f6021?

rgb(47, 96, 33) — 47 red, 96 green and 33 blue out of 255, or 18.4% / 37.6% / 12.9% by channel.

Is #2f6021 a light or a dark color?

It is a dark color. Relative luminance is 0.0908 and perceived brightness is 31%, so white text on it reaches 7.46:1.

Should I use black or white text on #2f6021?

White. It scores 7.46:1 against #2f6021, versus 2.82:1 for black — AAA at any size.

What is the complementary color of #2f6021?

#522160 sits directly opposite on the wheel. Softer options are the split-complements #332160 and #60214E, which give the same contrast with far less vibration.

What colors go well with #2f6021?

For interface work: #F6FAF4 as the surface, #CBEAC2 for borders, #5C9B4B for secondary text, #421E63 as an accent and #2E5F21 for hover and pressed states. For a palette, the analogous pair #4E6021 and #216033 stays calm, while #522160 is the loudest partner.

What is #2f6021 in CMYK for printing?

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

Is #2f6021 warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #466021; nudged cooler, #206129.

Work with #2f6021 in the Color Lab