#0D5D12#0D5D12

#0D5D12 is a dark, vivid green. Relative luminance 0.080; OKLCH L 41.8% C 0.130 H 143.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#0D5D12
RGBrgb(13, 93, 18)
HSLhsl(124, 75%, 21%)
HSVhsv(124, 86%, 36%)
CMYKcmyk(86%, 0%, 80.6%, 63.5%)
CIE-LABlab(33.89, -38.44, 34.26)
CIE-LCHlch(33.89, 51.50, 138.29°)
OKLaboklab(41.76% -0.1041 0.0772)
OKLCHoklch(41.76% 0.13 143.4)
XYZxyz(4.1892, 7.9574, 1.8873)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5D12 #5D0D58
analogous
#305D0D #0D5D12 #0D5D3A
triadic
#0D5D12 #120D5D #5D120D
tetradic
#0D5D12 #0D305D #5D0D58 #5D3A0D
square
#0D5D12 #0D305D #5D0D58 #5D3A0D
split-complementary
#0D5D12 #3A0D5D #5D0D30
monochromatic
#041B05 #052708 #0D5D12 #15931C #1CC827

Accessibility & contrast

On white

8.10
#0D5D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#0D5D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5D12
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5D12#FFFFFF#000000##FFFFFF
##0D5D121.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#574D1A
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0d5d12;
/* rgb */ color: rgb(13, 93, 18);
/* oklch */ color: oklch(41.8% 0.130 143.4);
Tailwind
colors: {
  custom: {
    50: '#5d8c56',
    500: '#0d5d12',
    950: '#000000',
  },
}
SCSS
$custom: #0d5d12;
$custom-light: #5d8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5d12",
  "rgb": {
    "r": 13,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 123.75,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41755,
    "c": 0.12962,
    "h": 143.4
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#0D5D12
secondary
#972F91
accent
#36E6F2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0D5D12

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

Preview Lab → · Contrast checker → · Palette generator →

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