#0D581F#0D581F

#0D581F is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.4% C 0.113 H 146.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#0D581F
RGBrgb(13, 88, 31)
HSLhsl(134, 74%, 20%)
HSVhsv(134, 85%, 35%)
CMYKcmyk(85.2%, 0%, 64.8%, 65.5%)
CIE-LABlab(32.18, -35.16, 26.42)
CIE-LCHlch(32.18, 43.98, 143.08°)
OKLaboklab(40.37% -0.0946 0.0623)
OKLCHoklch(40.37% 0.113 146.6)
XYZxyz(3.9027, 7.1635, 2.4731)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D581F #580D46
analogous
#21580D #0D581F #0D5845
triadic
#0D581F #1F0D58 #581F0D
tetradic
#0D581F #0D2158 #580D46 #58450D
square
#0D581F #0D2158 #580D46 #58450D
split-complementary
#0D581F #450D58 #580D21
monochromatic
#041B09 #05230C #0D581F #158D32 #1DC345

Accessibility & contrast

On white

8.63
#0D581F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D581F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D581F#FFFFFF#000000##FFFFFF
##0D581F1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F19
Deuteranopia (green-blind)
#514924
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0d581f;
/* rgb */ color: rgb(13, 88, 31);
/* oklch */ color: oklch(40.4% 0.113 146.6);
Tailwind
colors: {
  custom: {
    50: '#5b885d',
    500: '#0d581f',
    950: '#000000',
  },
}
SCSS
$custom: #0d581f;
$custom-light: #5b885d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d581f",
  "rgb": {
    "r": 13,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 134.4,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40366,
    "c": 0.11328,
    "h": 146.6
  },
  "luminance": 0.07164
}

Semantic roles & 50–950 ramp

primary
#0D581F
secondary
#932E7A
accent
#37C4F1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0D581F

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

Preview Lab → · Contrast checker → · Palette generator →

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