#0D381C#0D381C

#0D381C is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.3% C 0.069 H 151.3°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#0D381C
RGBrgb(13, 56, 28)
HSLhsl(141, 62%, 14%)
HSVhsv(141, 77%, 22%)
CMYKcmyk(76.8%, 0%, 50%, 78%)
CIE-LABlab(20.03, -22.30, 13.32)
CIE-LCHlch(20.03, 25.98, 149.16°)
OKLaboklab(30.31% -0.0602 0.0329)
OKLCHoklch(30.31% 0.069 151.3)
XYZxyz(1.7896, 2.9976, 1.5827)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D381C #380D29
analogous
#13380D #0D381C #0D3831
triadic
#0D381C #1C0D38 #381C0D
tetradic
#0D381C #0D1338 #380D29 #38310D
square
#0D381C #0D1338 #380D29 #38310D
split-complementary
#0D381C #310D38 #380D13
monochromatic
#06190C #06190C #0D381C #196A35 #249B4E

Accessibility & contrast

On white

13.13
#0D381C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0D381C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D381C
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D381C#FFFFFF#000000##FFFFFF
##0D381C1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331A
Deuteranopia (green-blind)
#332F1E
Tritanopia (blue-blind)
#003731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d381c;
/* rgb */ color: rgb(13, 56, 28);
/* oklch */ color: oklch(30.3% 0.069 151.3);
Tailwind
colors: {
  custom: {
    50: '#526f58',
    500: '#0d381c',
    950: '#000000',
  },
}
SCSS
$custom: #0d381c;
$custom-light: #526f58;
$custom-dark: #000000;
JSON
{
  "hex": "#0d381c",
  "rgb": {
    "r": 13,
    "g": 56,
    "b": 28
  },
  "hsl": {
    "h": 140.93,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30305,
    "c": 0.06857,
    "h": 151.3
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#0D381C
secondary
#732D5B
accent
#42ADE5
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0D381C

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

Preview Lab → · Contrast checker → · Palette generator →

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