#0C561B#0C561B

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

Color values

HEX#0C561B
RGBrgb(12, 86, 27)
HSLhsl(132, 76%, 19%)
HSVhsv(132, 86%, 34%)
CMYKcmyk(86%, 0%, 68.6%, 66.3%)
CIE-LABlab(31.38, -35.10, 27.56)
CIE-LCHlch(31.38, 44.63, 141.86°)
OKLaboklab(39.68% -0.0946 0.0643)
OKLCHoklch(39.68% 0.114 145.8)
XYZxyz(3.6770, 6.8124, 2.1578)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C561B #560C47
analogous
#22560C #0C561B #0C5640
triadic
#0C561B #1B0C56 #561B0C
tetradic
#0C561B #0C2256 #560C47 #56400C
square
#0C561B #0C2256 #560C47 #56400C
split-complementary
#0C561B #400C56 #560C22
monochromatic
#041B08 #05200A #0C561B #138C2C #1BC13D

Accessibility & contrast

On white

8.89
#0C561B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C561B
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C561B#FFFFFF#000000##FFFFFF
##0C561B1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c561b;
/* rgb */ color: rgb(12, 86, 27);
/* oklch */ color: oklch(39.7% 0.114 145.8);
Tailwind
colors: {
  custom: {
    50: '#5b865a',
    500: '#0c561b',
    950: '#000000',
  },
}
SCSS
$custom: #0c561b;
$custom-light: #5b865a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c561b",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 27
  },
  "hsl": {
    "h": 132.162,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39682,
    "c": 0.11437,
    "h": 145.8
  },
  "luminance": 0.06813
}

Semantic roles & 50–950 ramp

primary
#0C561B
secondary
#912D7D
accent
#36CCF2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C561B

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

Preview Lab → · Contrast checker → · Palette generator →

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