#0D4F1C#0D4F1C

#0D4F1C is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.104 H 146.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#0D4F1C
RGBrgb(13, 79, 28)
HSLhsl(134, 72%, 18%)
HSVhsv(134, 84%, 31%)
CMYKcmyk(83.5%, 0%, 64.6%, 69%)
CIE-LABlab(28.80, -32.14, 24.10)
CIE-LCHlch(28.80, 40.17, 143.14°)
OKLaboklab(37.55% -0.0865 0.057)
OKLCHoklch(37.55% 0.104 146.6)
XYZxyz(3.1713, 5.7610, 2.0432)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4F1C #4F0D40
analogous
#1F4F0D #0D4F1C #0D4F3D
triadic
#0D4F1C #1C0D4F #4F1C0D
tetradic
#0D4F1C #0D1F4F #4F0D40 #4F3D0D
square
#0D4F1C #0D1F4F #4F0D40 #4F3D0D
split-complementary
#0D4F1C #3D0D4F #4F0D1F
monochromatic
#041A09 #041A09 #0D4F1C #16842F #1EB841

Accessibility & contrast

On white

9.76
#0D4F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#0D4F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4F1C
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4F1C#FFFFFF#000000##FFFFFF
##0D4F1C1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504717
Deuteranopia (green-blind)
#494220
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0d4f1c;
/* rgb */ color: rgb(13, 79, 28);
/* oklch */ color: oklch(37.6% 0.104 146.6);
Tailwind
colors: {
  custom: {
    50: '#59815a',
    500: '#0d4f1c',
    950: '#000000',
  },
}
SCSS
$custom: #0d4f1c;
$custom-light: #59815a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4f1c",
  "rgb": {
    "r": 13,
    "g": 79,
    "b": 28
  },
  "hsl": {
    "h": 133.636,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37554,
    "c": 0.10362,
    "h": 146.6
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#0D4F1C
secondary
#8A2E75
accent
#39C5EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0D4F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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