#0C340A#0C340A

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

Color values

HEX#0C340A
RGBrgb(12, 52, 10)
HSLhsl(117, 68%, 12%)
HSVhsv(117, 81%, 20%)
CMYKcmyk(76.9%, 0%, 80.8%, 79.6%)
CIE-LABlab(18.17, -23.72, 21.24)
CIE-LCHlch(18.17, 31.85, 138.16°)
OKLaboklab(28.67% -0.0645 0.0497)
OKLCHoklch(28.67% 0.081 142.4)
XYZxyz(1.4343, 2.5559, 0.7049)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C340A #320A34
analogous
#21340A #0C340A #0A341D
triadic
#0C340A #0A0C34 #340A0C
tetradic
#0C340A #0A2134 #320A34 #341D0A
square
#0C340A #0A2134 #320A34 #341D0A
split-complementary
#0C340A #1D0A34 #340A21
monochromatic
#061A05 #061A05 #0C340A #186714 #249B1E

Accessibility & contrast

On white

13.90
#0C340A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C340A
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C340A#FFFFFF#000000##FFFFFF
##0C340A1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E05
Deuteranopia (green-blind)
#312B0E
Tritanopia (blue-blind)
#05322C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c340a;
/* rgb */ color: rgb(12, 52, 10);
/* oklch */ color: oklch(28.7% 0.081 142.4);
Tailwind
colors: {
  custom: {
    50: '#516c4c',
    500: '#0c340a',
    950: '#000000',
  },
}
SCSS
$custom: #0c340a;
$custom-light: #516c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c340a",
  "rgb": {
    "r": 12,
    "g": 52,
    "b": 10
  },
  "hsl": {
    "h": 117.143,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28672,
    "c": 0.08144,
    "h": 142.4
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#0C340A
secondary
#6E2871
accent
#3DEBE2
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #0C340A

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

Preview Lab → · Contrast checker → · Palette generator →

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