#0D5B17#0D5B17

#0D5B17 is a dark, vivid green. Relative luminance 0.076; OKLCH L 41.2% C 0.124 H 144.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#0D5B17
RGBrgb(13, 91, 23)
HSLhsl(128, 75%, 20%)
HSVhsv(128, 86%, 36%)
CMYKcmyk(85.7%, 0%, 74.7%, 64.3%)
CIE-LABlab(33.20, -37.26, 31.45)
CIE-LCHlch(33.20, 48.76, 139.83°)
OKLaboklab(41.19% -0.1006 0.0721)
OKLCHoklch(41.19% 0.124 144.4)
XYZxyz(4.0614, 7.6291, 2.0690)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5B17 #5B0D51
analogous
#2A5B0D #0D5B17 #0D5B3E
triadic
#0D5B17 #170D5B #5B170D
tetradic
#0D5B17 #0D2A5B #5B0D51 #5B3E0D
square
#0D5B17 #0D2A5B #5B0D51 #5B3E0D
split-complementary
#0D5B17 #3E0D5B #5B0D2A
monochromatic
#041B07 #052509 #0D5B17 #159125 #1CC632

Accessibility & contrast

On white

8.31
#0D5B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#0D5B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5B17
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5B17#FFFFFF#000000##FFFFFF
##0D5B171.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520D
Deuteranopia (green-blind)
#544C1E
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0d5b17;
/* rgb */ color: rgb(13, 91, 23);
/* oklch */ color: oklch(41.2% 0.124 144.4);
Tailwind
colors: {
  custom: {
    50: '#5d8a58',
    500: '#0d5b17',
    950: '#000000',
  },
}
SCSS
$custom: #0d5b17;
$custom-light: #5d8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5b17",
  "rgb": {
    "r": 13,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 127.692,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41188,
    "c": 0.12378,
    "h": 144.4
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#0D5B17
secondary
#952F88
accent
#36DAF2
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0D5B17

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

Preview Lab → · Contrast checker → · Palette generator →

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