#0D4C1F#0D4C1F

#0D4C1F is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.7% C 0.096 H 148.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#0D4C1F
RGBrgb(13, 76, 31)
HSLhsl(137, 71%, 17%)
HSVhsv(137, 83%, 30%)
CMYKcmyk(82.9%, 0%, 59.2%, 70.2%)
CIE-LABlab(27.72, -30.47, 21.14)
CIE-LCHlch(27.72, 37.08, 145.25°)
OKLaboklab(36.67% -0.0819 0.0508)
OKLCHoklch(36.67% 0.096 148.2)
XYZxyz(2.9975, 5.3530, 2.1713)
Luminance0.0535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4C1F #4C0D3A
analogous
#1A4C0D #0D4C1F #0D4C3F
triadic
#0D4C1F #1F0D4C #4C1F0D
tetradic
#0D4C1F #0D1A4C #4C0D3A #4C3F0D
square
#0D4C1F #0D1A4C #4C0D3A #4C3F0D
split-complementary
#0D4C1F #3F0D4C #4C0D1A
monochromatic
#041A0B #041A0B #0D4C1F #168034 #1FB54A

Accessibility & contrast

On white

10.14
#0D4C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#0D4C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4C1F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4C1F#FFFFFF#000000##FFFFFF
##0D4C1F1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D441B
Deuteranopia (green-blind)
#463F22
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0d4c1f;
/* rgb */ color: rgb(13, 76, 31);
/* oklch */ color: oklch(36.7% 0.096 148.2);
Tailwind
colors: {
  custom: {
    50: '#587f5c',
    500: '#0d4c1f',
    950: '#000000',
  },
}
SCSS
$custom: #0d4c1f;
$custom-light: #587f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4c1f",
  "rgb": {
    "r": 13,
    "g": 76,
    "b": 31
  },
  "hsl": {
    "h": 137.143,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36669,
    "c": 0.09639,
    "h": 148.2
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#0D4C1F
secondary
#872E6E
accent
#3ABAEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0D4C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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