Skip to content

#2f3d09

a deep, vivid green · cool · closest name: darkslategray

RGB
47, 61, 9
HSL
76°, 74%, 14%
CMYK
23, 0, 85, 76
Luminance
0.0396

Every format

HEX#2f3d09
RGBrgb(47, 61, 9)
HSLhsl(76, 74%, 14%)
CMYKcmyk(23%, 0%, 85%, 76%)
LABlab(23.5 -14.4 28.1)
LCHlch(23.5 31.6 117.1)
OKLCHoklch(0.336 0.075 123.8)

Copy-ready code

/* CSS */
color: #2f3d09;
background-color: #2f3d09;
/* Tailwind (arbitrary) */
class="text-[#2f3d09] bg-[#2f3d09]"
/* SCSS */
$brand: #2f3d09;
/* SwiftUI */
Color(red: 0.184, green: 0.239, blue: 0.035)
/* Android */
Color.parseColor("#2f3d09")

Accessibility — WCAG contrast

Aa
#2f3d09 on white: 11.72:1
AA ✓ pass · AA-large · AAA
Aa
#2f3d09 on black: 1.79:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green23.9%
Blue3.5%

CMYK percentages

Cyan23.0%
Magenta0.0%
Yellow85.2%
Key (black)76.1%

Color previews

#2f3d09 text on a black background

contrast 1.79:1

Card sample

#2f3d09 text on a white background

contrast 11.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 61, 9, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 61, 9, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f3d09;
background: linear-gradient(135deg, #2f3d09, #0C3D09);

Monochromatic scale

Palettes built from #2f3d09

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f3d09 in the Color Lab