#0D371F#0D371F

#0D371F is a dark, moderate green. Relative luminance 0.029; OKLCH L 30.1% C 0.063 H 154.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#0D371F
RGBrgb(13, 55, 31)
HSLhsl(146, 62%, 13%)
HSVhsv(146, 76%, 22%)
CMYKcmyk(76.4%, 0%, 43.6%, 78.4%)
CIE-LABlab(19.71, -21.15, 10.94)
CIE-LCHlch(19.71, 23.81, 152.64°)
OKLaboklab(30.06% -0.0572 0.0274)
OKLCHoklch(30.06% 0.063 154.4)
XYZxyz(1.7793, 2.9167, 1.7653)
Luminance0.0292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D371F #370D25
analogous
#10370D #0D371F #0D3734
triadic
#0D371F #1F0D37 #371F0D
tetradic
#0D371F #0D1037 #370D25 #37340D
square
#0D371F #0D1037 #370D25 #37340D
split-complementary
#0D371F #340D37 #370D10
monochromatic
#06190E #06190E #0D371F #19683B #249A57

Accessibility & contrast

On white

13.26
#0D371F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0D371F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D371F
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D371F#FFFFFF#000000##FFFFFF
##0D371F1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321D
Deuteranopia (green-blind)
#312E21
Tritanopia (blue-blind)
#003631
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d371f;
/* rgb */ color: rgb(13, 55, 31);
/* oklch */ color: oklch(30.1% 0.063 154.4);
Tailwind
colors: {
  custom: {
    50: '#526e5a',
    500: '#0d371f',
    950: '#000000',
  },
}
SCSS
$custom: #0d371f;
$custom-light: #526e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d371f",
  "rgb": {
    "r": 13,
    "g": 55,
    "b": 31
  },
  "hsl": {
    "h": 145.714,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30056,
    "c": 0.06345,
    "h": 154.4
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#0D371F
secondary
#722D55
accent
#439FE5
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #0D371F

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

Preview Lab → · Contrast checker → · Palette generator →

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