#0C351F#0C351F

#0C351F is a dark, moderate green. Relative luminance 0.027; OKLCH L 29.4% C 0.061 H 155.9°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#0C351F
RGBrgb(12, 53, 31)
HSLhsl(148, 63%, 13%)
HSVhsv(148, 77%, 21%)
CMYKcmyk(77.4%, 0%, 41.5%, 79.2%)
CIE-LABlab(18.90, -20.39, 9.86)
CIE-LCHlch(18.90, 22.65, 154.20°)
OKLaboklab(29.38% -0.0553 0.0248)
OKLCHoklch(29.38% 0.061 155.9)
XYZxyz(1.6719, 2.7231, 1.7336)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C351F #350C22
analogous
#0D350C #0C351F #0C3533
triadic
#0C351F #1F0C35 #351F0C
tetradic
#0C351F #0C0D35 #350C22 #35330C
square
#0C351F #0C0D35 #350C22 #35330C
split-complementary
#0C351F #330C35 #350C0D
monochromatic
#06190F #06190F #0C351F #17673C #239959

Accessibility & contrast

On white

13.60
#0C351F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C351F
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C351F#FFFFFF#000000##FFFFFF
##0C351F1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301E
Deuteranopia (green-blind)
#2F2C20
Tritanopia (blue-blind)
#00342F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0c351f;
/* rgb */ color: rgb(12, 53, 31);
/* oklch */ color: oklch(29.4% 0.061 155.9);
Tailwind
colors: {
  custom: {
    50: '#516c5a',
    500: '#0c351f',
    950: '#000000',
  },
}
SCSS
$custom: #0c351f;
$custom-light: #516c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c351f",
  "rgb": {
    "r": 12,
    "g": 53,
    "b": 31
  },
  "hsl": {
    "h": 147.805,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29383,
    "c": 0.06058,
    "h": 155.9
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#0C351F
secondary
#712C51
accent
#429AE6
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020704
muted
#787A79

Preview Lab

Preview with #0C351F

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

Preview Lab → · Contrast checker → · Palette generator →

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