Skip to content

#2f9b3b

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

RGB
47, 155, 59
HSL
127°, 54%, 40%
CMYK
70, 0, 62, 39
Luminance
0.2436

At a glance

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

Hex
#2f9b3b
Hue
127°
green
Saturation
54%
vivid
Lightness
40%
dark
Brightness
61%
HSV value
Perceived
48%
weighted brightness
Luminance
0.2436
WCAG relative
Temperature
Cool
65/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
5.87:1
Closest name
Forest Green
ΔE2000 5.9
Where it sits
Hue127° of 360°
Saturation54%
Lightness40%
Temperature
Warm ← → Cool65% 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#2f9b3b
RGBrgb(47, 155, 59)
HSLhsl(127, 54%, 40%)
CMYKcmyk(70%, 0%, 62%, 39%)
LABlab(56.5 -50.2 40.7)
LCHlch(56.5 64.7 141.0)
OKLCHoklch(0.608 0.166 144.9)
Decimal3119931
Display P3color(display-p3 0.184 0.608 0.231)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f9b3b on white: 3.58:1
AA ✗ fail · AA-large · AAA
Aa
#2f9b3b on black: 5.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9E8D30
deuteranopia · #918443
tritanopia · #099786

Color scale — 50 to 950

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

#F4FBF5
#E9F6EB
#CEEDD2
#A9E5B0
#7ED888
#53CB60
#39BC48
#2f9b3b
#267D30
#1F5B26
#133918
Base = 700Lightest = 50 · #F4FBF5Darkest = 950 · #133918
:root {
  --brand-50: #F4FBF5;
  --brand-100: #E9F6EB;
  --brand-200: #CEEDD2;
  --brand-300: #A9E5B0;
  --brand-400: #7ED888;
  --brand-500: #53CB60;
  --brand-600: #39BC48;
  --brand-700: #2f9b3b;
  --brand-800: #267D30;
  --brand-900: #1F5B26;
  --brand-950: #133918;
  --brand: #2f9b3b;
  --brand-ink: #000000;
}

Colors that work with #2f9b3b

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#F4FAF5
Tinted page background
Border#C0ECC5
Hairlines and dividers
Muted text#4B9B54
Captions on the surface
Accent#8F2B9F
Second voice, not a rival
Dark variant#1E6225
Hover, pressed, headers
Light variant#EBF9ED
Selected rows, tints
Dark surface#142416
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 #2f9b3b

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#9B2F8F
Analogous left#599B2F
Analogous right#2F9B71
Split-complement 1#712F9B
Split-complement 2#9B2F59
Triadic 1#3B2F9B
Triadic 2#9B3B2F
Tetradic#2F599B

RGB percentages

Red18.4%
Green60.8%
Blue23.1%

CMYK percentages

Cyan69.7%
Magenta0.0%
Yellow61.9%
Key (black)39.2%

Color previews

#2f9b3b text on a black background

contrast 5.87:1

Card sample

#2f9b3b text on a white background

contrast 3.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f9b3b

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.

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

#2f9b3b, answered

What color is #2f9b3b?

#2f9b3b is a dark vivid green, closest to Forest Green (ΔE2000 5.9). It sits at 127° on the hue wheel with 54% saturation and 40% lightness, which reads as cool.

What is the RGB value of #2f9b3b?

rgb(47, 155, 59) — 47 red, 155 green and 59 blue out of 255, or 18.4% / 60.8% / 23.1% by channel.

Is #2f9b3b a light or a dark color?

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

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

Black. It scores 5.87:1 against #2f9b3b, versus 3.58:1 for white — AA at any size.

What is the complementary color of #2f9b3b?

#9B2F8F sits directly opposite on the wheel. Softer options are the split-complements #712F9B and #9B2F59, which give the same contrast with far less vibration.

What colors go well with #2f9b3b?

For interface work: #F4FAF5 as the surface, #C0ECC5 for borders, #4B9B54 for secondary text, #8F2B9F as an accent and #1E6225 for hover and pressed states. For a palette, the analogous pair #599B2F and #2F9B71 stays calm, while #9B2F8F is the loudest partner.

What is #2f9b3b in CMYK for printing?

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

Is #2f9b3b warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4B9B2F; nudged cooler, #2D9D63.

Work with #2f9b3b in the Color Lab