#0D522A#0D522A

#0D522A is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.094 H 152.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#0D522A
RGBrgb(13, 82, 42)
HSLhsl(145, 73%, 19%)
HSVhsv(145, 84%, 32%)
CMYKcmyk(84.1%, 0%, 48.8%, 67.8%)
CIE-LABlab(30.13, -30.89, 17.72)
CIE-LCHlch(30.13, 35.61, 150.16°)
OKLaboklab(38.72% -0.083 0.0436)
OKLCHoklch(38.72% 0.094 152.3)
XYZxyz(3.6009, 6.2869, 3.2138)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D522A #520D35
analogous
#12520D #0D522A #0D524C
triadic
#0D522A #2A0D52 #522A0D
tetradic
#0D522A #0D1252 #520D35 #524C0D
square
#0D522A #0D1252 #520D35 #524C0D
split-complementary
#0D522A #4C0D52 #520D12
monochromatic
#041A0E #051D0F #0D522A #158745 #1EBC60

Accessibility & contrast

On white

9.30
#0D522A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D522A
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D522A#FFFFFF#000000##FFFFFF
##0D522A1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A27
Deuteranopia (green-blind)
#4A452D
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0d522a;
/* rgb */ color: rgb(13, 82, 42);
/* oklch */ color: oklch(38.7% 0.094 152.3);
Tailwind
colors: {
  custom: {
    50: '#598364',
    500: '#0d522a',
    950: '#000000',
  },
}
SCSS
$custom: #0d522a;
$custom-light: #598364;
$custom-dark: #000000;
JSON
{
  "hex": "#0d522a",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 42
  },
  "hsl": {
    "h": 145.217,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38718,
    "c": 0.09379,
    "h": 152.3
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#0D522A
secondary
#8D2E65
accent
#38A2EF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #0D522A

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

Preview Lab → · Contrast checker → · Palette generator →

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