#0D391F#0D391F

#0D391F is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.7% C 0.067 H 153.5°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#0D391F
RGBrgb(13, 57, 31)
HSLhsl(145, 63%, 14%)
HSVhsv(145, 77%, 22%)
CMYKcmyk(77.2%, 0%, 45.6%, 77.6%)
CIE-LABlab(20.48, -22.11, 11.97)
CIE-LCHlch(20.48, 25.15, 151.57°)
OKLaboklab(30.69% -0.0597 0.0298)
OKLCHoklch(30.69% 0.067 153.5)
XYZxyz(1.8763, 3.1105, 1.7976)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D391F #390D27
analogous
#11390D #0D391F #0D3935
triadic
#0D391F #1F0D39 #391F0D
tetradic
#0D391F #0D1139 #390D27 #39350D
square
#0D391F #0D1139 #390D27 #39350D
split-complementary
#0D391F #350D39 #390D11
monochromatic
#06190E #06190E #0D391F #186B3A #249D55

Accessibility & contrast

On white

12.95
#0D391F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0D391F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D391F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D391F#FFFFFF#000000##FFFFFF
##0D391F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341D
Deuteranopia (green-blind)
#333021
Tritanopia (blue-blind)
#003832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0d391f;
/* rgb */ color: rgb(13, 57, 31);
/* oklch */ color: oklch(30.7% 0.067 153.5);
Tailwind
colors: {
  custom: {
    50: '#52705a',
    500: '#0d391f',
    950: '#000000',
  },
}
SCSS
$custom: #0d391f;
$custom-light: #52705a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d391f",
  "rgb": {
    "r": 13,
    "g": 57,
    "b": 31
  },
  "hsl": {
    "h": 144.545,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30692,
    "c": 0.06678,
    "h": 153.5
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#0D391F
secondary
#742D57
accent
#42A3E6
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #0D391F

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

Preview Lab → · Contrast checker → · Palette generator →

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