#0D4C0F#0D4C0F

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

Color values

HEX#0D4C0F
RGBrgb(13, 76, 15)
HSLhsl(122, 71%, 17%)
HSVhsv(122, 83%, 30%)
CMYKcmyk(82.9%, 0%, 80.3%, 70.2%)
CIE-LABlab(27.54, -32.59, 29.09)
CIE-LCHlch(27.54, 43.68, 138.25°)
OKLaboklab(36.47% -0.0884 0.066)
OKLCHoklch(36.47% 0.11 143.2)
XYZxyz(2.8365, 5.2886, 1.3232)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4C0F #4C0D4A
analogous
#2A4C0D #0D4C0F #0D4C2F
triadic
#0D4C0F #0F0D4C #4C0F0D
tetradic
#0D4C0F #0D2A4C #4C0D4A #4C2F0D
square
#0D4C0F #0D2A4C #4C0D4A #4C2F0D
split-complementary
#0D4C0F #2F0D4C #4C0D2A
monochromatic
#041A05 #041A05 #0D4C0F #168019 #1FB524

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D4C0F#FFFFFF#000000##FFFFFF
##0D4C0F1.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)
#4E4405
Deuteranopia (green-blind)
#473F15
Tritanopia (blue-blind)
#004A40
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0d4c0f;
/* rgb */ color: rgb(13, 76, 15);
/* oklch */ color: oklch(36.5% 0.110 143.2);
Tailwind
colors: {
  custom: {
    50: '#597f52',
    500: '#0d4c0f',
    950: '#000000',
  },
}
SCSS
$custom: #0d4c0f;
$custom-light: #597f52;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4c0f",
  "rgb": {
    "r": 13,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 121.905,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36466,
    "c": 0.11028,
    "h": 143.2
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#0D4C0F
secondary
#872E84
accent
#3AE8EE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0D4C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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