#0D4D0C#0D4D0C

#0D4D0C is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.114 H 142.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#0D4D0C
RGBrgb(13, 77, 12)
HSLhsl(119, 73%, 17%)
HSVhsv(119, 84%, 30%)
CMYKcmyk(83.1%, 0%, 84.4%, 69.8%)
CIE-LABlab(27.90, -33.23, 30.67)
CIE-LCHlch(27.90, 45.22, 137.29°)
OKLaboklab(36.76% -0.0902 0.0688)
OKLCHoklch(36.76% 0.114 142.7)
XYZxyz(2.8860, 5.4195, 1.2417)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4D0C #4C0C4D
analogous
#2D4D0C #0D4D0C #0C4D2C
triadic
#0D4D0C #0C0D4D #4D0C0D
tetradic
#0D4D0C #0C2D4D #4C0C4D #4D2C0C
square
#0D4D0C #0C2D4D #4C0C4D #4D2C0C
split-complementary
#0D4D0C #2C0C4D #4D0C2D
monochromatic
#041A04 #041A04 #0D4D0C #168214 #1FB71D

Accessibility & contrast

On white

10.08
#0D4D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0D4D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4D0C
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4D0C#FFFFFF#000000##FFFFFF
##0D4D0C1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4501
Deuteranopia (green-blind)
#484013
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0d4d0c;
/* rgb */ color: rgb(13, 77, 12);
/* oklch */ color: oklch(36.8% 0.114 142.7);
Tailwind
colors: {
  custom: {
    50: '#598050',
    500: '#0d4d0c',
    950: '#000000',
  },
}
SCSS
$custom: #0d4d0c;
$custom-light: #598050;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4d0c",
  "rgb": {
    "r": 13,
    "g": 77,
    "b": 12
  },
  "hsl": {
    "h": 119.077,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36756,
    "c": 0.1135,
    "h": 142.7
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#0D4D0C
secondary
#872C89
accent
#38F0ED
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0D4D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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