#0D521B#0D521B

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

Color values

HEX#0D521B
RGBrgb(13, 82, 27)
HSLhsl(132, 73%, 19%)
HSVhsv(132, 84%, 32%)
CMYKcmyk(84.1%, 0%, 67.1%, 67.8%)
CIE-LABlab(29.91, -33.45, 25.90)
CIE-LCHlch(29.91, 42.30, 142.24°)
OKLaboklab(38.47% -0.0901 0.0608)
OKLCHoklch(38.47% 0.109 146)
XYZxyz(3.3809, 6.1989, 2.0550)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D521B #520D44
analogous
#21520D #0D521B #0D523D
triadic
#0D521B #1B0D52 #521B0D
tetradic
#0D521B #0D2152 #520D44 #523D0D
square
#0D521B #0D2152 #520D44 #523D0D
split-complementary
#0D521B #3D0D52 #520D21
monochromatic
#041A09 #051D0A #0D521B #15872C #1EBC3E

Accessibility & contrast

On white

9.38
#0D521B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D521B
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D521B#FFFFFF#000000##FFFFFF
##0D521B1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d521b;
/* rgb */ color: rgb(13, 82, 27);
/* oklch */ color: oklch(38.5% 0.109 146.0);
Tailwind
colors: {
  custom: {
    50: '#5a835a',
    500: '#0d521b',
    950: '#000000',
  },
}
SCSS
$custom: #0d521b;
$custom-light: #5a835a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d521b",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 27
  },
  "hsl": {
    "h": 132.174,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38469,
    "c": 0.10869,
    "h": 146
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#0D521B
secondary
#8D2E7A
accent
#38CAEF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0D521B

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

Preview Lab → · Contrast checker → · Palette generator →

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