#0D5717#0D5717

#0D5717 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.0% C 0.119 H 144.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#0D5717
RGBrgb(13, 87, 23)
HSLhsl(128, 74%, 20%)
HSVhsv(128, 85%, 34%)
CMYKcmyk(85.1%, 0%, 73.6%, 65.9%)
CIE-LABlab(31.72, -35.81, 29.88)
CIE-LCHlch(31.72, 46.64, 140.16°)
OKLaboklab(39.96% -0.0967 0.0688)
OKLCHoklch(39.96% 0.119 144.6)
XYZxyz(3.7286, 6.9634, 1.9580)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5717 #570D4D
analogous
#28570D #0D5717 #0D573C
triadic
#0D5717 #170D57 #57170D
tetradic
#0D5717 #0D2857 #570D4D #573C0D
square
#0D5717 #0D2857 #570D4D #573C0D
split-complementary
#0D5717 #3C0D57 #570D28
monochromatic
#041B07 #052209 #0D5717 #158C25 #1DC133

Accessibility & contrast

On white

8.78
#0D5717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#0D5717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5717
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5717#FFFFFF#000000##FFFFFF
##0D57171.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0E
Deuteranopia (green-blind)
#51481D
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0d5717;
/* rgb */ color: rgb(13, 87, 23);
/* oklch */ color: oklch(40.0% 0.119 144.6);
Tailwind
colors: {
  custom: {
    50: '#5b8758',
    500: '#0d5717',
    950: '#000000',
  },
}
SCSS
$custom: #0d5717;
$custom-light: #5b8758;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5717",
  "rgb": {
    "r": 13,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 128.108,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39963,
    "c": 0.11867,
    "h": 144.6
  },
  "luminance": 0.06964
}

Semantic roles & 50–950 ramp

primary
#0D5717
secondary
#922E84
accent
#37D8F1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0D5717

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

Preview Lab → · Contrast checker → · Palette generator →

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