#0C340F#0C340F

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

Color values

HEX#0C340F
RGBrgb(12, 52, 15)
HSLhsl(125, 63%, 13%)
HSVhsv(125, 77%, 20%)
CMYKcmyk(76.9%, 0%, 71.2%, 79.6%)
CIE-LABlab(18.23, -23.07, 18.97)
CIE-LCHlch(18.23, 29.87, 140.57°)
OKLaboklab(28.74% -0.0625 0.0447)
OKLCHoklch(28.74% 0.077 144.4)
XYZxyz(1.4657, 2.5685, 0.8704)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C340F #340C31
analogous
#1D340C #0C340F #0C3423
triadic
#0C340F #0F0C34 #340F0C
tetradic
#0C340F #0C1D34 #340C31 #34230C
square
#0C340F #0C1D34 #340C31 #34230C
split-complementary
#0C340F #230C34 #340C1D
monochromatic
#061907 #061907 #0C340F #17661D #23972C

Accessibility & contrast

On white

13.87
#0C340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C340F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C340F#FFFFFF#000000##FFFFFF
##0C340F1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c340f;
/* rgb */ color: rgb(12, 52, 15);
/* oklch */ color: oklch(28.7% 0.077 144.4);
Tailwind
colors: {
  custom: {
    50: '#516c4f',
    500: '#0c340f',
    950: '#000000',
  },
}
SCSS
$custom: #0c340f;
$custom-light: #516c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c340f",
  "rgb": {
    "r": 12,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 124.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28736,
    "c": 0.07684,
    "h": 144.4
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#0C340F
secondary
#702C6B
accent
#42D9E6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020702
muted
#787A78

Preview Lab

Preview with #0C340F

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

Preview Lab → · Contrast checker → · Palette generator →

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