#0D5617#0D5617

#0D5617 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.7% C 0.117 H 144.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#0D5617
RGBrgb(13, 86, 23)
HSLhsl(128, 74%, 19%)
HSVhsv(128, 85%, 34%)
CMYKcmyk(84.9%, 0%, 73.3%, 66.3%)
CIE-LABlab(31.35, -35.45, 29.49)
CIE-LCHlch(31.35, 46.11, 140.25°)
OKLaboklab(39.66% -0.0957 0.0679)
OKLCHoklch(39.66% 0.117 144.6)
XYZxyz(3.6482, 6.8026, 1.9312)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5617 #560D4C
analogous
#28560D #0D5617 #0D563C
triadic
#0D5617 #170D56 #56170D
tetradic
#0D5617 #0D2856 #560D4C #563C0D
square
#0D5617 #0D2856 #560D4C #563C0D
split-complementary
#0D5617 #3C0D56 #560D28
monochromatic
#041B07 #052109 #0D5617 #158B25 #1DC033

Accessibility & contrast

On white

8.90
#0D5617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0D5617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5617
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5617#FFFFFF#000000##FFFFFF
##0D56171.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0E
Deuteranopia (green-blind)
#50481D
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0d5617;
/* rgb */ color: rgb(13, 86, 23);
/* oklch */ color: oklch(39.7% 0.117 144.6);
Tailwind
colors: {
  custom: {
    50: '#5b8658',
    500: '#0d5617',
    950: '#000000',
  },
}
SCSS
$custom: #0d5617;
$custom-light: #5b8658;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5617",
  "rgb": {
    "r": 13,
    "g": 86,
    "b": 23
  },
  "hsl": {
    "h": 128.219,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39655,
    "c": 0.11737,
    "h": 144.6
  },
  "luminance": 0.06803
}

Semantic roles & 50–950 ramp

primary
#0D5617
secondary
#912E83
accent
#37D7F0
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0D5617

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

Preview Lab → · Contrast checker → · Palette generator →

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