#0D4013#0D4013

#0D4013 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.091 H 144.9°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#0D4013
RGBrgb(13, 64, 19)
HSLhsl(127, 66%, 15%)
HSVhsv(127, 80%, 25%)
CMYKcmyk(79.7%, 0%, 70.3%, 74.9%)
CIE-LABlab(23.00, -27.41, 22.27)
CIE-LCHlch(23.00, 35.31, 140.91°)
OKLaboklab(32.71% -0.0741 0.0521)
OKLCHoklch(32.71% 0.091 144.9)
XYZxyz(2.1168, 3.7991, 1.2377)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4013 #400D3A
analogous
#20400D #0D4013 #0D402D
triadic
#0D4013 #130D40 #40130D
tetradic
#0D4013 #0D2040 #400D3A #402D0D
square
#0D4013 #0D2040 #400D3A #402D0D
split-complementary
#0D4013 #2D0D40 #400D20
monochromatic
#051908 #051908 #0D4013 #177322 #22A631

Accessibility & contrast

On white

11.93
#0D4013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0D4013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4013
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4013#FFFFFF#000000##FFFFFF
##0D40131.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390E
Deuteranopia (green-blind)
#3B3517
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0d4013;
/* rgb */ color: rgb(13, 64, 19);
/* oklch */ color: oklch(32.7% 0.091 144.9);
Tailwind
colors: {
  custom: {
    50: '#557552',
    500: '#0d4013',
    950: '#000000',
  },
}
SCSS
$custom: #0d4013;
$custom-light: #557552;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4013",
  "rgb": {
    "r": 13,
    "g": 64,
    "b": 19
  },
  "hsl": {
    "h": 127.059,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.32707,
    "c": 0.09059,
    "h": 144.9
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#0D4013
secondary
#7C2D72
accent
#3FD5E9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0D4013

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

Preview Lab → · Contrast checker → · Palette generator →

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