#0C3D09#0C3D09

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

Color values

HEX#0C3D09
RGBrgb(12, 61, 9)
HSLhsl(117, 74%, 14%)
HSVhsv(117, 85%, 24%)
CMYKcmyk(80.3%, 0%, 85.2%, 76.1%)
CIE-LABlab(21.71, -27.57, 25.66)
CIE-LCHlch(21.71, 37.66, 137.05°)
OKLaboklab(31.6% -0.075 0.0581)
OKLCHoklch(31.6% 0.095 142.2)
XYZxyz(1.8696, 3.4352, 0.8229)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3D09 #3A093D
analogous
#263D09 #0C3D09 #093D20
triadic
#0C3D09 #090C3D #3D090C
tetradic
#0C3D09 #09263D #3A093D #3D2009
square
#0C3D09 #09263D #3A093D #3D2009
split-complementary
#0C3D09 #20093D #3D0926
monochromatic
#051B04 #051B04 #0C3D09 #167211 #21A819

Accessibility & contrast

On white

12.45
#0C3D09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3D09
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3D09#FFFFFF#000000##FFFFFF
##0C3D091.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c3d09;
/* rgb */ color: rgb(12, 61, 9);
/* oklch */ color: oklch(31.6% 0.095 142.2);
Tailwind
colors: {
  custom: {
    50: '#54734c',
    500: '#0c3d09',
    950: '#000000',
  },
}
SCSS
$custom: #0c3d09;
$custom-light: #54734c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3d09",
  "rgb": {
    "r": 12,
    "g": 61,
    "b": 9
  },
  "hsl": {
    "h": 116.538,
    "s": 74.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31602,
    "c": 0.0949,
    "h": 142.2
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#0C3D09
secondary
#76277B
accent
#37F1E6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3D09

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

Preview Lab → · Contrast checker → · Palette generator →

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