#0D5F17#0D5F17

#0D5F17 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.4% C 0.129 H 144.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#0D5F17
RGBrgb(13, 95, 23)
HSLhsl(127, 76%, 21%)
HSVhsv(127, 86%, 37%)
CMYKcmyk(86.3%, 0%, 75.8%, 62.7%)
CIE-LABlab(34.66, -38.68, 32.99)
CIE-LCHlch(34.66, 50.84, 139.53°)
OKLaboklab(42.41% -0.1045 0.0753)
OKLCHoklch(42.41% 0.129 144.2)
XYZxyz(4.4125, 8.3313, 2.1860)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5F17 #5F0D55
analogous
#2C5F0D #0D5F17 #0D5F40
triadic
#0D5F17 #170D5F #5F170D
tetradic
#0D5F17 #0D2C5F #5F0D55 #5F400D
square
#0D5F17 #0D2C5F #5F0D55 #5F400D
split-complementary
#0D5F17 #400D5F #5F0D2C
monochromatic
#041B07 #06290A #0D5F17 #149524 #1CCB31

Accessibility & contrast

On white

7.88
#0D5F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#0D5F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5F17
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5F17#FFFFFF#000000##FFFFFF
##0D5F171.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550B
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0d5f17;
/* rgb */ color: rgb(13, 95, 23);
/* oklch */ color: oklch(42.4% 0.129 144.2);
Tailwind
colors: {
  custom: {
    50: '#5e8d59',
    500: '#0d5f17',
    950: '#000000',
  },
}
SCSS
$custom: #0d5f17;
$custom-light: #5e8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5f17",
  "rgb": {
    "r": 13,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 127.317,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42407,
    "c": 0.1288,
    "h": 144.2
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#0D5F17
secondary
#992F8C
accent
#35DBF3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0D5F17

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

Preview Lab → · Contrast checker → · Palette generator →

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