#0C341A#0C341A

#0C341A is a dark, moderate green. Relative luminance 0.026; OKLCH L 28.9% C 0.065 H 151.5°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#0C341A
RGBrgb(12, 52, 26)
HSLhsl(141, 63%, 13%)
HSVhsv(141, 77%, 20%)
CMYKcmyk(76.9%, 0%, 50%, 79.6%)
CIE-LABlab(18.40, -21.06, 12.48)
CIE-LCHlch(18.40, 24.48, 149.35°)
OKLaboklab(28.94% -0.0568 0.0309)
OKLCHoklch(28.94% 0.065 151.5)
XYZxyz(1.5659, 2.6086, 1.3981)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C341A #340C26
analogous
#12340C #0C341A #0C342E
triadic
#0C341A #1A0C34 #341A0C
tetradic
#0C341A #0C1234 #340C26 #342E0C
square
#0C341A #0C1234 #340C26 #342E0C
split-complementary
#0C341A #2E0C34 #340C12
monochromatic
#06190C #06190C #0C341A #176633 #23974C

Accessibility & contrast

On white

13.80
#0C341A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0C341A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C341A
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C341A#FFFFFF#000000##FFFFFF
##0C341A1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F18
Deuteranopia (green-blind)
#2F2B1C
Tritanopia (blue-blind)
#00332E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c341a;
/* rgb */ color: rgb(12, 52, 26);
/* oklch */ color: oklch(28.9% 0.065 151.5);
Tailwind
colors: {
  custom: {
    50: '#516c56',
    500: '#0c341a',
    950: '#000000',
  },
}
SCSS
$custom: #0c341a;
$custom-light: #516c56;
$custom-dark: #000000;
JSON
{
  "hex": "#0c341a",
  "rgb": {
    "r": 12,
    "g": 52,
    "b": 26
  },
  "hsl": {
    "h": 141,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2894,
    "c": 0.06469,
    "h": 151.5
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#0C341A
secondary
#702C58
accent
#42ACE6
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0C341A

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

Preview Lab → · Contrast checker → · Palette generator →

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