#0D511E#0D511E

#0D511E is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.2% C 0.105 H 147.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#0D511E
RGBrgb(13, 81, 30)
HSLhsl(135, 72%, 18%)
HSVhsv(135, 84%, 32%)
CMYKcmyk(84%, 0%, 63%, 68.2%)
CIE-LABlab(29.57, -32.62, 23.92)
CIE-LCHlch(29.57, 40.45, 143.75°)
OKLaboklab(38.2% -0.0878 0.0568)
OKLCHoklch(38.2% 0.105 147.1)
XYZxyz(3.3425, 6.0638, 2.2223)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D511E #510D40
analogous
#1E510D #0D511E #0D5140
triadic
#0D511E #1E0D51 #511E0D
tetradic
#0D511E #0D1E51 #510D40 #51400D
square
#0D511E #0D1E51 #510D40 #51400D
split-complementary
#0D511E #400D51 #510D1E
monochromatic
#041A0A #051C0A #0D511E #158632 #1EBA45

Accessibility & contrast

On white

9.49
#0D511E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0D511E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D511E
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D511E#FFFFFF#000000##FFFFFF
##0D511E1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524919
Deuteranopia (green-blind)
#4A4422
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0d511e;
/* rgb */ color: rgb(13, 81, 30);
/* oklch */ color: oklch(38.2% 0.105 147.1);
Tailwind
colors: {
  custom: {
    50: '#59835b',
    500: '#0d511e',
    950: '#000000',
  },
}
SCSS
$custom: #0d511e;
$custom-light: #59835b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d511e",
  "rgb": {
    "r": 13,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 135,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38202,
    "c": 0.10454,
    "h": 147.1
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#0D511E
secondary
#8C2E74
accent
#39C1EF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0D511E

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

Preview Lab → · Contrast checker → · Palette generator →

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