Skip to content

#2f9039

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

RGB
47, 144, 57
HSL
126°, 51%, 38%
CMYK
67, 0, 60, 44
Luminance
0.2085

At a glance

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

Hex
#2f9039
Hue
126°
green
Saturation
51%
vivid
Lightness
38%
dark
Brightness
56%
HSV value
Perceived
45%
weighted brightness
Luminance
0.2085
WCAG relative
Temperature
Cool
65/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
5.17:1
Closest name
Forest Green
ΔE2000 3.3
Where it sits
Hue126° of 360°
Saturation51%
Lightness38%
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#2f9039
RGBrgb(47, 144, 57)
HSLhsl(126, 51%, 38%)
CMYKcmyk(67%, 0%, 60%, 44%)
LABlab(52.8 -46.5 37.5)
LCHlch(52.8 59.7 141.1)
OKLCHoklch(0.577 0.154 144.9)
Decimal3117113
Display P3color(display-p3 0.184 0.565 0.224)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f9039 on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#2f9039 on black: 5.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #928330
deuteranopia · #877B40
tritanopia · #148C7D

Color scale — 50 to 950

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

#F4FAF5
#EAF6EB
#CFEDD2
#AAE3B0
#80D689
#56C862
#3CB949
#2f9039
#287B31
#215A27
#143818
Base = 700Lightest = 50 · #F4FAF5Darkest = 950 · #143818
:root {
  --brand-50: #F4FAF5;
  --brand-100: #EAF6EB;
  --brand-200: #CFEDD2;
  --brand-300: #AAE3B0;
  --brand-400: #80D689;
  --brand-500: #56C862;
  --brand-600: #3CB949;
  --brand-700: #2f9039;
  --brand-800: #287B31;
  --brand-900: #215A27;
  --brand-950: #143818;
  --brand: #2f9039;
  --brand-ink: #000000;
}

Colors that work with #2f9039

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#C1EBC6
Hairlines and dividers
Muted text#4B9B53
Captions on the surface
Accent#852B94
Second voice, not a rival
Dark variant#1F6026
Hover, pressed, headers
Light variant#ECF9ED
Selected rows, tints
Dark surface#142415
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 #2f9039

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#902F86
Analogous left#56902F
Analogous right#2F906A
Split-complement 1#6A2F90
Split-complement 2#902F56
Triadic 1#392F90
Triadic 2#90392F
Tetradic#2F5690

RGB percentages

Red18.4%
Green56.5%
Blue22.4%

CMYK percentages

Cyan67.4%
Magenta0.0%
Yellow60.4%
Key (black)43.5%

Color previews

#2f9039 text on a black background

contrast 5.17:1

Card sample

#2f9039 text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f9039

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.

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

#2f9039, answered

What color is #2f9039?

#2f9039 is a dark vivid green, closest to Forest Green (ΔE2000 3.3). It sits at 126° on the hue wheel with 51% saturation and 38% lightness, which reads as cool.

What is the RGB value of #2f9039?

rgb(47, 144, 57) — 47 red, 144 green and 57 blue out of 255, or 18.4% / 56.5% / 22.4% by channel.

Is #2f9039 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2085 and perceived brightness is 45%, so black text on it reaches 5.17:1.

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

Black. It scores 5.17:1 against #2f9039, versus 4.06:1 for white — AA at any size.

What is the complementary color of #2f9039?

#902F86 sits directly opposite on the wheel. Softer options are the split-complements #6A2F90 and #902F56, which give the same contrast with far less vibration.

What colors go well with #2f9039?

For interface work: #F4FAF5 as the surface, #C1EBC6 for borders, #4B9B53 for secondary text, #852B94 as an accent and #1F6026 for hover and pressed states. For a palette, the analogous pair #56902F and #2F906A stays calm, while #902F86 is the loudest partner.

What is #2f9039 in CMYK for printing?

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

Is #2f9039 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 #49902F; nudged cooler, #2D925D.

Work with #2f9039 in the Color Lab