#0D391B#0D391B

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

Color values

HEX#0D391B
RGBrgb(13, 57, 27)
HSLhsl(139, 63%, 14%)
HSVhsv(139, 77%, 22%)
CMYKcmyk(77.2%, 0%, 52.6%, 77.6%)
CIE-LABlab(20.40, -22.98, 14.43)
CIE-LCHlch(20.40, 27.14, 147.87°)
OKLaboklab(30.6% -0.062 0.0354)
OKLCHoklch(30.6% 0.071 150.2)
XYZxyz(1.8268, 3.0908, 1.5370)
Luminance0.0309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D391B #390D2B
analogous
#15390D #0D391B #0D3931
triadic
#0D391B #1B0D39 #391B0D
tetradic
#0D391B #0D1539 #390D2B #39310D
square
#0D391B #0D1539 #390D2B #39310D
split-complementary
#0D391B #310D39 #390D15
monochromatic
#06190C #06190C #0D391B #186B33 #249D4A

Accessibility & contrast

On white

12.98
#0D391B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D391B
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D391B#FFFFFF#000000##FFFFFF
##0D391B1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d391b;
/* rgb */ color: rgb(13, 57, 27);
/* oklch */ color: oklch(30.6% 0.071 150.2);
Tailwind
colors: {
  custom: {
    50: '#527057',
    500: '#0d391b',
    950: '#000000',
  },
}
SCSS
$custom: #0d391b;
$custom-light: #527057;
$custom-dark: #000000;
JSON
{
  "hex": "#0d391b",
  "rgb": {
    "r": 13,
    "g": 57,
    "b": 27
  },
  "hsl": {
    "h": 139.091,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30603,
    "c": 0.07137,
    "h": 150.2
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#0D391B
secondary
#742D5E
accent
#42B2E6
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0D391B

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

Preview Lab → · Contrast checker → · Palette generator →

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