#0D5C12#0D5C12

#0D5C12 is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.4% C 0.128 H 143.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#0D5C12
RGBrgb(13, 92, 18)
HSLhsl(124, 75%, 21%)
HSVhsv(124, 86%, 36%)
CMYKcmyk(85.9%, 0%, 80.4%, 63.9%)
CIE-LABlab(33.53, -38.09, 33.90)
CIE-LCHlch(33.53, 50.99, 138.33°)
OKLaboklab(41.45% -0.1032 0.0765)
OKLCHoklch(41.45% 0.128 143.5)
XYZxyz(4.1020, 7.7830, 1.8582)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5C12 #5C0D57
analogous
#305C0D #0D5C12 #0D5C39
triadic
#0D5C12 #120D5C #5C120D
tetradic
#0D5C12 #0D305C #5C0D57 #5C390D
square
#0D5C12 #0D305C #5C0D57 #5C390D
split-complementary
#0D5C12 #390D5C #5C0D30
monochromatic
#041B05 #052608 #0D5C12 #15921C #1CC727

Accessibility & contrast

On white

8.21
#0D5C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#0D5C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5C12
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5C12#FFFFFF#000000##FFFFFF
##0D5C121.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5204
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0d5c12;
/* rgb */ color: rgb(13, 92, 18);
/* oklch */ color: oklch(41.4% 0.128 143.5);
Tailwind
colors: {
  custom: {
    50: '#5d8b56',
    500: '#0d5c12',
    950: '#000000',
  },
}
SCSS
$custom: #0d5c12;
$custom-light: #5d8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5c12",
  "rgb": {
    "r": 13,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 123.797,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41449,
    "c": 0.12841,
    "h": 143.5
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

primary
#0D5C12
secondary
#962F90
accent
#36E6F2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0D5C12

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

Preview Lab → · Contrast checker → · Palette generator →

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