#0C340D#0C340D

#0C340D is a dark, moderate green. Relative luminance 0.026; OKLCH L 28.7% C 0.079 H 143.5°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#0C340D
RGBrgb(12, 52, 13)
HSLhsl(122, 63%, 13%)
HSVhsv(122, 77%, 20%)
CMYKcmyk(76.9%, 0%, 75%, 79.6%)
CIE-LABlab(18.20, -23.35, 19.96)
CIE-LCHlch(18.20, 30.72, 139.48°)
OKLaboklab(28.71% -0.0634 0.0468)
OKLCHoklch(28.71% 0.079 143.5)
XYZxyz(1.4522, 2.5631, 0.7989)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C340D #340C33
analogous
#1F340C #0C340D #0C3421
triadic
#0C340D #0D0C34 #340D0C
tetradic
#0C340D #0C1F34 #340C33 #34210C
square
#0C340D #0C1F34 #340C33 #34210C
split-complementary
#0C340D #210C34 #340C1F
monochromatic
#061906 #061906 #0C340D #176619 #239726

Accessibility & contrast

On white

13.88
#0C340D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0C340D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C340D
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C340D#FFFFFF#000000##FFFFFF
##0C340D1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E08
Deuteranopia (green-blind)
#302B10
Tritanopia (blue-blind)
#04322C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c340d;
/* rgb */ color: rgb(12, 52, 13);
/* oklch */ color: oklch(28.7% 0.079 143.5);
Tailwind
colors: {
  custom: {
    50: '#516c4d',
    500: '#0c340d',
    950: '#000000',
  },
}
SCSS
$custom: #0c340d;
$custom-light: #516c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c340d",
  "rgb": {
    "r": 12,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 121.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28708,
    "c": 0.07878,
    "h": 143.5
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#0C340D
secondary
#702C6E
accent
#42E1E6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #0C340D

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

Preview Lab → · Contrast checker → · Palette generator →

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