Skip to content

#0d4d13

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

RGB
13, 77, 19
HSL
126°, 71%, 18%
CMYK
83, 0, 75, 70
Luminance
0.0544

At a glance

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

Hex
#0d4d13
Hue
126°
green
Saturation
71%
vivid
Lightness
18%
deep
Brightness
30%
HSV value
Perceived
23%
weighted brightness
Luminance
0.0544
WCAG relative
Temperature
Cool
65/100 cool
Color family
Green
Tone
Vivid
Best ink
White
10.06:1
Closest name
Dark Green
ΔE2000 8.5
Where it sits
Hue126° of 360°
Saturation71%
Lightness18%
Temperature
Warm ← → Cool65% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#0d4d13
RGBrgb(13, 77, 19)
HSLhsl(126, 71%, 18%)
CMYKcmyk(83%, 0%, 75%, 70%)
LABlab(27.9 -32.5 27.7)
LCHlch(27.9 42.8 139.6)
OKLCHoklch(0.368 0.109 144.1)
Decimal871699
Display P3color(display-p3 0.051 0.302 0.075)

Copy-ready code

/* CSS */
color: #0d4d13;
background-color: #0d4d13;
/* Tailwind (arbitrary) */
class="text-[#0d4d13] bg-[#0d4d13]"
/* SCSS */
$brand: #0d4d13;
/* SwiftUI */
Color(red: 0.051, green: 0.302, blue: 0.075)
/* Android */
Color.parseColor("#0d4d13")
/* Flutter */
Color(0xFF0D4D13)
/* Python / OpenCV (BGR) */
(19, 77, 13)

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

Accessibility — WCAG contrast

Aa
#0d4d13 on white: 10.06:1
AA ✓ pass · AA-large · AAA
Aa
#0d4d13 on black: 2.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4F450B
deuteranopia · #474019
tritanopia · #004B41

Color scale — 50 to 950

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

#F3FCF4
#E7F8E9
#C9F3CD
#9FEFA6
#6FE77A
#3FDF4E
#23D134
#1DAF2B
#188C22
#15651D
#0d4d13
Base = 950Lightest = 50 · #F3FCF4Darkest = 950 · #0d4d13
:root {
  --brand-50: #F3FCF4;
  --brand-100: #E7F8E9;
  --brand-200: #C9F3CD;
  --brand-300: #9FEFA6;
  --brand-400: #6FE77A;
  --brand-500: #3FDF4E;
  --brand-600: #23D134;
  --brand-700: #1DAF2B;
  --brand-800: #188C22;
  --brand-900: #15651D;
  --brand-950: #0d4d13;
  --brand: #0d4d13;
  --brand-ink: #ffffff;
}

Colors that work with #0d4d13

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#F4FAF5
Tinted page background
Border#C0EDC4
Hairlines and dividers
Muted text#4B9B52
Captions on the surface
Accent#440B4F
Second voice, not a rival
Dark variant#126D1B
Hover, pressed, headers
Light variant#E9FBEB
Selected rows, tints
Dark surface#142415
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 #0d4d13

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#4D0D47
Analogous left#274D0D
Analogous right#0D4D33
Split-complement 1#330D4D
Split-complement 2#4D0D27
Triadic 1#130D4D
Triadic 2#4D130D
Tetradic#0D274D

RGB percentages

Red5.1%
Green30.2%
Blue7.5%

CMYK percentages

Cyan83.1%
Magenta0.0%
Yellow75.3%
Key (black)69.8%

Color previews

#0d4d13 text on a black background

contrast 2.09:1

Card sample

#0d4d13 text on a white background

contrast 10.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0d4d13;
Background color
Panel with #0d4d13 background
background-color: #0d4d13;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(13, 77, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(13, 77, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0d4d13;
background: linear-gradient(135deg, #0d4d13, #0D4D3D);

Monochromatic scale

Palettes built from #0d4d13

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.

#0d4d13 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.

#0d4d13, answered

What color is #0d4d13?

#0d4d13 is a deep vivid green, closest to Dark Green (ΔE2000 8.5). It sits at 126° on the hue wheel with 71% saturation and 18% lightness, which reads as cool.

What is the RGB value of #0d4d13?

rgb(13, 77, 19) — 13 red, 77 green and 19 blue out of 255, or 5.1% / 30.2% / 7.5% by channel.

Is #0d4d13 a light or a dark color?

It is a dark color. Relative luminance is 0.0544 and perceived brightness is 23%, so white text on it reaches 10.06:1.

Should I use black or white text on #0d4d13?

White. It scores 10.06:1 against #0d4d13, versus 2.09:1 for black — AAA at any size.

What is the complementary color of #0d4d13?

#4D0D47 sits directly opposite on the wheel. Softer options are the split-complements #330D4D and #4D0D27, which give the same contrast with far less vibration.

What colors go well with #0d4d13?

For interface work: #F4FAF5 as the surface, #C0EDC4 for borders, #4B9B52 for secondary text, #440B4F as an accent and #126D1B for hover and pressed states. For a palette, the analogous pair #274D0D and #0D4D33 stays calm, while #4D0D47 is the loudest partner.

What is #0d4d13 in CMYK for printing?

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

Is #0d4d13 warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1E4D0D; nudged cooler, #0C4E2A.

Work with #0d4d13 in the Color Lab