#0D5817#0D5817

#0D5817 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.120 H 144.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#0D5817
RGBrgb(13, 88, 23)
HSLhsl(128, 74%, 20%)
HSVhsv(128, 85%, 35%)
CMYKcmyk(85.2%, 0%, 73.9%, 65.5%)
CIE-LABlab(32.09, -36.18, 30.28)
CIE-LCHlch(32.09, 47.18, 140.07°)
OKLaboklab(40.27% -0.0977 0.0696)
OKLCHoklch(40.27% 0.12 144.5)
XYZxyz(3.8101, 7.1264, 1.9852)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5817 #580D4E
analogous
#29580D #0D5817 #0D583D
triadic
#0D5817 #170D58 #58170D
tetradic
#0D5817 #0D2958 #580D4E #583D0D
square
#0D5817 #0D2958 #580D4E #583D0D
split-complementary
#0D5817 #3D0D58 #580D29
monochromatic
#041B07 #052309 #0D5817 #158D25 #1DC333

Accessibility & contrast

On white

8.66
#0D5817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#0D5817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5817
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5817#FFFFFF#000000##FFFFFF
##0D58171.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0E
Deuteranopia (green-blind)
#52491D
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0d5817;
/* rgb */ color: rgb(13, 88, 23);
/* oklch */ color: oklch(40.3% 0.120 144.5);
Tailwind
colors: {
  custom: {
    50: '#5c8858',
    500: '#0d5817',
    950: '#000000',
  },
}
SCSS
$custom: #0d5817;
$custom-light: #5c8858;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5817",
  "rgb": {
    "r": 13,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 128,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.4027,
    "c": 0.11996,
    "h": 144.5
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#0D5817
secondary
#932E85
accent
#37D8F1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0D5817

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

Preview Lab → · Contrast checker → · Palette generator →

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