#0C351B#0C351B

#0C351B is a dark, moderate green. Relative luminance 0.027; OKLCH L 29.3% C 0.065 H 152.0°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#0C351B
RGBrgb(12, 53, 27)
HSLhsl(142, 63%, 13%)
HSVhsv(142, 77%, 21%)
CMYKcmyk(77.4%, 0%, 49.1%, 79.2%)
CIE-LABlab(18.81, -21.32, 12.37)
CIE-LCHlch(18.81, 24.65, 149.88°)
OKLaboklab(29.29% -0.0576 0.0306)
OKLCHoklch(29.29% 0.065 152)
XYZxyz(1.6224, 2.7033, 1.4730)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C351B #350C26
analogous
#11350C #0C351B #0C352F
triadic
#0C351B #1B0C35 #351B0C
tetradic
#0C351B #0C1135 #350C26 #352F0C
square
#0C351B #0C1135 #350C26 #352F0C
split-complementary
#0C351B #2F0C35 #350C11
monochromatic
#06190D #06190D #0C351B #176734 #23994E

Accessibility & contrast

On white

13.63
#0C351B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0C351B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C351B
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C351B#FFFFFF#000000##FFFFFF
##0C351B1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353019
Deuteranopia (green-blind)
#302C1D
Tritanopia (blue-blind)
#00342F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0c351b;
/* rgb */ color: rgb(12, 53, 27);
/* oklch */ color: oklch(29.3% 0.065 152.0);
Tailwind
colors: {
  custom: {
    50: '#516d57',
    500: '#0c351b',
    950: '#000000',
  },
}
SCSS
$custom: #0c351b;
$custom-light: #516d57;
$custom-dark: #000000;
JSON
{
  "hex": "#0c351b",
  "rgb": {
    "r": 12,
    "g": 53,
    "b": 27
  },
  "hsl": {
    "h": 141.951,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29285,
    "c": 0.06521,
    "h": 152
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#0C351B
secondary
#712C58
accent
#42AAE6
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0C351B

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

Preview Lab → · Contrast checker → · Palette generator →

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