#0D381A#0D381A

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

Color values

HEX#0D381A
RGBrgb(13, 56, 26)
HSLhsl(138, 62%, 14%)
HSVhsv(138, 77%, 22%)
CMYKcmyk(76.8%, 0%, 53.6%, 78%)
CIE-LABlab(20.00, -22.72, 14.54)
CIE-LCHlch(20.00, 26.97, 147.38°)
OKLaboklab(30.26% -0.0613 0.0356)
OKLCHoklch(30.26% 0.071 149.8)
XYZxyz(1.7665, 2.9883, 1.4608)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D381A #380D2B
analogous
#15380D #0D381A #0D382F
triadic
#0D381A #1A0D38 #381A0D
tetradic
#0D381A #0D1538 #380D2B #382F0D
square
#0D381A #0D1538 #380D2B #382F0D
split-complementary
#0D381A #2F0D38 #380D15
monochromatic
#06190C #06190C #0D381A #196A31 #249B48

Accessibility & contrast

On white

13.14
#0D381A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D381A
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D381A#FFFFFF#000000##FFFFFF
##0D381A1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383318
Deuteranopia (green-blind)
#332F1C
Tritanopia (blue-blind)
#013731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d381a;
/* rgb */ color: rgb(13, 56, 26);
/* oklch */ color: oklch(30.3% 0.071 149.8);
Tailwind
colors: {
  custom: {
    50: '#526f57',
    500: '#0d381a',
    950: '#000000',
  },
}
SCSS
$custom: #0d381a;
$custom-light: #526f57;
$custom-dark: #000000;
JSON
{
  "hex": "#0d381a",
  "rgb": {
    "r": 13,
    "g": 56,
    "b": 26
  },
  "hsl": {
    "h": 138.14,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30262,
    "c": 0.07086,
    "h": 149.8
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#0D381A
secondary
#732D5E
accent
#42B4E5
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0D381A

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

Preview Lab → · Contrast checker → · Palette generator →

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