#0D5B18#0D5B18

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

Color values

HEX#0D5B18
RGBrgb(13, 91, 24)
HSLhsl(128, 75%, 20%)
HSVhsv(128, 86%, 36%)
CMYKcmyk(85.7%, 0%, 73.6%, 64.3%)
CIE-LABlab(33.21, -37.15, 31.01)
CIE-LCHlch(33.21, 48.39, 140.14°)
OKLaboklab(41.2% -0.1003 0.0713)
OKLCHoklch(41.2% 0.123 144.6)
XYZxyz(4.0717, 7.6332, 2.1227)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5B18 #5B0D50
analogous
#295B0D #0D5B18 #0D5B3F
triadic
#0D5B18 #180D5B #5B180D
tetradic
#0D5B18 #0D295B #5B0D50 #5B3F0D
square
#0D5B18 #0D295B #5B0D50 #5B3F0D
split-complementary
#0D5B18 #3F0D5B #5B0D29
monochromatic
#041B07 #05250A #0D5B18 #159126 #1CC634

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D5B18#FFFFFF#000000##FFFFFF
##0D5B181.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)
#5D520E
Deuteranopia (green-blind)
#544C1E
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0d5b18;
/* rgb */ color: rgb(13, 91, 24);
/* oklch */ color: oklch(41.2% 0.123 144.6);
Tailwind
colors: {
  custom: {
    50: '#5c8a59',
    500: '#0d5b18',
    950: '#000000',
  },
}
SCSS
$custom: #0d5b18;
$custom-light: #5c8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5b18",
  "rgb": {
    "r": 13,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 128.462,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41199,
    "c": 0.12304,
    "h": 144.6
  },
  "luminance": 0.07634
}

Semantic roles & 50–950 ramp

primary
#0D5B18
secondary
#952F87
accent
#36D7F2
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0D5B18

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

Preview Lab → · Contrast checker → · Palette generator →

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