#0C341D#0C341D

#0C341D is a dark, moderate green. Relative luminance 0.026; OKLCH L 29.0% C 0.061 H 154.3°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#0C341D
RGBrgb(12, 52, 29)
HSLhsl(146, 63%, 13%)
HSVhsv(146, 77%, 20%)
CMYKcmyk(76.9%, 0%, 44.2%, 79.6%)
CIE-LABlab(18.46, -20.38, 10.60)
CIE-LCHlch(18.46, 22.97, 152.52°)
OKLaboklab(29.01% -0.0551 0.0265)
OKLCHoklch(29.01% 0.061 154.3)
XYZxyz(1.6012, 2.6227, 1.5840)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C341D #340C23
analogous
#0F340C #0C341D #0C3431
triadic
#0C341D #1D0C34 #341D0C
tetradic
#0C341D #0C0F34 #340C23 #34310C
square
#0C341D #0C0F34 #340C23 #34310C
split-complementary
#0C341D #310C34 #340C0F
monochromatic
#06190E #06190E #0C341D #176639 #239754

Accessibility & contrast

On white

13.77
#0C341D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C341D
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C341D#FFFFFF#000000##FFFFFF
##0C341D1.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c341d;
/* rgb */ color: rgb(12, 52, 29);
/* oklch */ color: oklch(29.0% 0.061 154.3);
Tailwind
colors: {
  custom: {
    50: '#516c59',
    500: '#0c341d',
    950: '#000000',
  },
}
SCSS
$custom: #0c341d;
$custom-light: #516c59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c341d",
  "rgb": {
    "r": 12,
    "g": 52,
    "b": 29
  },
  "hsl": {
    "h": 145.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29011,
    "c": 0.06118,
    "h": 154.3
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#0C341D
secondary
#702C53
accent
#42A0E6
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0C341D

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

Preview Lab → · Contrast checker → · Palette generator →

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