Skip to content

#2f910c

a dark, electric green · neutral · closest name: Forest Green

RGB
47, 145, 12
HSL
104°, 85%, 31%
CMYK
68, 0, 92, 43
Luminance
0.2088

At a glance

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

Hex
#2f910c
Hue
104°
green
Saturation
85%
electric
Lightness
31%
dark
Brightness
57%
HSV value
Perceived
45%
weighted brightness
Luminance
0.2088
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Green
Tone
Electric
Best ink
Black
5.18:1
Closest name
Forest Green
ΔE2000 3.5
Where it sits
Hue104° of 360°
Saturation85%
Lightness31%
Temperature
Warm ← → Cool56% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#2f910c
RGBrgb(47, 145, 12)
HSLhsl(104, 85%, 31%)
CMYKcmyk(68%, 0%, 92%, 43%)
LABlab(52.8 -50.3 53.4)
LCHlch(52.8 73.4 133.3)
OKLCHoklch(0.577 0.181 139.9)
Decimal3117324
Display P3color(display-p3 0.184 0.569 0.047)

Copy-ready code

/* CSS */
color: #2f910c;
background-color: #2f910c;
/* Tailwind (arbitrary) */
class="text-[#2f910c] bg-[#2f910c]"
/* SCSS */
$brand: #2f910c;
/* SwiftUI */
Color(red: 0.184, green: 0.569, blue: 0.047)
/* Android */
Color.parseColor("#2f910c")
/* Flutter */
Color(0xFF2F910C)
/* Python / OpenCV (BGR) */
(12, 145, 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 #2f910c · 5.18: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.18:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #2f910c as text scores 4.06:1 on white and 5.18:1 on black.

Accessibility — WCAG contrast

Aa
#2f910c on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#2f910c on black: 5.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #958300
deuteranopia · #8A7B21
tritanopia · #1E8C7B

Color scale — 50 to 950

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

#F5FCF2
#EBFAE5
#D2F7C5
#B0F697
#89F264
#62EE30
#49E213
#3DBC10
#2f910c
#276D0E
#184408
Base = 800Lightest = 50 · #F5FCF2Darkest = 950 · #184408
:root {
  --brand-50: #F5FCF2;
  --brand-100: #EBFAE5;
  --brand-200: #D2F7C5;
  --brand-300: #B0F697;
  --brand-400: #89F264;
  --brand-500: #62EE30;
  --brand-600: #49E213;
  --brand-700: #3DBC10;
  --brand-800: #2f910c;
  --brand-900: #276D0E;
  --brand-950: #184408;
  --brand: #2f910c;
  --brand-ink: #000000;
}

Colors that work with #2f910c

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#F6FAF4
Tinted page background
Border#CCEDC0
Hairlines and dividers
Muted text#609B4B
Captions on the surface
Accent#4D0994
Second voice, not a rival
Dark variant#26760A
Hover, pressed, headers
Light variant#EDFDE7
Selected rows, tints
Dark surface#182414
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 #2f910c

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#6E0C91
Analogous left#72910C
Analogous right#0C912C
Split-complement 1#2C0C91
Split-complement 2#910C72
Triadic 1#0C2F91
Triadic 2#910C2F
Tetradic#0C7291

RGB percentages

Red18.4%
Green56.9%
Blue4.7%

CMYK percentages

Cyan67.6%
Magenta0.0%
Yellow91.7%
Key (black)43.1%

Color previews

#2f910c text on a black background

contrast 5.18:1

Card sample

#2f910c text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f910c

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.

#2f910c 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#2f910c, answered

What color is #2f910c?

#2f910c is a dark electric green, closest to Forest Green (ΔE2000 3.5). It sits at 104° on the hue wheel with 85% saturation and 31% lightness, which reads as neutral.

What is the RGB value of #2f910c?

rgb(47, 145, 12) — 47 red, 145 green and 12 blue out of 255, or 18.4% / 56.9% / 4.7% by channel.

Is #2f910c a light or a dark color?

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

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

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

What is the complementary color of #2f910c?

#6E0C91 sits directly opposite on the wheel. Softer options are the split-complements #2C0C91 and #910C72, which give the same contrast with far less vibration.

What colors go well with #2f910c?

For interface work: #F6FAF4 as the surface, #CCEDC0 for borders, #609B4B for secondary text, #4D0994 as an accent and #26760A for hover and pressed states. For a palette, the analogous pair #72910C and #0C912C stays calm, while #6E0C91 is the loudest partner.

What is #2f910c in CMYK for printing?

cmyk(68%, 0%, 92%, 43%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #2f910c warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #60910C; nudged cooler, #0A9319.

Work with #2f910c in the Color Lab