#0D591C#0D591C

#0D591C is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.117 H 145.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#0D591C
RGBrgb(13, 89, 28)
HSLhsl(132, 75%, 20%)
HSVhsv(132, 85%, 35%)
CMYKcmyk(85.4%, 0%, 68.5%, 65.1%)
CIE-LABlab(32.51, -35.94, 28.34)
CIE-LCHlch(32.51, 45.77, 141.75°)
OKLaboklab(40.63% -0.0968 0.0661)
OKLCHoklch(40.63% 0.117 145.7)
XYZxyz(3.9477, 7.3137, 2.3020)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D591C #590D4A
analogous
#24590D #0D591C #0D5942
triadic
#0D591C #1C0D59 #591C0D
tetradic
#0D591C #0D2459 #590D4A #59420D
square
#0D591C #0D2459 #590D4A #59420D
split-complementary
#0D591C #420D59 #590D24
monochromatic
#041B08 #05240B #0D591C #158E2D #1DC43E

Accessibility & contrast

On white

8.53
#0D591C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#0D591C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D591C
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D591C#FFFFFF#000000##FFFFFF
##0D591C1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5015
Deuteranopia (green-blind)
#524A21
Tritanopia (blue-blind)
#00574C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0d591c;
/* rgb */ color: rgb(13, 89, 28);
/* oklch */ color: oklch(40.6% 0.117 145.7);
Tailwind
colors: {
  custom: {
    50: '#5c895b',
    500: '#0d591c',
    950: '#000000',
  },
}
SCSS
$custom: #0d591c;
$custom-light: #5c895b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d591c",
  "rgb": {
    "r": 13,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 131.842,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.40633,
    "c": 0.11724,
    "h": 145.7
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0D591C

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

Preview Lab → · Contrast checker → · Palette generator →

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