#0D4C12#0D4C12

#0D4C12 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.5% C 0.108 H 143.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#0D4C12
RGBrgb(13, 76, 18)
HSLhsl(125, 71%, 17%)
HSVhsv(125, 83%, 30%)
CMYKcmyk(82.9%, 0%, 76.3%, 70.2%)
CIE-LABlab(27.57, -32.28, 27.77)
CIE-LCHlch(27.57, 42.59, 139.29°)
OKLaboklab(36.49% -0.0874 0.0637)
OKLCHoklch(36.49% 0.108 143.9)
XYZxyz(2.8594, 5.2978, 1.4440)
Luminance0.0530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4C12 #4C0D47
analogous
#274C0D #0D4C12 #0D4C32
triadic
#0D4C12 #120D4C #4C120D
tetradic
#0D4C12 #0D274C #4C0D47 #4C320D
square
#0D4C12 #0D274C #4C0D47 #4C320D
split-complementary
#0D4C12 #320D4C #4C0D27
monochromatic
#041A06 #041A06 #0D4C12 #16801E #1FB52B

Accessibility & contrast

On white

10.20
#0D4C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D4C12
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4C12#FFFFFF#000000##FFFFFF
##0D4C121.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d4c12;
/* rgb */ color: rgb(13, 76, 18);
/* oklch */ color: oklch(36.5% 0.108 143.9);
Tailwind
colors: {
  custom: {
    50: '#587f53',
    500: '#0d4c12',
    950: '#000000',
  },
}
SCSS
$custom: #0d4c12;
$custom-light: #587f53;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4c12",
  "rgb": {
    "r": 13,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 124.762,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36495,
    "c": 0.1081,
    "h": 143.9
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#0D4C12
secondary
#872E80
accent
#3ADFEE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #0D4C12

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

Preview Lab → · Contrast checker → · Palette generator →

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