#0D581C#0D581C

#0D581C is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.116 H 145.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#0D581C
RGBrgb(13, 88, 28)
HSLhsl(132, 74%, 20%)
HSVhsv(132, 85%, 35%)
CMYKcmyk(85.2%, 0%, 68.2%, 65.5%)
CIE-LABlab(32.14, -35.57, 27.92)
CIE-LCHlch(32.14, 45.22, 141.87°)
OKLaboklab(40.33% -0.0958 0.0652)
OKLCHoklch(40.33% 0.116 145.8)
XYZxyz(3.8650, 7.1484, 2.2745)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D581C #580D49
analogous
#24580D #0D581C #0D5842
triadic
#0D581C #1C0D58 #581C0D
tetradic
#0D581C #0D2458 #580D49 #58420D
square
#0D581C #0D2458 #580D49 #58420D
split-complementary
#0D581C #420D58 #580D24
monochromatic
#041B08 #05230B #0D581C #158D2D #1DC33E

Accessibility & contrast

On white

8.64
#0D581C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#0D581C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D581C
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D581C#FFFFFF#000000##FFFFFF
##0D581C1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F15
Deuteranopia (green-blind)
#514921
Tritanopia (blue-blind)
#00564B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0d581c;
/* rgb */ color: rgb(13, 88, 28);
/* oklch */ color: oklch(40.3% 0.116 145.8);
Tailwind
colors: {
  custom: {
    50: '#5b885b',
    500: '#0d581c',
    950: '#000000',
  },
}
SCSS
$custom: #0d581c;
$custom-light: #5b885b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d581c",
  "rgb": {
    "r": 13,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 132,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40327,
    "c": 0.11592,
    "h": 145.8
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#0D581C
secondary
#932E7E
accent
#37CCF1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0D581C

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

Preview Lab → · Contrast checker → · Palette generator →

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