#0D501B#0D501B

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

Color values

HEX#0D501B
RGBrgb(13, 80, 27)
HSLhsl(133, 72%, 18%)
HSVhsv(133, 84%, 31%)
CMYKcmyk(83.7%, 0%, 66.3%, 68.6%)
CIE-LABlab(29.16, -32.68, 25.05)
CIE-LCHlch(29.16, 41.17, 142.53°)
OKLaboklab(37.85% -0.088 0.059)
OKLCHoklch(37.85% 0.106 146.2)
XYZxyz(3.2322, 5.9016, 2.0055)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D501B #500D42
analogous
#20500D #0D501B #0D503C
triadic
#0D501B #1B0D50 #501B0D
tetradic
#0D501B #0D2050 #500D42 #503C0D
square
#0D501B #0D2050 #500D42 #503C0D
split-complementary
#0D501B #3C0D50 #500D20
monochromatic
#041A09 #041B09 #0D501B #16852D #1EB93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D501B#FFFFFF#000000##FFFFFF
##0D501B1.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)
#514815
Deuteranopia (green-blind)
#4A431F
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0d501b;
/* rgb */ color: rgb(13, 80, 27);
/* oklch */ color: oklch(37.9% 0.106 146.2);
Tailwind
colors: {
  custom: {
    50: '#598259',
    500: '#0d501b',
    950: '#000000',
  },
}
SCSS
$custom: #0d501b;
$custom-light: #598259;
$custom-dark: #000000;
JSON
{
  "hex": "#0d501b",
  "rgb": {
    "r": 13,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 132.537,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3785,
    "c": 0.10594,
    "h": 146.2
  },
  "luminance": 0.05902
}

Semantic roles & 50–950 ramp

primary
#0D501B
secondary
#8B2E78
accent
#39C9EF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0D501B

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

Preview Lab → · Contrast checker → · Palette generator →

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