#0D5618#0D5618

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

Color values

HEX#0D5618
RGBrgb(13, 86, 24)
HSLhsl(129, 74%, 19%)
HSVhsv(129, 85%, 34%)
CMYKcmyk(84.9%, 0%, 72.1%, 66.3%)
CIE-LABlab(31.36, -35.33, 29.02)
CIE-LCHlch(31.36, 45.72, 140.60°)
OKLaboklab(39.67% -0.0953 0.0671)
OKLCHoklch(39.67% 0.117 144.9)
XYZxyz(3.6584, 6.8067, 1.9850)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5618 #560D4B
analogous
#27560D #0D5618 #0D563D
triadic
#0D5618 #180D56 #56180D
tetradic
#0D5618 #0D2756 #560D4B #563D0D
square
#0D5618 #0D2756 #560D4B #563D0D
split-complementary
#0D5618 #3D0D56 #560D27
monochromatic
#041B07 #052109 #0D5618 #158B27 #1DC036

Accessibility & contrast

On white

8.89
#0D5618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D5618
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5618#FFFFFF#000000##FFFFFF
##0D56181.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D10
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#005449
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0d5618;
/* rgb */ color: rgb(13, 86, 24);
/* oklch */ color: oklch(39.7% 0.117 144.9);
Tailwind
colors: {
  custom: {
    50: '#5b8658',
    500: '#0d5618',
    950: '#000000',
  },
}
SCSS
$custom: #0d5618;
$custom-light: #5b8658;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5618",
  "rgb": {
    "r": 13,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 129.041,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39666,
    "c": 0.11658,
    "h": 144.9
  },
  "luminance": 0.06807
}

Semantic roles & 50–950 ramp

primary
#0D5618
secondary
#912E82
accent
#37D5F0
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0D5618

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

Preview Lab → · Contrast checker → · Palette generator →

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