#0D521F#0D521F

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

Color values

HEX#0D521F
RGBrgb(13, 82, 31)
HSLhsl(136, 73%, 19%)
HSVhsv(136, 84%, 32%)
CMYKcmyk(84.1%, 0%, 62.2%, 67.8%)
CIE-LABlab(29.96, -32.86, 23.83)
CIE-LCHlch(29.96, 40.59, 144.05°)
OKLaboklab(38.53% -0.0884 0.0567)
OKLCHoklch(38.53% 0.105 147.3)
XYZxyz(3.4303, 6.2187, 2.3156)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D521F #520D40
analogous
#1D520D #0D521F #0D5241
triadic
#0D521F #1F0D52 #521F0D
tetradic
#0D521F #0D1D52 #520D40 #52410D
square
#0D521F #0D1D52 #520D40 #52410D
split-complementary
#0D521F #410D52 #520D1D
monochromatic
#041A0A #051D0B #0D521F #158733 #1EBC47

Accessibility & contrast

On white

9.36
#0D521F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D521F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D521F#FFFFFF#000000##FFFFFF
##0D521F1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1A
Deuteranopia (green-blind)
#4B4423
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0d521f;
/* rgb */ color: rgb(13, 82, 31);
/* oklch */ color: oklch(38.5% 0.105 147.3);
Tailwind
colors: {
  custom: {
    50: '#59835c',
    500: '#0d521f',
    950: '#000000',
  },
}
SCSS
$custom: #0d521f;
$custom-light: #59835c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d521f",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 31
  },
  "hsl": {
    "h": 135.652,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38525,
    "c": 0.10498,
    "h": 147.3
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#0D521F
secondary
#8D2E74
accent
#38C0EF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0D521F

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

Preview Lab → · Contrast checker → · Palette generator →

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