#0C3D0A#0C3D0A

#0C3D0A is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.6% C 0.094 H 142.5°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#0C3D0A
RGBrgb(12, 61, 10)
HSLhsl(118, 72%, 14%)
HSVhsv(118, 84%, 24%)
CMYKcmyk(80.3%, 0%, 83.6%, 76.1%)
CIE-LABlab(21.72, -27.47, 25.26)
CIE-LCHlch(21.72, 37.32, 137.40°)
OKLaboklab(31.61% -0.0747 0.0574)
OKLCHoklch(31.61% 0.094 142.5)
XYZxyz(1.8750, 3.4374, 0.8518)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3D0A #3B0A3D
analogous
#263D0A #0C3D0A #0A3D22
triadic
#0C3D0A #0A0C3D #3D0A0C
tetradic
#0C3D0A #0A263D #3B0A3D #3D220A
square
#0C3D0A #0A263D #3B0A3D #3D220A
split-complementary
#0C3D0A #220A3D #3D0A26
monochromatic
#051A04 #051A04 #0C3D0A #167213 #21A61B

Accessibility & contrast

On white

12.44
#0C3D0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#0C3D0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3D0A
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3D0A#FFFFFF#000000##FFFFFF
##0C3D0A1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3603
Deuteranopia (green-blind)
#39330F
Tritanopia (blue-blind)
#023B33
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0c3d0a;
/* rgb */ color: rgb(12, 61, 10);
/* oklch */ color: oklch(31.6% 0.094 142.5);
Tailwind
colors: {
  custom: {
    50: '#54734d',
    500: '#0c3d0a',
    950: '#000000',
  },
}
SCSS
$custom: #0c3d0a;
$custom-light: #54734d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3d0a",
  "rgb": {
    "r": 12,
    "g": 61,
    "b": 10
  },
  "hsl": {
    "h": 117.647,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31611,
    "c": 0.09419,
    "h": 142.5
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#0C3D0A
secondary
#77287A
accent
#39EFE7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3D0A

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

Preview Lab → · Contrast checker → · Palette generator →

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