#0C341F#0C341F

#0C341F is a dark, muted green. Relative luminance 0.026; OKLCH L 29.1% C 0.059 H 156.5°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#0C341F
RGBrgb(12, 52, 31)
HSLhsl(149, 63%, 13%)
HSVhsv(149, 77%, 20%)
CMYKcmyk(76.9%, 0%, 40.4%, 79.6%)
CIE-LABlab(18.51, -19.89, 9.33)
CIE-LCHlch(18.51, 21.97, 154.87°)
OKLaboklab(29.06% -0.054 0.0235)
OKLCHoklch(29.06% 0.059 156.5)
XYZxyz(1.6268, 2.6329, 1.7185)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C341F #340C21
analogous
#0D340C #0C341F #0C3433
triadic
#0C341F #1F0C34 #341F0C
tetradic
#0C341F #0C0D34 #340C21 #34330C
square
#0C341F #0C0D34 #340C21 #34330C
split-complementary
#0C341F #330C34 #340C0D
monochromatic
#06190F #06190F #0C341F #17663D #23975A

Accessibility & contrast

On white

13.76
#0C341F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0C341F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C341F
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C341F#FFFFFF#000000##FFFFFF
##0C341F1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1E
Deuteranopia (green-blind)
#2E2C20
Tritanopia (blue-blind)
#00332F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c341f;
/* rgb */ color: rgb(12, 52, 31);
/* oklch */ color: oklch(29.1% 0.059 156.5);
Tailwind
colors: {
  custom: {
    50: '#516c5a',
    500: '#0c341f',
    950: '#000000',
  },
}
SCSS
$custom: #0c341f;
$custom-light: #516c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c341f",
  "rgb": {
    "r": 12,
    "g": 52,
    "b": 31
  },
  "hsl": {
    "h": 148.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29062,
    "c": 0.05888,
    "h": 156.5
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#0C341F
secondary
#702C50
accent
#4298E6
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020704
muted
#787A79

Preview Lab

Preview with #0C341F

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

Preview Lab → · Contrast checker → · Palette generator →

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