#0C3C19#0C3C19

#0C3C19 is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.5% C 0.079 H 148.5°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#0C3C19
RGBrgb(12, 60, 25)
HSLhsl(136, 67%, 14%)
HSVhsv(136, 80%, 24%)
CMYKcmyk(80%, 0%, 58.3%, 76.5%)
CIE-LABlab(21.51, -24.95, 17.05)
CIE-LCHlch(21.51, 30.22, 145.66°)
OKLaboklab(31.49% -0.0672 0.0413)
OKLCHoklch(31.49% 0.079 148.5)
XYZxyz(1.9428, 3.3799, 1.4695)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3C19 #3C0C2F
analogous
#173C0C #0C3C19 #0C3C31
triadic
#0C3C19 #190C3C #3C190C
tetradic
#0C3C19 #0C173C #3C0C2F #3C310C
square
#0C3C19 #0C173C #3C0C2F #3C310C
split-complementary
#0C3C19 #310C3C #3C0C17
monochromatic
#051A0B #051A0B #0C3C19 #166F2E #20A244

Accessibility & contrast

On white

12.53
#0C3C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#0C3C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3C19
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3C19#FFFFFF#000000##FFFFFF
##0C3C191.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3616
Deuteranopia (green-blind)
#37321C
Tritanopia (blue-blind)
#003B34
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0c3c19;
/* rgb */ color: rgb(12, 60, 25);
/* oklch */ color: oklch(31.5% 0.079 148.5);
Tailwind
colors: {
  custom: {
    50: '#537256',
    500: '#0c3c19',
    950: '#000000',
  },
}
SCSS
$custom: #0c3c19;
$custom-light: #537256;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3c19",
  "rgb": {
    "r": 12,
    "g": 60,
    "b": 25
  },
  "hsl": {
    "h": 136.25,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31493,
    "c": 0.07885,
    "h": 148.5
  },
  "luminance": 0.0338
}

Semantic roles & 50–950 ramp

primary
#0C3C19
secondary
#782C63
accent
#3EBBEA
background
#F4F6F5
surface
#E8ECE9
border
#C4C7C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0C3C19

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

Preview Lab → · Contrast checker → · Palette generator →

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