#0D3D12#0D3D12

#0D3D12 is a dark, moderate green. Relative luminance 0.035; OKLCH L 31.7% C 0.087 H 144.7°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#0D3D12
RGBrgb(13, 61, 18)
HSLhsl(126, 65%, 15%)
HSVhsv(126, 79%, 24%)
CMYKcmyk(78.7%, 0%, 70.5%, 76.1%)
CIE-LABlab(21.82, -26.30, 21.47)
CIE-LCHlch(21.82, 33.95, 140.76°)
OKLaboklab(31.73% -0.0711 0.0503)
OKLCHoklch(31.73% 0.087 144.7)
XYZxyz(1.9438, 3.4665, 1.1388)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D3D12 #3D0D38
analogous
#203D0D #0D3D12 #0D3D2A
triadic
#0D3D12 #120D3D #3D120D
tetradic
#0D3D12 #0D203D #3D0D38 #3D2A0D
square
#0D3D12 #0D203D #3D0D38 #3D2A0D
split-complementary
#0D3D12 #2A0D3D #3D0D20
monochromatic
#051907 #051907 #0D3D12 #186F21 #23A230

Accessibility & contrast

On white

12.40
#0D3D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#0D3D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D3D12
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D3D12#FFFFFF#000000##FFFFFF
##0D3D121.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E370D
Deuteranopia (green-blind)
#393316
Tritanopia (blue-blind)
#013B34
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0d3d12;
/* rgb */ color: rgb(13, 61, 18);
/* oklch */ color: oklch(31.7% 0.087 144.7);
Tailwind
colors: {
  custom: {
    50: '#547351',
    500: '#0d3d12',
    950: '#000000',
  },
}
SCSS
$custom: #0d3d12;
$custom-light: #547351;
$custom-dark: #000000;
JSON
{
  "hex": "#0d3d12",
  "rgb": {
    "r": 13,
    "g": 61,
    "b": 18
  },
  "hsl": {
    "h": 126.25,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.31732,
    "c": 0.08712,
    "h": 144.7
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#0D3D12
secondary
#792D71
accent
#40D6E8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0D3D12

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

Preview Lab → · Contrast checker → · Palette generator →

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