#0C350C#0C350C

#0C350C is a dark, moderate green. Relative luminance 0.027; OKLCH L 29.0% C 0.081 H 143.1°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#0C350C
RGBrgb(12, 53, 12)
HSLhsl(120, 63%, 13%)
HSVhsv(120, 77%, 21%)
CMYKcmyk(77.4%, 0%, 77.4%, 79.2%)
CIE-LABlab(18.59, -23.92, 20.88)
CIE-LCHlch(18.59, 31.75, 138.88°)
OKLaboklab(29.02% -0.0649 0.0487)
OKLCHoklch(29.02% 0.081 143.1)
XYZxyz(1.4910, 2.6508, 0.7808)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C350C #350C35
analogous
#20350C #0C350C #0C3520
triadic
#0C350C #0C0C35 #350C0C
tetradic
#0C350C #0C2035 #350C35 #35200C
square
#0C350C #0C2035 #350C35 #35200C
split-complementary
#0C350C #200C35 #350C20
monochromatic
#061906 #061906 #0C350C #176717 #239923

Accessibility & contrast

On white

13.72
#0C350C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0C350C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C350C
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C350C#FFFFFF#000000##FFFFFF
##0C350C1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F07
Deuteranopia (green-blind)
#312C10
Tritanopia (blue-blind)
#04332D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c350c;
/* rgb */ color: rgb(12, 53, 12);
/* oklch */ color: oklch(29.0% 0.081 143.1);
Tailwind
colors: {
  custom: {
    50: '#516d4d',
    500: '#0c350c',
    950: '#000000',
  },
}
SCSS
$custom: #0c350c;
$custom-light: #516d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c350c",
  "rgb": {
    "r": 12,
    "g": 53,
    "b": 12
  },
  "hsl": {
    "h": 120,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29024,
    "c": 0.08119,
    "h": 143.1
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#0C350C
secondary
#712C71
accent
#42E6E6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #0C350C

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

Preview Lab → · Contrast checker → · Palette generator →

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