#0D5220#0D5220

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

Color values

HEX#0D5220
RGBrgb(13, 82, 32)
HSLhsl(137, 73%, 19%)
HSVhsv(137, 84%, 32%)
CMYKcmyk(84.1%, 0%, 61%, 67.8%)
CIE-LABlab(29.97, -32.70, 23.29)
CIE-LCHlch(29.97, 40.15, 144.54°)
OKLaboklab(38.54% -0.0879 0.0556)
OKLCHoklch(38.54% 0.104 147.7)
XYZxyz(3.4437, 6.2240, 2.3861)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5220 #520D3F
analogous
#1C520D #0D5220 #0D5242
triadic
#0D5220 #200D52 #52200D
tetradic
#0D5220 #0D1C52 #520D3F #52420D
square
#0D5220 #0D1C52 #520D3F #52420D
split-complementary
#0D5220 #420D52 #520D1C
monochromatic
#041A0A #051D0B #0D5220 #158735 #1EBC49

Accessibility & contrast

On white

9.35
#0D5220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D5220
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5220#FFFFFF#000000##FFFFFF
##0D52201.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d5220;
/* rgb */ color: rgb(13, 82, 32);
/* oklch */ color: oklch(38.5% 0.104 147.7);
Tailwind
colors: {
  custom: {
    50: '#59835d',
    500: '#0d5220',
    950: '#000000',
  },
}
SCSS
$custom: #0d5220;
$custom-light: #59835d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5220",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 32
  },
  "hsl": {
    "h": 136.522,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3854,
    "c": 0.10402,
    "h": 147.7
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#0D5220
secondary
#8D2E73
accent
#38BDEF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0D5220

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

Preview Lab → · Contrast checker → · Palette generator →

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