Skip to content

#1f3d13

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

RGB
31, 61, 19
HSL
103°, 53%, 16%
CMYK
49, 0, 69, 76
Luminance
0.0368

At a glance

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

Hex
#1f3d13
Hue
103°
green
Saturation
53%
vivid
Lightness
16%
deep
Brightness
24%
HSV value
Perceived
20%
weighted brightness
Luminance
0.0368
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Green
Tone
Vivid
Best ink
White
12.10:1
Closest name
Dark Green
ΔE2000 14.5
Where it sits
Hue103° of 360°
Saturation53%
Lightness16%
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#1f3d13
RGBrgb(31, 61, 19)
HSLhsl(103, 53%, 16%)
CMYKcmyk(49%, 0%, 69%, 76%)
LABlab(22.6 -20.6 22.0)
LCHlch(22.6 30.1 133.1)
OKLCHoklch(0.326 0.076 137.8)
Decimal2047251
Display P3color(display-p3 0.122 0.239 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1f3d13 on white: 12.10:1
AA ✓ pass · AA-large · AAA
Aa
#1f3d13 on black: 1.74:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3F380E
deuteranopia · #3B3516
tritanopia · #1D3B34

Color scale — 50 to 950

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

#F6FAF4
#EDF6E9
#D7EDCF
#BAE4A9
#98D77F
#75CA54
#5FBB3A
#4F9C30
#3F7C27
#305B20
#1f3d13
Base = 950Lightest = 50 · #F6FAF4Darkest = 950 · #1f3d13
:root {
  --brand-50: #F6FAF4;
  --brand-100: #EDF6E9;
  --brand-200: #D7EDCF;
  --brand-300: #BAE4A9;
  --brand-400: #98D77F;
  --brand-500: #75CA54;
  --brand-600: #5FBB3A;
  --brand-700: #4F9C30;
  --brand-800: #3F7C27;
  --brand-900: #305B20;
  --brand-950: #1f3d13;
  --brand: #1f3d13;
  --brand-ink: #ffffff;
}

Colors that work with #1f3d13

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#CDECC1
Hairlines and dividers
Muted text#619B4B
Captions on the surface
Accent#26113F
Second voice, not a rival
Dark variant#31611E
Hover, pressed, headers
Light variant#EFF9EC
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 #1f3d13

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#31133D
Analogous left#343D13
Analogous right#133D1C
Split-complement 1#1C133D
Split-complement 2#3D1334
Triadic 1#131F3D
Triadic 2#3D131F
Tetradic#13343D

RGB percentages

Red12.2%
Green23.9%
Blue7.5%

CMYK percentages

Cyan49.2%
Magenta0.0%
Yellow68.9%
Key (black)76.1%

Color previews

#1f3d13 text on a black background

contrast 1.74:1

Card sample

#1f3d13 text on a white background

contrast 12.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1f3d13

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.

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

#1f3d13, answered

What color is #1f3d13?

#1f3d13 is a deep vivid green, closest to Dark Green (ΔE2000 14.5). It sits at 103° on the hue wheel with 53% saturation and 16% lightness, which reads as neutral.

What is the RGB value of #1f3d13?

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

Is #1f3d13 a light or a dark color?

It is a dark color. Relative luminance is 0.0368 and perceived brightness is 20%, so white text on it reaches 12.10:1.

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

White. It scores 12.10:1 against #1f3d13, versus 1.74:1 for black — AAA at any size.

What is the complementary color of #1f3d13?

#31133D sits directly opposite on the wheel. Softer options are the split-complements #1C133D and #3D1334, which give the same contrast with far less vibration.

What colors go well with #1f3d13?

For interface work: #F6FAF4 as the surface, #CDECC1 for borders, #619B4B for secondary text, #26113F as an accent and #31611E for hover and pressed states. For a palette, the analogous pair #343D13 and #133D1C stays calm, while #31133D is the loudest partner.

What is #1f3d13 in CMYK for printing?

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

Is #1f3d13 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 #2E3D13; nudged cooler, #123E16.

Work with #1f3d13 in the Color Lab