Skip to content

#2f6c4f

a dark, soft green · cool · closest name: Sea Green

RGB
47, 108, 79
HSL
152°, 39%, 30%
CMYK
57, 0, 27, 58
Luminance
0.1189

At a glance

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

Hex
#2f6c4f
Hue
152°
green
Saturation
39%
soft
Lightness
30%
dark
Brightness
42%
HSV value
Perceived
36%
weighted brightness
Luminance
0.1189
WCAG relative
Temperature
Cool
76/100 cool
Color family
Green
Tone
Soft
Best ink
White
6.22:1
Closest name
Sea Green
ΔE2000 11.9
Where it sits
Hue152° of 360°
Saturation39%
Lightness30%
Temperature
Warm ← → Cool76% 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#2f6c4f
RGBrgb(47, 108, 79)
HSLhsl(152, 39%, 30%)
CMYKcmyk(57%, 0%, 27%, 58%)
LABlab(41.0 -27.3 10.4)
LCHlch(41.0 29.2 159.2)
OKLCHoklch(0.482 0.080 160.6)
Decimal3107919
Display P3color(display-p3 0.184 0.424 0.310)

Copy-ready code

/* CSS */
color: #2f6c4f;
background-color: #2f6c4f;
/* Tailwind (arbitrary) */
class="text-[#2f6c4f] bg-[#2f6c4f]"
/* SCSS */
$brand: #2f6c4f;
/* SwiftUI */
Color(red: 0.184, green: 0.424, blue: 0.310)
/* Android */
Color.parseColor("#2f6c4f")
/* Flutter */
Color(0xFF2F6C4F)
/* Python / OpenCV (BGR) */
(79, 108, 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 #2f6c4f · 6.22:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.22:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.38:1
AA fail · AA large pass · AAA fail
Reading the other direction: #2f6c4f as text scores 6.22:1 on white and 3.38:1 on black.

Accessibility — WCAG contrast

Aa
#2f6c4f on white: 6.22:1
AA ✓ pass · AA-large · AAA
Aa
#2f6c4f on black: 3.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #6B654D
deuteranopia · #625E51
tritanopia · #1A6C64

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2f6c4f is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5FAF7
#EBF4F0
#D2E9DE
#B1DDC8
#8ACCAD
#63BB91
#4AAB7D
#3E8E68
#2f6c4f
#27533E
#183427
Base = 800Lightest = 50 · #F5FAF7Darkest = 950 · #183427
:root {
  --brand-50: #F5FAF7;
  --brand-100: #EBF4F0;
  --brand-200: #D2E9DE;
  --brand-300: #B1DDC8;
  --brand-400: #8ACCAD;
  --brand-500: #63BB91;
  --brand-600: #4AAB7D;
  --brand-700: #3E8E68;
  --brand-800: #2f6c4f;
  --brand-900: #27533E;
  --brand-950: #183427;
  --brand: #2f6c4f;
  --brand-ink: #ffffff;
}

Colors that work with #2f6c4f

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#F4FAF8
Tinted page background
Border#C6E6D7
Hairlines and dividers
Muted text#4B9B75
Captions on the surface
Accent#6F2C5D
Second voice, not a rival
Dark variant#275941
Hover, pressed, headers
Light variant#EDF7F3
Selected rows, tints
Dark surface#14241C
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 #2f6c4f

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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#6C2F4C
Analogous left#2F6C31
Analogous right#2F6B6C
Split-complement 1#6C2F6B
Split-complement 2#6C312F
Triadic 1#4F2F6C
Triadic 2#6C4F2F
Tetradic#312F6C

RGB percentages

Red18.4%
Green42.4%
Blue31.0%

CMYK percentages

Cyan56.5%
Magenta0.0%
Yellow26.9%
Key (black)57.6%

Color previews

#2f6c4f text on a black background

contrast 3.38:1

Card sample

#2f6c4f text on a white background

contrast 6.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f6c4f

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.

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

#2f6c4f, answered

What color is #2f6c4f?

#2f6c4f is a dark soft green, closest to Sea Green (ΔE2000 11.9). It sits at 152° on the hue wheel with 39% saturation and 30% lightness, which reads as cool.

What is the RGB value of #2f6c4f?

rgb(47, 108, 79) — 47 red, 108 green and 79 blue out of 255, or 18.4% / 42.4% / 31% by channel.

Is #2f6c4f a light or a dark color?

It is a dark color. Relative luminance is 0.1189 and perceived brightness is 36%, so white text on it reaches 6.22:1.

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

White. It scores 6.22:1 against #2f6c4f, versus 3.38:1 for black — AA at any size.

What is the complementary color of #2f6c4f?

#6C2F4C sits directly opposite on the wheel. Softer options are the split-complements #6C2F6B and #6C312F, which give the same contrast with far less vibration.

What colors go well with #2f6c4f?

For interface work: #F4FAF8 as the surface, #C6E6D7 for borders, #4B9B75 for secondary text, #6F2C5D as an accent and #275941 for hover and pressed states. For a palette, the analogous pair #2F6C31 and #2F6B6C stays calm, while #6C2F4C is the loudest partner.

What is #2f6c4f in CMYK for printing?

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

Is #2f6c4f warm or cool?

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2F6C39; nudged cooler, #2D6E67.

Work with #2f6c4f in the Color Lab