#0D4C0D#0D4C0D

#0D4C0D is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.4% C 0.112 H 142.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#0D4C0D
RGBrgb(13, 76, 13)
HSLhsl(120, 71%, 17%)
HSVhsv(120, 83%, 30%)
CMYKcmyk(82.9%, 0%, 82.9%, 70.2%)
CIE-LABlab(27.53, -32.77, 29.91)
CIE-LCHlch(27.53, 44.37, 137.62°)
OKLaboklab(36.45% -0.089 0.0674)
OKLCHoklch(36.45% 0.112 142.9)
XYZxyz(2.8229, 5.2832, 1.2517)
Luminance0.0528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4C0D #4C0D4C
analogous
#2D4C0D #0D4C0D #0D4C2D
triadic
#0D4C0D #0D0D4C #4C0D0D
tetradic
#0D4C0D #0D2D4C #4C0D4C #4C2D0D
square
#0D4C0D #0D2D4C #4C0D4C #4C2D0D
split-complementary
#0D4C0D #2D0D4C #4C0D2D
monochromatic
#041A04 #041A04 #0D4C0D #168016 #1FB51F

Accessibility & contrast

On white

10.21
#0D4C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#0D4C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4C0D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4C0D#FFFFFF#000000##FFFFFF
##0D4C0D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4402
Deuteranopia (green-blind)
#473F14
Tritanopia (blue-blind)
#004A40
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0d4c0d;
/* rgb */ color: rgb(13, 76, 13);
/* oklch */ color: oklch(36.4% 0.112 142.9);
Tailwind
colors: {
  custom: {
    50: '#597f51',
    500: '#0d4c0d',
    950: '#000000',
  },
}
SCSS
$custom: #0d4c0d;
$custom-light: #597f51;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4c0d",
  "rgb": {
    "r": 13,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 120,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36449,
    "c": 0.1116,
    "h": 142.9
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#0D4C0D
secondary
#872E87
accent
#3AEEEE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0D4C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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