#0D501C#0D501C

#0D501C is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.105 H 146.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#0D501C
RGBrgb(13, 80, 28)
HSLhsl(133, 72%, 18%)
HSVhsv(133, 84%, 31%)
CMYKcmyk(83.7%, 0%, 65%, 68.6%)
CIE-LABlab(29.17, -32.53, 24.53)
CIE-LCHlch(29.17, 40.74, 142.98°)
OKLaboklab(37.86% -0.0876 0.0579)
OKLCHoklch(37.86% 0.105 146.5)
XYZxyz(3.2440, 5.9063, 2.0675)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D501C #500D41
analogous
#1F500D #0D501C #0D503D
triadic
#0D501C #1C0D50 #501C0D
tetradic
#0D501C #0D1F50 #500D41 #503D0D
square
#0D501C #0D1F50 #500D41 #503D0D
split-complementary
#0D501C #3D0D50 #500D1F
monochromatic
#041A09 #041B0A #0D501C #16852E #1EB941

Accessibility & contrast

On white

9.63
#0D501C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0D501C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D501C
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D501C#FFFFFF#000000##FFFFFF
##0D501C1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514817
Deuteranopia (green-blind)
#4A4320
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0d501c;
/* rgb */ color: rgb(13, 80, 28);
/* oklch */ color: oklch(37.9% 0.105 146.5);
Tailwind
colors: {
  custom: {
    50: '#59825a',
    500: '#0d501c',
    950: '#000000',
  },
}
SCSS
$custom: #0d501c;
$custom-light: #59825a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d501c",
  "rgb": {
    "r": 13,
    "g": 80,
    "b": 28
  },
  "hsl": {
    "h": 133.433,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37864,
    "c": 0.10502,
    "h": 146.5
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#0D501C
secondary
#8B2E76
accent
#39C6EF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0D501C

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

Preview Lab → · Contrast checker → · Palette generator →

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