#0D520D#0D520D

#0D520D is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.119 H 142.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#0D520D
RGBrgb(13, 82, 13)
HSLhsl(120, 73%, 19%)
HSVhsv(120, 84%, 32%)
CMYKcmyk(84.1%, 0%, 84.1%, 67.8%)
CIE-LABlab(29.78, -34.97, 32.13)
CIE-LCHlch(29.78, 47.49, 137.42°)
OKLaboklab(38.33% -0.0949 0.072)
OKLCHoklch(38.33% 0.119 142.8)
XYZxyz(3.2557, 6.1488, 1.3959)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D520D #520D52
analogous
#2F520D #0D520D #0D522F
triadic
#0D520D #0D0D52 #520D0D
tetradic
#0D520D #0D2F52 #520D52 #522F0D
square
#0D520D #0D2F52 #520D52 #522F0D
split-complementary
#0D520D #2F0D52 #520D2F
monochromatic
#041A04 #051D05 #0D520D #158715 #1EBC1E

Accessibility & contrast

On white

9.42
#0D520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#0D520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D520D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D520D#FFFFFF#000000##FFFFFF
##0D520D1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544901
Deuteranopia (green-blind)
#4C4415
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0d520d;
/* rgb */ color: rgb(13, 82, 13);
/* oklch */ color: oklch(38.3% 0.119 142.8);
Tailwind
colors: {
  custom: {
    50: '#5a8352',
    500: '#0d520d',
    950: '#000000',
  },
}
SCSS
$custom: #0d520d;
$custom-light: #5a8352;
$custom-dark: #000000;
JSON
{
  "hex": "#0d520d",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 120,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38326,
    "c": 0.11914,
    "h": 142.8
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#0D520D
secondary
#8D2E8D
accent
#38EFEF
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040B02
muted
#797C78

Preview Lab

Preview with #0D520D

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

Preview Lab → · Contrast checker → · Palette generator →

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