#0D381B#0D381B

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

Color values

HEX#0D381B
RGBrgb(13, 56, 27)
HSLhsl(140, 62%, 14%)
HSVhsv(140, 77%, 22%)
CMYKcmyk(76.8%, 0%, 51.8%, 78%)
CIE-LABlab(20.02, -22.51, 13.93)
CIE-LCHlch(20.02, 26.48, 148.25°)
OKLaboklab(30.28% -0.0607 0.0343)
OKLCHoklch(30.28% 0.07 150.6)
XYZxyz(1.7778, 2.9929, 1.5207)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D381B #380D2A
analogous
#14380D #0D381B #0D3830
triadic
#0D381B #1B0D38 #381B0D
tetradic
#0D381B #0D1438 #380D2A #38300D
square
#0D381B #0D1438 #380D2A #38300D
split-complementary
#0D381B #300D38 #380D14
monochromatic
#06190C #06190C #0D381B #196A33 #249B4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D381B#FFFFFF#000000##FFFFFF
##0D381B1.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)
#383319
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#003731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d381b;
/* rgb */ color: rgb(13, 56, 27);
/* oklch */ color: oklch(30.3% 0.070 150.6);
Tailwind
colors: {
  custom: {
    50: '#526f57',
    500: '#0d381b',
    950: '#000000',
  },
}
SCSS
$custom: #0d381b;
$custom-light: #526f57;
$custom-dark: #000000;
JSON
{
  "hex": "#0d381b",
  "rgb": {
    "r": 13,
    "g": 56,
    "b": 27
  },
  "hsl": {
    "h": 139.535,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30283,
    "c": 0.06972,
    "h": 150.6
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#0D381B
secondary
#732D5D
accent
#42B0E5
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0D381B

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

Preview Lab → · Contrast checker → · Palette generator →

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