#0D520E#0D520E

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

Color values

HEX#0D520E
RGBrgb(13, 82, 14)
HSLhsl(121, 73%, 19%)
HSVhsv(121, 84%, 32%)
CMYKcmyk(84.1%, 0%, 82.9%, 67.8%)
CIE-LABlab(29.79, -34.89, 31.76)
CIE-LCHlch(29.79, 47.17, 137.69°)
OKLaboklab(38.33% -0.0946 0.0714)
OKLCHoklch(38.33% 0.119 143)
XYZxyz(3.2623, 6.1515, 1.4308)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D520E #520D51
analogous
#2E520D #0D520E #0D5230
triadic
#0D520E #0E0D52 #520E0D
tetradic
#0D520E #0D2E52 #520D51 #52300D
square
#0D520E #0D2E52 #520D51 #52300D
split-complementary
#0D520E #300D52 #520D2E
monochromatic
#041A05 #051D05 #0D520E #158717 #1EBC20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D520E#FFFFFF#000000##FFFFFF
##0D520E1.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)
#544902
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0d520e;
/* rgb */ color: rgb(13, 82, 14);
/* oklch */ color: oklch(38.3% 0.119 143.0);
Tailwind
colors: {
  custom: {
    50: '#5a8352',
    500: '#0d520e',
    950: '#000000',
  },
}
SCSS
$custom: #0d520e;
$custom-light: #5a8352;
$custom-dark: #000000;
JSON
{
  "hex": "#0d520e",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 14
  },
  "hsl": {
    "h": 120.87,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38334,
    "c": 0.11855,
    "h": 143
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#0D520E
secondary
#8D2E8C
accent
#38EDEF
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040B02
muted
#797C78

Preview Lab

Preview with #0D520E

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

Preview Lab → · Contrast checker → · Palette generator →

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