Skip to content

#2b6708

a deep, electric green · neutral · closest name: Dark Green

RGB
43, 103, 8
HSL
98°, 86%, 22%
CMYK
58, 0, 92, 60
Luminance
0.1023

At a glance

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

Hex
#2b6708
Hue
98°
green
Saturation
86%
electric
Lightness
22%
deep
Brightness
40%
HSV value
Perceived
32%
weighted brightness
Luminance
0.1023
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Green
Tone
Electric
Best ink
White
6.89:1
Closest name
Dark Green
ΔE2000 3.3
Where it sits
Hue98° of 360°
Saturation86%
Lightness22%
Temperature
Warm ← → Cool53% 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#2b6708
RGBrgb(43, 103, 8)
HSLhsl(98, 86%, 22%)
CMYKcmyk(58%, 0%, 92%, 60%)
LABlab(38.3 -36.0 41.7)
LCHlch(38.3 55.1 130.8)
OKLCHoklch(0.456 0.135 137.7)
Decimal2844424
Display P3color(display-p3 0.169 0.404 0.031)

Copy-ready code

/* CSS */
color: #2b6708;
background-color: #2b6708;
/* Tailwind (arbitrary) */
class="text-[#2b6708] bg-[#2b6708]"
/* SCSS */
$brand: #2b6708;
/* SwiftUI */
Color(red: 0.169, green: 0.404, blue: 0.031)
/* Android */
Color.parseColor("#2b6708")
/* Flutter */
Color(0xFF2B6708)
/* Python / OpenCV (BGR) */
(8, 103, 43)

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 #2b6708 · 6.89:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.89:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.05:1
AA fail · AA large pass · AAA fail
Reading the other direction: #2b6708 as text scores 6.89:1 on white and 3.05:1 on black.

Accessibility — WCAG contrast

Aa
#2b6708 on white: 6.89:1
AA ✓ pass · AA-large · AAA
Aa
#2b6708 on black: 3.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #6B5D00
deuteranopia · #635816
tritanopia · #266357

Color scale — 50 to 950

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

#F6FDF2
#EDFAE5
#D7F7C5
#BAF797
#98F363
#76EF2F
#5FE312
#4FBD0F
#3F970C
#2b6708
#1E4408
Base = 900Lightest = 50 · #F6FDF2Darkest = 950 · #1E4408
:root {
  --brand-50: #F6FDF2;
  --brand-100: #EDFAE5;
  --brand-200: #D7F7C5;
  --brand-300: #BAF797;
  --brand-400: #98F363;
  --brand-500: #76EF2F;
  --brand-600: #5FE312;
  --brand-700: #4FBD0F;
  --brand-800: #3F970C;
  --brand-900: #2b6708;
  --brand-950: #1E4408;
  --brand: #2b6708;
  --brand-ink: #ffffff;
}

Colors that work with #2b6708

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#F7FAF4
Tinted page background
Border#D0EDC0
Hairlines and dividers
Muted text#689B4B
Captions on the surface
Accent#2C0669
Second voice, not a rival
Dark variant#317609
Hover, pressed, headers
Light variant#EFFDE7
Selected rows, tints
Dark surface#1A2414
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 #2b6708

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

Works well for
  • Body text and links on white
  • 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
  • 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#440867
Analogous left#5B6708
Analogous right#086715
Split-complement 1#150867
Split-complement 2#67085B
Triadic 1#082B67
Triadic 2#67082B
Tetradic#085B67

RGB percentages

Red16.9%
Green40.4%
Blue3.1%

CMYK percentages

Cyan58.3%
Magenta0.0%
Yellow92.2%
Key (black)59.6%

Color previews

#2b6708 text on a black background

contrast 3.05:1

Card sample

#2b6708 text on a white background

contrast 6.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2b6708

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.

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

#2b6708, answered

What color is #2b6708?

#2b6708 is a deep electric green, closest to Dark Green (ΔE2000 3.3). It sits at 98° on the hue wheel with 86% saturation and 22% lightness, which reads as neutral.

What is the RGB value of #2b6708?

rgb(43, 103, 8) — 43 red, 103 green and 8 blue out of 255, or 16.9% / 40.4% / 3.1% by channel.

Is #2b6708 a light or a dark color?

It is a dark color. Relative luminance is 0.1023 and perceived brightness is 32%, so white text on it reaches 6.89:1.

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

White. It scores 6.89:1 against #2b6708, versus 3.05:1 for black — AA at any size.

What is the complementary color of #2b6708?

#440867 sits directly opposite on the wheel. Softer options are the split-complements #150867 and #67085B, which give the same contrast with far less vibration.

What colors go well with #2b6708?

For interface work: #F7FAF4 as the surface, #D0EDC0 for borders, #689B4B for secondary text, #2C0669 as an accent and #317609 for hover and pressed states. For a palette, the analogous pair #5B6708 and #086715 stays calm, while #440867 is the loudest partner.

What is #2b6708 in CMYK for printing?

cmyk(58%, 0%, 92%, 60%). 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 #2b6708 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4E6708; nudged cooler, #076807.

Work with #2b6708 in the Color Lab