Skip to content

#1f3513

a deep, vivid green · neutral · closest name: Dark Slate Gray

RGB
31, 53, 19
HSL
99°, 47%, 14%
CMYK
42, 0, 64, 79
Luminance
0.0288

At a glance

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

Hex
#1f3513
Hue
99°
green
Saturation
47%
vivid
Lightness
14%
deep
Brightness
21%
HSV value
Perceived
17%
weighted brightness
Luminance
0.0288
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Green
Tone
Vivid
Best ink
White
13.32:1
Closest name
Dark Slate Gray
ΔE2000 17.5
Where it sits
Hue99° of 360°
Saturation47%
Lightness14%
Temperature
Warm ← → Cool54% 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#1f3513
RGBrgb(31, 53, 19)
HSLhsl(99, 47%, 14%)
CMYKcmyk(42%, 0%, 64%, 79%)
LABlab(19.6 -16.3 18.5)
LCHlch(19.6 24.7 131.4)
OKLCHoklch(0.301 0.063 135.8)
Decimal2045203
Display P3color(display-p3 0.122 0.208 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1f3513 on white: 13.32:1
AA ✓ pass · AA-large · AAA
Aa
#1f3513 on black: 1.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #373110
deuteranopia · #342F15
tritanopia · #1E332D

Color scale — 50 to 950

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

#F7FAF5
#EEF5EA
#DAECD0
#BFE1AC
#9FD383
#7FC45A
#69B441
#589636
#46782B
#355823
#1f3513
Base = 950Lightest = 50 · #F7FAF5Darkest = 950 · #1f3513
:root {
  --brand-50: #F7FAF5;
  --brand-100: #EEF5EA;
  --brand-200: #DAECD0;
  --brand-300: #BFE1AC;
  --brand-400: #9FD383;
  --brand-500: #7FC45A;
  --brand-600: #69B441;
  --brand-700: #589636;
  --brand-800: #46782B;
  --brand-900: #355823;
  --brand-950: #1f3513;
  --brand: #1f3513;
  --brand-ink: #ffffff;
}

Colors that work with #1f3513

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#D1E9C3
Hairlines and dividers
Muted text#679B4B
Captions on the surface
Accent#201236
Second voice, not a rival
Dark variant#375E22
Hover, pressed, headers
Light variant#F0F8EC
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 #1f3513

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#291335
Analogous left#303513
Analogous right#133518
Split-complement 1#181335
Split-complement 2#351330
Triadic 1#131F35
Triadic 2#35131F
Tetradic#133035

RGB percentages

Red12.2%
Green20.8%
Blue7.5%

CMYK percentages

Cyan41.5%
Magenta0.0%
Yellow64.2%
Key (black)79.2%

Color previews

#1f3513 text on a black background

contrast 1.58:1

Card sample

#1f3513 text on a white background

contrast 13.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1f3513

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.

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

#1f3513, answered

What color is #1f3513?

#1f3513 is a deep vivid green, closest to Dark Slate Gray (ΔE2000 17.5). It sits at 99° on the hue wheel with 47% saturation and 14% lightness, which reads as neutral.

What is the RGB value of #1f3513?

rgb(31, 53, 19) — 31 red, 53 green and 19 blue out of 255, or 12.2% / 20.8% / 7.5% by channel.

Is #1f3513 a light or a dark color?

It is a dark color. Relative luminance is 0.0288 and perceived brightness is 17%, so white text on it reaches 13.32:1.

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

White. It scores 13.32:1 against #1f3513, versus 1.58:1 for black — AAA at any size.

What is the complementary color of #1f3513?

#291335 sits directly opposite on the wheel. Softer options are the split-complements #181335 and #351330, which give the same contrast with far less vibration.

What colors go well with #1f3513?

For interface work: #F6FAF4 as the surface, #D1E9C3 for borders, #679B4B for secondary text, #201236 as an accent and #375E22 for hover and pressed states. For a palette, the analogous pair #303513 and #133518 stays calm, while #291335 is the loudest partner.

What is #1f3513 in CMYK for printing?

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

Is #1f3513 warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2B3513; nudged cooler, #123613.

Work with #1f3513 in the Color Lab