#0D521C#0D521C

#0D521C is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.108 H 146.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#0D521C
RGBrgb(13, 82, 28)
HSLhsl(133, 73%, 19%)
HSVhsv(133, 84%, 32%)
CMYKcmyk(84.1%, 0%, 65.9%, 67.8%)
CIE-LABlab(29.92, -33.31, 25.39)
CIE-LCHlch(29.92, 41.88, 142.68°)
OKLaboklab(38.48% -0.0897 0.0598)
OKLCHoklch(38.48% 0.108 146.3)
XYZxyz(3.3926, 6.2036, 2.1170)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D521C #520D43
analogous
#20520D #0D521C #0D523E
triadic
#0D521C #1C0D52 #521C0D
tetradic
#0D521C #0D2052 #520D43 #523E0D
square
#0D521C #0D2052 #520D43 #523E0D
split-complementary
#0D521C #3E0D52 #520D20
monochromatic
#041A09 #051D0A #0D521C #15872E #1EBC40

Accessibility & contrast

On white

9.37
#0D521C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#0D521C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D521C
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D521C#FFFFFF#000000##FFFFFF
##0D521C1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A16
Deuteranopia (green-blind)
#4C4421
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0d521c;
/* rgb */ color: rgb(13, 82, 28);
/* oklch */ color: oklch(38.5% 0.108 146.3);
Tailwind
colors: {
  custom: {
    50: '#5a835a',
    500: '#0d521c',
    950: '#000000',
  },
}
SCSS
$custom: #0d521c;
$custom-light: #5a835a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d521c",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 28
  },
  "hsl": {
    "h": 133.043,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38482,
    "c": 0.10779,
    "h": 146.3
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#0D521C
secondary
#8D2E78
accent
#38C8EF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0D521C

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

Preview Lab → · Contrast checker → · Palette generator →

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