#0C341E#0C341E

#0C341E is a dark, moderate green. Relative luminance 0.026; OKLCH L 29.0% C 0.060 H 155.4°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#0C341E
RGBrgb(12, 52, 30)
HSLhsl(147, 63%, 13%)
HSVhsv(147, 77%, 20%)
CMYKcmyk(76.9%, 0%, 42.3%, 79.6%)
CIE-LABlab(18.49, -20.14, 9.97)
CIE-LCHlch(18.49, 22.47, 153.67°)
OKLaboklab(29.04% -0.0546 0.025)
OKLCHoklch(29.04% 0.06 155.4)
XYZxyz(1.6138, 2.6277, 1.6502)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C341E #340C22
analogous
#0E340C #0C341E #0C3432
triadic
#0C341E #1E0C34 #341E0C
tetradic
#0C341E #0C0E34 #340C22 #34320C
square
#0C341E #0C0E34 #340C22 #34320C
split-complementary
#0C341E #320C34 #340C0E
monochromatic
#06190E #06190E #0C341E #17663B #239757

Accessibility & contrast

On white

13.77
#0C341E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C341E
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C341E#FFFFFF#000000##FFFFFF
##0C341E1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1D
Deuteranopia (green-blind)
#2F2C1F
Tritanopia (blue-blind)
#00332E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c341e;
/* rgb */ color: rgb(12, 52, 30);
/* oklch */ color: oklch(29.0% 0.060 155.4);
Tailwind
colors: {
  custom: {
    50: '#516c5a',
    500: '#0c341e',
    950: '#000000',
  },
}
SCSS
$custom: #0c341e;
$custom-light: #516c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c341e",
  "rgb": {
    "r": 12,
    "g": 52,
    "b": 30
  },
  "hsl": {
    "h": 147,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29036,
    "c": 0.06003,
    "h": 155.4
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#0C341E
secondary
#702C51
accent
#429CE6
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0C341E

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

Preview Lab → · Contrast checker → · Palette generator →

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