#0C560B#0C560B

#0C560B is a dark, vivid green. Relative luminance 0.068; OKLCH L 39.5% C 0.125 H 142.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#0C560B
RGBrgb(12, 86, 11)
HSLhsl(119, 77%, 19%)
HSVhsv(119, 87%, 34%)
CMYKcmyk(86%, 0%, 87.2%, 66.3%)
CIE-LABlab(31.25, -36.69, 34.23)
CIE-LCHlch(31.25, 50.17, 136.98°)
OKLaboklab(39.53% -0.0996 0.0761)
OKLCHoklch(39.53% 0.125 142.6)
XYZxyz(3.5396, 6.7575, 1.4343)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C560B #550B56
analogous
#32560B #0C560B #0B5630
triadic
#0C560B #0B0C56 #560B0C
tetradic
#0C560B #0B3256 #550B56 #56300B
square
#0C560B #0B3256 #550B56 #56300B
split-complementary
#0C560B #300B56 #560B32
monochromatic
#041B03 #042004 #0C560B #148C12 #1BC319

Accessibility & contrast

On white

8.93
#0C560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#0C560B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C560B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C560B#FFFFFF#000000##FFFFFF
##0C560B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D00
Deuteranopia (green-blind)
#504714
Tritanopia (blue-blind)
#005348
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c560b;
/* rgb */ color: rgb(12, 86, 11);
/* oklch */ color: oklch(39.5% 0.125 142.6);
Tailwind
colors: {
  custom: {
    50: '#5b8651',
    500: '#0c560b',
    950: '#000000',
  },
}
SCSS
$custom: #0c560b;
$custom-light: #5b8651;
$custom-dark: #000000;
JSON
{
  "hex": "#0c560b",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 119.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39535,
    "c": 0.12535,
    "h": 142.6
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#0C560B
secondary
#902B91
accent
#34F4F1
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#050B02
muted
#797C78

Preview Lab

Preview with #0C560B

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

Preview Lab → · Contrast checker → · Palette generator →

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