#0D5C17#0D5C17

#0D5C17 is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.5% C 0.125 H 144.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#0D5C17
RGBrgb(13, 92, 23)
HSLhsl(128, 75%, 21%)
HSVhsv(128, 86%, 36%)
CMYKcmyk(85.9%, 0%, 75%, 63.9%)
CIE-LABlab(33.57, -37.61, 31.84)
CIE-LCHlch(33.57, 49.28, 139.75°)
OKLaboklab(41.49% -0.1016 0.0729)
OKLCHoklch(41.49% 0.125 144.3)
XYZxyz(4.1475, 7.8012, 2.0976)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5C17 #5C0D52
analogous
#2A5C0D #0D5C17 #0D5C3E
triadic
#0D5C17 #170D5C #5C170D
tetradic
#0D5C17 #0D2A5C #5C0D52 #5C3E0D
square
#0D5C17 #0D2A5C #5C0D52 #5C3E0D
split-complementary
#0D5C17 #3E0D5C #5C0D2A
monochromatic
#041B07 #05260A #0D5C17 #159224 #1CC732

Accessibility & contrast

On white

8.20
#0D5C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#0D5C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5C17
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5C17#FFFFFF#000000##FFFFFF
##0D5C171.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530D
Deuteranopia (green-blind)
#554D1E
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0d5c17;
/* rgb */ color: rgb(13, 92, 23);
/* oklch */ color: oklch(41.5% 0.125 144.3);
Tailwind
colors: {
  custom: {
    50: '#5d8b58',
    500: '#0d5c17',
    950: '#000000',
  },
}
SCSS
$custom: #0d5c17;
$custom-light: #5d8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5c17",
  "rgb": {
    "r": 13,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 127.595,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41494,
    "c": 0.12505,
    "h": 144.3
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#0D5C17
secondary
#962F89
accent
#36DAF2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0D5C17

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

Preview Lab → · Contrast checker → · Palette generator →

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