#0D501F#0D501F

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

Color values

HEX#0D501F
RGBrgb(13, 80, 31)
HSLhsl(136, 72%, 18%)
HSVhsv(136, 84%, 31%)
CMYKcmyk(83.7%, 0%, 61.2%, 68.6%)
CIE-LABlab(29.21, -32.07, 22.94)
CIE-LCHlch(29.21, 39.43, 144.42°)
OKLaboklab(37.91% -0.0862 0.0547)
OKLCHoklch(37.91% 0.102 147.6)
XYZxyz(3.2817, 5.9214, 2.2661)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D501F #500D3E
analogous
#1C500D #0D501F #0D5040
triadic
#0D501F #1F0D50 #501F0D
tetradic
#0D501F #0D1C50 #500D3E #50400D
square
#0D501F #0D1C50 #500D3E #50400D
split-complementary
#0D501F #400D50 #500D1C
monochromatic
#041A0A #041B0B #0D501F #168533 #1EB948

Accessibility & contrast

On white

9.61
#0D501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D501F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D501F#FFFFFF#000000##FFFFFF
##0D501F1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481A
Deuteranopia (green-blind)
#494323
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0d501f;
/* rgb */ color: rgb(13, 80, 31);
/* oklch */ color: oklch(37.9% 0.102 147.6);
Tailwind
colors: {
  custom: {
    50: '#59825c',
    500: '#0d501f',
    950: '#000000',
  },
}
SCSS
$custom: #0d501f;
$custom-light: #59825c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d501f",
  "rgb": {
    "r": 13,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 136.119,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37908,
    "c": 0.10215,
    "h": 147.6
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#0D501F
secondary
#8B2E72
accent
#39BEEF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0D501F

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

Preview Lab → · Contrast checker → · Palette generator →

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