#0C351A#0C351A

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

Color values

HEX#0C351A
RGBrgb(12, 53, 26)
HSLhsl(140, 63%, 13%)
HSVhsv(140, 77%, 21%)
CMYKcmyk(77.4%, 0%, 50.9%, 79.2%)
CIE-LABlab(18.79, -21.54, 12.99)
CIE-LCHlch(18.79, 25.16, 148.91°)
OKLaboklab(29.26% -0.0581 0.0321)
OKLCHoklch(29.26% 0.066 151.1)
XYZxyz(1.6110, 2.6988, 1.4131)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C351A #350C27
analogous
#12350C #0C351A #0C352E
triadic
#0C351A #1A0C35 #351A0C
tetradic
#0C351A #0C1235 #350C27 #352E0C
square
#0C351A #0C1235 #350C27 #352E0C
split-complementary
#0C351A #2E0C35 #350C12
monochromatic
#06190C #06190C #0C351A #176732 #23994B

Accessibility & contrast

On white

13.64
#0C351A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C351A
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C351A#FFFFFF#000000##FFFFFF
##0C351A1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353018
Deuteranopia (green-blind)
#302C1C
Tritanopia (blue-blind)
#00342E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0c351a;
/* rgb */ color: rgb(12, 53, 26);
/* oklch */ color: oklch(29.3% 0.066 151.1);
Tailwind
colors: {
  custom: {
    50: '#516d56',
    500: '#0c351a',
    950: '#000000',
  },
}
SCSS
$custom: #0c351a;
$custom-light: #516d56;
$custom-dark: #000000;
JSON
{
  "hex": "#0c351a",
  "rgb": {
    "r": 12,
    "g": 53,
    "b": 26
  },
  "hsl": {
    "h": 140.488,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29263,
    "c": 0.06637,
    "h": 151.1
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#0C351A
secondary
#712C59
accent
#42AEE6
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0C351A

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

Preview Lab → · Contrast checker → · Palette generator →

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