#0D4F0D#0D4F0D

#0D4F0D is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.115 H 142.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#0D4F0D
RGBrgb(13, 79, 13)
HSLhsl(120, 72%, 18%)
HSVhsv(120, 84%, 31%)
CMYKcmyk(83.5%, 0%, 83.5%, 69%)
CIE-LABlab(28.66, -33.88, 31.03)
CIE-LCHlch(28.66, 45.94, 137.51°)
OKLaboklab(37.39% -0.092 0.0697)
OKLCHoklch(37.39% 0.115 142.8)
XYZxyz(3.0344, 5.7062, 1.3222)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4F0D #4F0D4F
analogous
#2E4F0D #0D4F0D #0D4F2E
triadic
#0D4F0D #0D0D4F #4F0D0D
tetradic
#0D4F0D #0D2E4F #4F0D4F #4F2E0D
square
#0D4F0D #0D2E4F #4F0D4F #4F2E0D
split-complementary
#0D4F0D #2E0D4F #4F0D2E
monochromatic
#041A04 #041A04 #0D4F0D #168416 #1EB81E

Accessibility & contrast

On white

9.81
#0D4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#0D4F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4F0D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4F0D#FFFFFF#000000##FFFFFF
##0D4F0D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514702
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#004C42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0d4f0d;
/* rgb */ color: rgb(13, 79, 13);
/* oklch */ color: oklch(37.4% 0.115 142.8);
Tailwind
colors: {
  custom: {
    50: '#5a8151',
    500: '#0d4f0d',
    950: '#000000',
  },
}
SCSS
$custom: #0d4f0d;
$custom-light: #5a8151;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4f0d",
  "rgb": {
    "r": 13,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 120,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3739,
    "c": 0.11541,
    "h": 142.8
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#0D4F0D
secondary
#8A2E8A
accent
#39EEEE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0D4F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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