#0D391C#0D391C

#0D391C is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.6% C 0.070 H 151.0°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#0D391C
RGBrgb(13, 57, 28)
HSLhsl(140, 63%, 14%)
HSVhsv(140, 77%, 22%)
CMYKcmyk(77.2%, 0%, 50.9%, 77.6%)
CIE-LABlab(20.42, -22.77, 13.82)
CIE-LCHlch(20.42, 26.64, 148.75°)
OKLaboklab(30.62% -0.0614 0.034)
OKLCHoklch(30.62% 0.07 151)
XYZxyz(1.8386, 3.0955, 1.5990)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D391C #390D2A
analogous
#14390D #0D391C #0D3932
triadic
#0D391C #1C0D39 #391C0D
tetradic
#0D391C #0D1439 #390D2A #39320D
square
#0D391C #0D1439 #390D2A #39320D
split-complementary
#0D391C #320D39 #390D14
monochromatic
#06190C #06190C #0D391C #186B34 #249D4D

Accessibility & contrast

On white

12.97
#0D391C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D391C
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D391C#FFFFFF#000000##FFFFFF
##0D391C1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341A
Deuteranopia (green-blind)
#34301E
Tritanopia (blue-blind)
#003832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0d391c;
/* rgb */ color: rgb(13, 57, 28);
/* oklch */ color: oklch(30.6% 0.070 151.0);
Tailwind
colors: {
  custom: {
    50: '#527058',
    500: '#0d391c',
    950: '#000000',
  },
}
SCSS
$custom: #0d391c;
$custom-light: #527058;
$custom-dark: #000000;
JSON
{
  "hex": "#0d391c",
  "rgb": {
    "r": 13,
    "g": 57,
    "b": 28
  },
  "hsl": {
    "h": 140.455,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30624,
    "c": 0.07023,
    "h": 151
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#0D391C
secondary
#742D5C
accent
#42AEE6
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0D391C

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

Preview Lab → · Contrast checker → · Palette generator →

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