#0D520F#0D520F

#0D520F is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.3% C 0.118 H 143.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#0D520F
RGBrgb(13, 82, 15)
HSLhsl(122, 73%, 19%)
HSVhsv(122, 84%, 32%)
CMYKcmyk(84.1%, 0%, 81.7%, 67.8%)
CIE-LABlab(29.80, -34.80, 31.37)
CIE-LCHlch(29.80, 46.85, 137.97°)
OKLaboklab(38.34% -0.0943 0.0707)
OKLCHoklch(38.34% 0.118 143.1)
XYZxyz(3.2693, 6.1543, 1.4674)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D520F #520D50
analogous
#2D520D #0D520F #0D5231
triadic
#0D520F #0F0D52 #520F0D
tetradic
#0D520F #0D2D52 #520D50 #52310D
square
#0D520F #0D2D52 #520D50 #52310D
split-complementary
#0D520F #310D52 #520D2D
monochromatic
#041A05 #051D05 #0D520F #158719 #1EBC22

Accessibility & contrast

On white

9.41
#0D520F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#0D520F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D520F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D520F#FFFFFF#000000##FFFFFF
##0D520F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544903
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0d520f;
/* rgb */ color: rgb(13, 82, 15);
/* oklch */ color: oklch(38.3% 0.118 143.1);
Tailwind
colors: {
  custom: {
    50: '#5a8353',
    500: '#0d520f',
    950: '#000000',
  },
}
SCSS
$custom: #0d520f;
$custom-light: #5a8353;
$custom-dark: #000000;
JSON
{
  "hex": "#0d520f",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 121.739,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38342,
    "c": 0.11792,
    "h": 143.1
  },
  "luminance": 0.06155
}

Semantic roles & 50–950 ramp

primary
#0D520F
secondary
#8D2E8A
accent
#38EAEF
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040B02
muted
#797C78

Preview Lab

Preview with #0D520F

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

Preview Lab → · Contrast checker → · Palette generator →

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