#0C351D#0C351D

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

Color values

HEX#0C351D
RGBrgb(12, 53, 29)
HSLhsl(145, 63%, 13%)
HSVhsv(145, 77%, 21%)
CMYKcmyk(77.4%, 0%, 45.3%, 79.2%)
CIE-LABlab(18.86, -20.87, 11.12)
CIE-LCHlch(18.86, 23.64, 151.95°)
OKLaboklab(29.33% -0.0564 0.0278)
OKLCHoklch(29.33% 0.063 153.8)
XYZxyz(1.6464, 2.7129, 1.5990)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C351D #350C24
analogous
#0F350C #0C351D #0C3531
triadic
#0C351D #1D0C35 #351D0C
tetradic
#0C351D #0C0F35 #350C24 #35310C
square
#0C351D #0C0F35 #350C24 #35310C
split-complementary
#0C351D #310C35 #350C0F
monochromatic
#06190E #06190E #0C351D #176738 #239954

Accessibility & contrast

On white

13.61
#0C351D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C351D
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C351D#FFFFFF#000000##FFFFFF
##0C351D1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301B
Deuteranopia (green-blind)
#302C1F
Tritanopia (blue-blind)
#00342F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0c351d;
/* rgb */ color: rgb(12, 53, 29);
/* oklch */ color: oklch(29.3% 0.063 153.8);
Tailwind
colors: {
  custom: {
    50: '#516d59',
    500: '#0c351d',
    950: '#000000',
  },
}
SCSS
$custom: #0c351d;
$custom-light: #516d59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c351d",
  "rgb": {
    "r": 12,
    "g": 53,
    "b": 29
  },
  "hsl": {
    "h": 144.878,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29332,
    "c": 0.06288,
    "h": 153.8
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#0C351D
secondary
#712C54
accent
#42A2E6
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0C351D

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

Preview Lab → · Contrast checker → · Palette generator →

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