Skip to content

#1f5608

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

RGB
31, 86, 8
HSL
102°, 83%, 18%
CMYK
64, 0, 91, 66
Luminance
0.0696

At a glance

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

Hex
#1f5608
Hue
102°
green
Saturation
83%
electric
Lightness
18%
deep
Brightness
34%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0696
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Green
Tone
Electric
Best ink
White
8.78:1
Closest name
Dark Green
ΔE2000 5.2
Where it sits
Hue102° of 360°
Saturation83%
Lightness18%
Temperature
Warm ← → Cool55% 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#1f5608
RGBrgb(31, 86, 8)
HSLhsl(102, 83%, 18%)
CMYKcmyk(64%, 0%, 91%, 66%)
LABlab(31.7 -32.7 35.8)
LCHlch(31.7 48.5 132.4)
OKLCHoklch(0.401 0.120 138.9)
Decimal2053640
Display P3color(display-p3 0.122 0.337 0.031)

Copy-ready code

/* CSS */
color: #1f5608;
background-color: #1f5608;
/* Tailwind (arbitrary) */
class="text-[#1f5608] bg-[#1f5608]"
/* SCSS */
$brand: #1f5608;
/* SwiftUI */
Color(red: 0.122, green: 0.337, blue: 0.031)
/* Android */
Color.parseColor("#1f5608")
/* Flutter */
Color(0xFF1F5608)
/* Python / OpenCV (BGR) */
(8, 86, 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 #1f5608 · 8.78:1
Use #ffffffAAA at every size.
Aa
White text · 8.78:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.39:1
AA fail · AA large fail · AAA fail
Reading the other direction: #1f5608 as text scores 8.78:1 on white and 2.39:1 on black.

Accessibility — WCAG contrast

Aa
#1f5608 on white: 8.78:1
AA ✓ pass · AA-large · AAA
Aa
#1f5608 on black: 2.39:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #594D00
deuteranopia · #524912
tritanopia · #195348

Color scale — 50 to 950

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

#F5FCF2
#ECFAE6
#D4F6C6
#B4F598
#8EF165
#69EC32
#51E015
#43BB11
#36950E
#2A6C0E
#1f5608
Base = 950Lightest = 50 · #F5FCF2Darkest = 950 · #1f5608
:root {
  --brand-50: #F5FCF2;
  --brand-100: #ECFAE6;
  --brand-200: #D4F6C6;
  --brand-300: #B4F598;
  --brand-400: #8EF165;
  --brand-500: #69EC32;
  --brand-600: #51E015;
  --brand-700: #43BB11;
  --brand-800: #36950E;
  --brand-900: #2A6C0E;
  --brand-950: #1f5608;
  --brand: #1f5608;
  --brand-ink: #ffffff;
}

Colors that work with #1f5608

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#CDEDC0
Hairlines and dividers
Muted text#629B4B
Captions on the surface
Accent#2B0658
Second voice, not a rival
Dark variant#2A750B
Hover, pressed, headers
Light variant#EEFDE8
Selected rows, tints
Dark surface#192414
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 #1f5608

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
  • Text on black or near-black surfaces
  • 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#3F0856
Analogous left#465608
Analogous right#085618
Split-complement 1#180856
Split-complement 2#560846
Triadic 1#081F56
Triadic 2#56081F
Tetradic#084656

RGB percentages

Red12.2%
Green33.7%
Blue3.1%

CMYK percentages

Cyan64.0%
Magenta0.0%
Yellow90.7%
Key (black)66.3%

Color previews

#1f5608 text on a black background

contrast 2.39:1

Card sample

#1f5608 text on a white background

contrast 8.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1f5608

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.

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

#1f5608, answered

What color is #1f5608?

#1f5608 is a deep electric green, closest to Dark Green (ΔE2000 5.2). It sits at 102° on the hue wheel with 83% saturation and 18% lightness, which reads as neutral.

What is the RGB value of #1f5608?

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

Is #1f5608 a light or a dark color?

It is a dark color. Relative luminance is 0.0696 and perceived brightness is 27%, so white text on it reaches 8.78:1.

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

White. It scores 8.78:1 against #1f5608, versus 2.39:1 for black — AAA at any size.

What is the complementary color of #1f5608?

#3F0856 sits directly opposite on the wheel. Softer options are the split-complements #180856 and #560846, which give the same contrast with far less vibration.

What colors go well with #1f5608?

For interface work: #F6FAF4 as the surface, #CDEDC0 for borders, #629B4B for secondary text, #2B0658 as an accent and #2A750B for hover and pressed states. For a palette, the analogous pair #465608 and #085618 stays calm, while #3F0856 is the loudest partner.

What is #1f5608 in CMYK for printing?

cmyk(64%, 0%, 91%, 66%). 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 #1f5608 warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3C5608; nudged cooler, #07570D.

Work with #1f5608 in the Color Lab