#0D4F1F#0D4F1F

#0D4F1F is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.101 H 147.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#0D4F1F
RGBrgb(13, 79, 31)
HSLhsl(136, 72%, 18%)
HSVhsv(136, 84%, 31%)
CMYKcmyk(83.5%, 0%, 60.8%, 69%)
CIE-LABlab(28.84, -31.68, 22.49)
CIE-LCHlch(28.84, 38.85, 144.62°)
OKLaboklab(37.6% -0.0852 0.0538)
OKLCHoklch(37.6% 0.101 147.7)
XYZxyz(3.2090, 5.7761, 2.2418)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4F1F #4F0D3D
analogous
#1C4F0D #0D4F1F #0D4F40
triadic
#0D4F1F #1F0D4F #4F1F0D
tetradic
#0D4F1F #0D1C4F #4F0D3D #4F400D
square
#0D4F1F #0D1C4F #4F0D3D #4F400D
split-complementary
#0D4F1F #400D4F #4F0D1C
monochromatic
#041A0A #041A0A #0D4F1F #168434 #1EB848

Accessibility & contrast

On white

9.74
#0D4F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#0D4F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4F1F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4F1F#FFFFFF#000000##FFFFFF
##0D4F1F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471A
Deuteranopia (green-blind)
#484223
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0d4f1f;
/* rgb */ color: rgb(13, 79, 31);
/* oklch */ color: oklch(37.6% 0.101 147.7);
Tailwind
colors: {
  custom: {
    50: '#58815c',
    500: '#0d4f1f',
    950: '#000000',
  },
}
SCSS
$custom: #0d4f1f;
$custom-light: #58815c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4f1f",
  "rgb": {
    "r": 13,
    "g": 79,
    "b": 31
  },
  "hsl": {
    "h": 136.364,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37599,
    "c": 0.10073,
    "h": 147.7
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#0D4F1F
secondary
#8A2E71
accent
#39BDEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0D4F1F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0D4F1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva