#0C341C#0C341C

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

Color values

HEX#0C341C
RGBrgb(12, 52, 28)
HSLhsl(144, 63%, 13%)
HSVhsv(144, 77%, 20%)
CMYKcmyk(76.9%, 0%, 46.2%, 79.6%)
CIE-LABlab(18.44, -20.61, 11.23)
CIE-LCHlch(18.44, 23.47, 151.42°)
OKLaboklab(28.99% -0.0557 0.028)
OKLCHoklch(28.99% 0.062 153.3)
XYZxyz(1.5891, 2.6178, 1.5199)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C341C #340C24
analogous
#10340C #0C341C #0C3430
triadic
#0C341C #1C0C34 #341C0C
tetradic
#0C341C #0C1034 #340C24 #34300C
square
#0C341C #0C1034 #340C24 #34300C
split-complementary
#0C341C #300C34 #340C10
monochromatic
#06190D #06190D #0C341C #176637 #239752

Accessibility & contrast

On white

13.78
#0C341C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C341C
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C341C#FFFFFF#000000##FFFFFF
##0C341C1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c341c;
/* rgb */ color: rgb(12, 52, 28);
/* oklch */ color: oklch(29.0% 0.062 153.3);
Tailwind
colors: {
  custom: {
    50: '#516c58',
    500: '#0c341c',
    950: '#000000',
  },
}
SCSS
$custom: #0c341c;
$custom-light: #516c58;
$custom-dark: #000000;
JSON
{
  "hex": "#0c341c",
  "rgb": {
    "r": 12,
    "g": 52,
    "b": 28
  },
  "hsl": {
    "h": 144,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28986,
    "c": 0.06236,
    "h": 153.3
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#0C341C
secondary
#702C55
accent
#42A4E6
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0C341C

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

Preview Lab → · Contrast checker → · Palette generator →

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