#0D5917#0D5917

#0D5917 is a dark, vivid green. Relative luminance 0.073; OKLCH L 40.6% C 0.121 H 144.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#0D5917
RGBrgb(13, 89, 23)
HSLhsl(128, 75%, 20%)
HSVhsv(128, 85%, 35%)
CMYKcmyk(85.4%, 0%, 74.2%, 65.1%)
CIE-LABlab(32.46, -36.54, 30.67)
CIE-LCHlch(32.46, 47.71, 139.99°)
OKLaboklab(40.58% -0.0987 0.0704)
OKLCHoklch(40.58% 0.121 144.5)
XYZxyz(3.8927, 7.2917, 2.0127)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5917 #590D4F
analogous
#29590D #0D5917 #0D593D
triadic
#0D5917 #170D59 #59170D
tetradic
#0D5917 #0D2959 #590D4F #593D0D
square
#0D5917 #0D2959 #590D4F #593D0D
split-complementary
#0D5917 #3D0D59 #590D29
monochromatic
#041B07 #052409 #0D5917 #158E25 #1DC433

Accessibility & contrast

On white

8.54
#0D5917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#0D5917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5917
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5917#FFFFFF#000000##FFFFFF
##0D59171.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500D
Deuteranopia (green-blind)
#534A1D
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0d5917;
/* rgb */ color: rgb(13, 89, 23);
/* oklch */ color: oklch(40.6% 0.121 144.5);
Tailwind
colors: {
  custom: {
    50: '#5c8958',
    500: '#0d5917',
    950: '#000000',
  },
}
SCSS
$custom: #0d5917;
$custom-light: #5c8958;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5917",
  "rgb": {
    "r": 13,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 127.895,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.40577,
    "c": 0.12124,
    "h": 144.5
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#0D5917
secondary
#932E86
accent
#37D9F1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0D5917

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

Preview Lab → · Contrast checker → · Palette generator →

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