#0C3D0C#0C3D0C

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

Color values

HEX#0C3D0C
RGBrgb(12, 61, 12)
HSLhsl(120, 67%, 14%)
HSVhsv(120, 80%, 24%)
CMYKcmyk(80.3%, 0%, 80.3%, 76.1%)
CIE-LABlab(21.73, -27.27, 24.42)
CIE-LCHlch(21.73, 36.60, 138.16°)
OKLaboklab(31.63% -0.074 0.0558)
OKLCHoklch(31.63% 0.093 143)
XYZxyz(1.8866, 3.4420, 0.9127)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3D0C #3D0C3D
analogous
#253D0C #0C3D0C #0C3D25
triadic
#0C3D0C #0C0C3D #3D0C0C
tetradic
#0C3D0C #0C253D #3D0C3D #3D250C
square
#0C3D0C #0C253D #3D0C3D #3D250C
split-complementary
#0C3D0C #250C3D #3D0C25
monochromatic
#051A05 #051A05 #0C3D0C #167016 #20A320

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C3D0C#FFFFFF#000000##FFFFFF
##0C3D0C1.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)
#3E3605
Deuteranopia (green-blind)
#393311
Tritanopia (blue-blind)
#013B33
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0c3d0c;
/* rgb */ color: rgb(12, 61, 12);
/* oklch */ color: oklch(31.6% 0.093 143.0);
Tailwind
colors: {
  custom: {
    50: '#54734e',
    500: '#0c3d0c',
    950: '#000000',
  },
}
SCSS
$custom: #0c3d0c;
$custom-light: #54734e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3d0c",
  "rgb": {
    "r": 12,
    "g": 61,
    "b": 12
  },
  "hsl": {
    "h": 120,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.3163,
    "c": 0.0927,
    "h": 143
  },
  "luminance": 0.03442
}

Semantic roles & 50–950 ramp

primary
#0C3D0C
secondary
#792C79
accent
#3EEAEA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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