#0D4D12#0D4D12

#0D4D12 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.109 H 143.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#0D4D12
RGBrgb(13, 77, 18)
HSLhsl(125, 71%, 18%)
HSVhsv(125, 83%, 30%)
CMYKcmyk(83.1%, 0%, 76.6%, 69.8%)
CIE-LABlab(27.94, -32.66, 28.17)
CIE-LCHlch(27.94, 43.13, 139.22°)
OKLaboklab(36.81% -0.0884 0.0645)
OKLCHoklch(36.81% 0.109 143.9)
XYZxyz(2.9288, 5.4367, 1.4672)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4D12 #4D0D48
analogous
#284D0D #0D4D12 #0D4D32
triadic
#0D4D12 #120D4D #4D120D
tetradic
#0D4D12 #0D284D #4D0D48 #4D320D
square
#0D4D12 #0D284D #4D0D48 #4D320D
split-complementary
#0D4D12 #320D4D #4D0D28
monochromatic
#041A06 #041A06 #0D4D12 #16811E #1FB62A

Accessibility & contrast

On white

10.06
#0D4D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0D4D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4D12
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4D12#FFFFFF#000000##FFFFFF
##0D4D121.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4509
Deuteranopia (green-blind)
#484018
Tritanopia (blue-blind)
#004B41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0d4d12;
/* rgb */ color: rgb(13, 77, 18);
/* oklch */ color: oklch(36.8% 0.109 143.9);
Tailwind
colors: {
  custom: {
    50: '#598053',
    500: '#0d4d12',
    950: '#000000',
  },
}
SCSS
$custom: #0d4d12;
$custom-light: #598053;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4d12",
  "rgb": {
    "r": 13,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 124.688,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36809,
    "c": 0.10943,
    "h": 143.9
  },
  "luminance": 0.05437
}

Semantic roles & 50–950 ramp

primary
#0D4D12
secondary
#882E81
accent
#3AE0EE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #0D4D12

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

Preview Lab → · Contrast checker → · Palette generator →

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