#0D4D17#0D4D17

#0D4D17 is a dark, moderate green. Relative luminance 0.055; OKLCH L 36.9% C 0.105 H 145.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#0D4D17
RGBrgb(13, 77, 23)
HSLhsl(129, 71%, 18%)
HSVhsv(129, 83%, 30%)
CMYKcmyk(83.1%, 0%, 70.1%, 69.8%)
CIE-LABlab(27.99, -32.06, 25.80)
CIE-LCHlch(27.99, 41.15, 141.18°)
OKLaboklab(36.86% -0.0865 0.0601)
OKLCHoklch(36.86% 0.105 145.2)
XYZxyz(2.9743, 5.4548, 1.7066)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4D17 #4D0D43
analogous
#234D0D #0D4D17 #0D4D37
triadic
#0D4D17 #170D4D #4D170D
tetradic
#0D4D17 #0D234D #4D0D43 #4D370D
square
#0D4D17 #0D234D #4D0D43 #4D370D
split-complementary
#0D4D17 #370D4D #4D0D23
monochromatic
#041A08 #041A08 #0D4D17 #168127 #1FB636

Accessibility & contrast

On white

10.04
#0D4D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0D4D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4D17
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4D17#FFFFFF#000000##FFFFFF
##0D4D171.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4511
Deuteranopia (green-blind)
#47401C
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0d4d17;
/* rgb */ color: rgb(13, 77, 23);
/* oklch */ color: oklch(36.9% 0.105 145.2);
Tailwind
colors: {
  custom: {
    50: '#588056',
    500: '#0d4d17',
    950: '#000000',
  },
}
SCSS
$custom: #0d4d17;
$custom-light: #588056;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4d17",
  "rgb": {
    "r": 13,
    "g": 77,
    "b": 23
  },
  "hsl": {
    "h": 129.375,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36865,
    "c": 0.10536,
    "h": 145.2
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#0D4D17
secondary
#882E7A
accent
#3AD2EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0D4D17

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

Preview Lab → · Contrast checker → · Palette generator →

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