#0D5420#0D5420

#0D5420 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.107 H 147.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#0D5420
RGBrgb(13, 84, 32)
HSLhsl(136, 73%, 19%)
HSVhsv(136, 85%, 33%)
CMYKcmyk(84.5%, 0%, 61.9%, 67.1%)
CIE-LABlab(30.71, -33.48, 24.17)
CIE-LCHlch(30.71, 41.30, 144.17°)
OKLaboklab(39.16% -0.09 0.0575)
OKLCHoklch(39.16% 0.107 147.4)
XYZxyz(3.5967, 6.5301, 2.4371)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5420 #540D41
analogous
#1E540D #0D5420 #0D5444
triadic
#0D5420 #200D54 #54200D
tetradic
#0D5420 #0D1E54 #540D41 #54440D
square
#0D5420 #0D1E54 #540D41 #54440D
split-complementary
#0D5420 #440D54 #540D1E
monochromatic
#041A0A #051F0C #0D5420 #158934 #1DBE48

Accessibility & contrast

On white

9.11
#0D5420 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#0D5420 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5420
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5420#FFFFFF#000000##FFFFFF
##0D54201.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1B
Deuteranopia (green-blind)
#4D4624
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0d5420;
/* rgb */ color: rgb(13, 84, 32);
/* oklch */ color: oklch(39.2% 0.107 147.4);
Tailwind
colors: {
  custom: {
    50: '#5a855d',
    500: '#0d5420',
    950: '#000000',
  },
}
SCSS
$custom: #0d5420;
$custom-light: #5a855d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5420",
  "rgb": {
    "r": 13,
    "g": 84,
    "b": 32
  },
  "hsl": {
    "h": 136.056,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39155,
    "c": 0.10684,
    "h": 147.4
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#0D5420
secondary
#8F2E75
accent
#38BFF0
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0D5420

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

Preview Lab → · Contrast checker → · Palette generator →

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