#0C341B#0C341B

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

Color values

HEX#0C341B
RGBrgb(12, 52, 27)
HSLhsl(143, 63%, 13%)
HSVhsv(143, 77%, 20%)
CMYKcmyk(76.9%, 0%, 48.1%, 79.6%)
CIE-LABlab(18.42, -20.84, 11.86)
CIE-LCHlch(18.42, 23.98, 150.36°)
OKLaboklab(28.96% -0.0563 0.0294)
OKLCHoklch(28.96% 0.064 152.4)
XYZxyz(1.5773, 2.6131, 1.4580)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C341B #340C25
analogous
#11340C #0C341B #0C342F
triadic
#0C341B #1B0C34 #341B0C
tetradic
#0C341B #0C1134 #340C25 #342F0C
square
#0C341B #0C1134 #340C25 #342F0C
split-complementary
#0C341B #2F0C34 #340C11
monochromatic
#06190D #06190D #0C341B #176635 #23974F

Accessibility & contrast

On white

13.79
#0C341B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0C341B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C341B
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C341B#FFFFFF#000000##FFFFFF
##0C341B1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c341b;
/* rgb */ color: rgb(12, 52, 27);
/* oklch */ color: oklch(29.0% 0.064 152.4);
Tailwind
colors: {
  custom: {
    50: '#516c57',
    500: '#0c341b',
    950: '#000000',
  },
}
SCSS
$custom: #0c341b;
$custom-light: #516c57;
$custom-dark: #000000;
JSON
{
  "hex": "#0c341b",
  "rgb": {
    "r": 12,
    "g": 52,
    "b": 27
  },
  "hsl": {
    "h": 142.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28963,
    "c": 0.06351,
    "h": 152.4
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#0C341B
secondary
#702C56
accent
#42A8E6
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0C341B

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

Preview Lab → · Contrast checker → · Palette generator →

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