Skip to content

#1f6708

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

RGB
31, 103, 8
HSL
106°, 86%, 22%
CMYK
70, 0, 92, 60
Luminance
0.1001

At a glance

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

Hex
#1f6708
Hue
106°
green
Saturation
86%
electric
Lightness
22%
deep
Brightness
40%
HSV value
Perceived
32%
weighted brightness
Luminance
0.1001
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Green
Tone
Electric
Best ink
White
7.00:1
Closest name
Dark Green
ΔE2000 2
Where it sits
Hue106° of 360°
Saturation86%
Lightness22%
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#1f6708
RGBrgb(31, 103, 8)
HSLhsl(106, 86%, 22%)
CMYKcmyk(70%, 0%, 92%, 60%)
LABlab(37.9 -39.2 41.2)
LCHlch(37.9 56.9 133.6)
OKLCHoklch(0.452 0.141 140.1)
Decimal2057992
Display P3color(display-p3 0.122 0.404 0.031)

Copy-ready code

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

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 #1f6708 · 7.00:1
Use #ffffffAAA at every size.
Aa
White text · 7.00:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 3.00:1
AA fail · AA large pass · AAA fail
Reading the other direction: #1f6708 as text scores 7.00:1 on white and 3.00:1 on black.

Accessibility — WCAG contrast

Aa
#1f6708 on white: 7.00:1
AA ✓ pass · AA-large · AAA
Aa
#1f6708 on black: 3.00:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #6A5D00
deuteranopia · #625716
tritanopia · #136357

Color scale — 50 to 950

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

#F5FDF2
#EAFAE5
#D1F7C5
#AEF797
#86F363
#5DEF2F
#44E312
#39BD0F
#2E970C
#1f6708
#174408
Base = 900Lightest = 50 · #F5FDF2Darkest = 950 · #174408
:root {
  --brand-50: #F5FDF2;
  --brand-100: #EAFAE5;
  --brand-200: #D1F7C5;
  --brand-300: #AEF797;
  --brand-400: #86F363;
  --brand-500: #5DEF2F;
  --brand-600: #44E312;
  --brand-700: #39BD0F;
  --brand-800: #2E970C;
  --brand-900: #1f6708;
  --brand-950: #174408;
  --brand: #1f6708;
  --brand-ink: #ffffff;
}

Colors that work with #1f6708

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#F6FAF4
Tinted page background
Border#CBEDC0
Hairlines and dividers
Muted text#5E9B4B
Captions on the surface
Accent#380669
Second voice, not a rival
Dark variant#247609
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 #1f6708

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#500867
Analogous left#4F6708
Analogous right#086721
Split-complement 1#210867
Split-complement 2#67084F
Triadic 1#081F67
Triadic 2#67081F
Tetradic#084F67

RGB percentages

Red12.2%
Green40.4%
Blue3.1%

CMYK percentages

Cyan69.9%
Magenta0.0%
Yellow92.2%
Key (black)59.6%

Color previews

#1f6708 text on a black background

contrast 3.00:1

Card sample

#1f6708 text on a white background

contrast 7.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1f6708;
Background color
Panel with #1f6708 background
background-color: #1f6708;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1f6708

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.

#1f6708 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.

#1f6708, answered

What color is #1f6708?

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

What is the RGB value of #1f6708?

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

Is #1f6708 a light or a dark color?

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

Should I use black or white text on #1f6708?

White. It scores 7.00:1 against #1f6708, versus 3.00:1 for black — AAA at any size.

What is the complementary color of #1f6708?

#500867 sits directly opposite on the wheel. Softer options are the split-complements #210867 and #67084F, which give the same contrast with far less vibration.

What colors go well with #1f6708?

For interface work: #F6FAF4 as the surface, #CBEDC0 for borders, #5E9B4B for secondary text, #380669 as an accent and #247609 for hover and pressed states. For a palette, the analogous pair #4F6708 and #086721 stays calm, while #500867 is the loudest partner.

What is #1f6708 in CMYK for printing?

cmyk(70%, 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 #1f6708 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 #426708; nudged cooler, #076813.

Work with #1f6708 in the Color Lab