Skip to content

#2f6f4f

a dark, soft green · cool · closest name: seagreen

RGB
47, 111, 79
HSL
150°, 41%, 31%
CMYK
58, 0, 29, 57
Luminance
0.1254

Every format

HEX#2f6f4f
RGBrgb(47, 111, 79)
HSLhsl(150, 41%, 31%)
CMYKcmyk(58%, 0%, 29%, 57%)
LABlab(42.1 -28.7 11.8)
LCHlch(42.1 31.0 157.7)
OKLCHoklch(0.490 0.084 159.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f6f4f on white: 5.99:1
AA ✓ pass · AA-large · AAA
Aa
#2f6f4f on black: 3.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green43.5%
Blue31.0%

CMYK percentages

Cyan57.7%
Magenta0.0%
Yellow28.8%
Key (black)56.5%

Color previews

#2f6f4f text on a black background

contrast 3.51:1

Card sample

#2f6f4f text on a white background

contrast 5.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f6f4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f6f4f in the Color Lab