#0C340E#0C340E

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

Color values

HEX#0C340E
RGBrgb(12, 52, 14)
HSLhsl(123, 63%, 13%)
HSVhsv(123, 77%, 20%)
CMYKcmyk(76.9%, 0%, 73.1%, 79.6%)
CIE-LABlab(18.21, -23.21, 19.48)
CIE-LCHlch(18.21, 30.30, 140.00°)
OKLaboklab(28.72% -0.0629 0.0458)
OKLCHoklch(28.72% 0.078 144)
XYZxyz(1.4588, 2.5657, 0.8337)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C340E #340C32
analogous
#1E340C #0C340E #0C3422
triadic
#0C340E #0E0C34 #340E0C
tetradic
#0C340E #0C1E34 #340C32 #34220C
square
#0C340E #0C1E34 #340C32 #34220C
split-complementary
#0C340E #220C34 #340C1E
monochromatic
#061907 #061907 #0C340E #17661B #239729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C340E#FFFFFF#000000##FFFFFF
##0C340E1.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)
#352E0A
Deuteranopia (green-blind)
#302B11
Tritanopia (blue-blind)
#04322C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c340e;
/* rgb */ color: rgb(12, 52, 14);
/* oklch */ color: oklch(28.7% 0.078 144.0);
Tailwind
colors: {
  custom: {
    50: '#516c4e',
    500: '#0c340e',
    950: '#000000',
  },
}
SCSS
$custom: #0c340e;
$custom-light: #516c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c340e",
  "rgb": {
    "r": 12,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 123,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28722,
    "c": 0.07782,
    "h": 144
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#0C340E
secondary
#702C6D
accent
#42DDE6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #0C340E

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

Preview Lab → · Contrast checker → · Palette generator →

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