#0C5613#0C5613

#0C5613 is a dark, vivid green. Relative luminance 0.068; OKLCH L 39.6% C 0.121 H 143.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#0C5613
RGBrgb(12, 86, 19)
HSLhsl(126, 76%, 19%)
HSVhsv(126, 86%, 34%)
CMYKcmyk(86%, 0%, 77.9%, 66.3%)
CIE-LABlab(31.30, -36.02, 31.23)
CIE-LCHlch(31.30, 47.67, 139.08°)
OKLaboklab(39.6% -0.0974 0.071)
OKLCHoklch(39.6% 0.121 143.9)
XYZxyz(3.5967, 6.7803, 1.7351)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5613 #560C4F
analogous
#2A560C #0C5613 #0C5638
triadic
#0C5613 #130C56 #56130C
tetradic
#0C5613 #0C2A56 #560C4F #56380C
square
#0C5613 #0C2A56 #560C4F #56380C
split-complementary
#0C5613 #380C56 #560C2A
monochromatic
#041B06 #052007 #0C5613 #138C1F #1BC12B

Accessibility & contrast

On white

8.91
#0C5613 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5613
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5613#FFFFFF#000000##FFFFFF
##0C56131.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D08
Deuteranopia (green-blind)
#50481A
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c5613;
/* rgb */ color: rgb(12, 86, 19);
/* oklch */ color: oklch(39.6% 0.121 143.9);
Tailwind
colors: {
  custom: {
    50: '#5b8655',
    500: '#0c5613',
    950: '#000000',
  },
}
SCSS
$custom: #0c5613;
$custom-light: #5b8655;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5613",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 19
  },
  "hsl": {
    "h": 125.676,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39596,
    "c": 0.12057,
    "h": 143.9
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#0C5613
secondary
#912D88
accent
#36E0F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5613

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

Preview Lab → · Contrast checker → · Palette generator →

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