#0D311D#0D311D

#0D311D is a dark, muted green. Relative luminance 0.024; OKLCH L 28.1% C 0.055 H 155.7°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#0D311D
RGBrgb(13, 49, 29)
HSLhsl(147, 58%, 12%)
HSVhsv(147, 73%, 19%)
CMYKcmyk(73.5%, 0%, 40.8%, 80.8%)
CIE-LABlab(17.32, -18.62, 9.07)
CIE-LCHlch(17.32, 20.71, 154.02°)
OKLaboklab(28.08% -0.0505 0.0229)
OKLCHoklch(28.08% 0.055 155.7)
XYZxyz(1.4859, 2.3708, 1.5415)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D311D #310D21
analogous
#0F310D #0D311D #0D312F
triadic
#0D311D #1D0D31 #311D0D
tetradic
#0D311D #0D0F31 #310D21 #312F0D
square
#0D311D #0D0F31 #310D21 #312F0D
split-complementary
#0D311D #2F0D31 #310D0F
monochromatic
#06180E #06180E #0D311D #1A613A #279256

Accessibility & contrast

On white

14.25
#0D311D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0D311D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D311D
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D311D#FFFFFF#000000##FFFFFF
##0D311D1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1C
Deuteranopia (green-blind)
#2C291E
Tritanopia (blue-blind)
#02302C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d311d;
/* rgb */ color: rgb(13, 49, 29);
/* oklch */ color: oklch(28.1% 0.055 155.7);
Tailwind
colors: {
  custom: {
    50: '#506959',
    500: '#0d311d',
    950: '#000000',
  },
}
SCSS
$custom: #0d311d;
$custom-light: #506959;
$custom-dark: #000000;
JSON
{
  "hex": "#0d311d",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 29
  },
  "hsl": {
    "h": 146.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28083,
    "c": 0.05547,
    "h": 155.7
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

primary
#0D311D
secondary
#6C2E50
accent
#479CE1
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0D311D

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

Preview Lab → · Contrast checker → · Palette generator →

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