#0D4912#0D4912

#0D4912 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.104 H 144.0°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#0D4912
RGBrgb(13, 73, 18)
HSLhsl(125, 70%, 17%)
HSVhsv(125, 82%, 29%)
CMYKcmyk(82.2%, 0%, 75.3%, 71.4%)
CIE-LABlab(26.43, -31.13, 26.56)
CIE-LCHlch(26.43, 40.93, 139.53°)
OKLaboklab(35.55% -0.0842 0.0611)
OKLCHoklch(35.55% 0.104 144)
XYZxyz(2.6575, 4.8940, 1.3767)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4912 #490D44
analogous
#26490D #0D4912 #0D4930
triadic
#0D4912 #120D49 #49120D
tetradic
#0D4912 #0D2649 #490D44 #49300D
square
#0D4912 #0D2649 #490D44 #49300D
split-complementary
#0D4912 #300D49 #490D26
monochromatic
#051A06 #051A06 #0D4912 #167D1F #20B12C

Accessibility & contrast

On white

10.61
#0D4912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#0D4912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4912
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4912#FFFFFF#000000##FFFFFF
##0D49121.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B410A
Deuteranopia (green-blind)
#443D17
Tritanopia (blue-blind)
#00473E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0d4912;
/* rgb */ color: rgb(13, 73, 18);
/* oklch */ color: oklch(35.6% 0.104 144.0);
Tailwind
colors: {
  custom: {
    50: '#577c53',
    500: '#0d4912',
    950: '#000000',
  },
}
SCSS
$custom: #0d4912;
$custom-light: #577c53;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4912",
  "rgb": {
    "r": 13,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 125,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35552,
    "c": 0.10408,
    "h": 144
  },
  "luminance": 0.04894
}

Semantic roles & 50–950 ramp

primary
#0D4912
secondary
#842D7D
accent
#3BDEED
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0D4912

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

Preview Lab → · Contrast checker → · Palette generator →

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