#0C561D#0C561D

#0C561D is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.7% C 0.113 H 146.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#0C561D
RGBrgb(12, 86, 29)
HSLhsl(134, 76%, 19%)
HSVhsv(134, 86%, 34%)
CMYKcmyk(86%, 0%, 66.3%, 66.3%)
CIE-LABlab(31.40, -34.83, 26.56)
CIE-LCHlch(31.40, 43.81, 142.67°)
OKLaboklab(39.71% -0.0937 0.0624)
OKLCHoklch(39.71% 0.113 146.3)
XYZxyz(3.7009, 6.8220, 2.2839)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C561D #560C45
analogous
#20560C #0C561D #0C5642
triadic
#0C561D #1D0C56 #561D0C
tetradic
#0C561D #0C2056 #560C45 #56420C
square
#0C561D #0C2056 #560C45 #56420C
split-complementary
#0C561D #420C56 #560C20
monochromatic
#041B09 #05200B #0C561D #138C2F #1BC141

Accessibility & contrast

On white

8.88
#0C561D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0C561D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C561D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C561D#FFFFFF#000000##FFFFFF
##0C561D1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D17
Deuteranopia (green-blind)
#4F4822
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c561d;
/* rgb */ color: rgb(12, 86, 29);
/* oklch */ color: oklch(39.7% 0.113 146.3);
Tailwind
colors: {
  custom: {
    50: '#5a865b',
    500: '#0c561d',
    950: '#000000',
  },
}
SCSS
$custom: #0c561d;
$custom-light: #5a865b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c561d",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 29
  },
  "hsl": {
    "h": 133.784,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39708,
    "c": 0.11263,
    "h": 146.3
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#0C561D
secondary
#912D7A
accent
#36C7F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C561D

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

Preview Lab → · Contrast checker → · Palette generator →

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