#0D522D#0D522D

#0D522D is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.091 H 154.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#0D522D
RGBrgb(13, 82, 45)
HSLhsl(148, 73%, 19%)
HSVhsv(148, 84%, 32%)
CMYKcmyk(84.1%, 0%, 45.1%, 67.8%)
CIE-LABlab(30.18, -30.26, 15.98)
CIE-LCHlch(30.18, 34.22, 152.15°)
OKLaboklab(38.78% -0.0815 0.0397)
OKLCHoklch(38.78% 0.091 154)
XYZxyz(3.6566, 6.3092, 3.5072)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D522D #520D32
analogous
#0F520D #0D522D #0D524F
triadic
#0D522D #2D0D52 #522D0D
tetradic
#0D522D #0D0F52 #520D32 #524F0D
square
#0D522D #0D0F52 #520D32 #524F0D
split-complementary
#0D522D #4F0D52 #520D0F
monochromatic
#041A0E #051D10 #0D522D #15874A #1EBC67

Accessibility & contrast

On white

9.28
#0D522D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#0D522D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D522D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D522D#FFFFFF#000000##FFFFFF
##0D522D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A2A
Deuteranopia (green-blind)
#4A4530
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0d522d;
/* rgb */ color: rgb(13, 82, 45);
/* oklch */ color: oklch(38.8% 0.091 154.0);
Tailwind
colors: {
  custom: {
    50: '#598366',
    500: '#0d522d',
    950: '#000000',
  },
}
SCSS
$custom: #0d522d;
$custom-light: #598366;
$custom-dark: #000000;
JSON
{
  "hex": "#0d522d",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 147.826,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38781,
    "c": 0.09062,
    "h": 154
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#0D522D
secondary
#8D2E61
accent
#389BEF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0D522D

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

Preview Lab → · Contrast checker → · Palette generator →

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