#0C3F09#0C3F09

#0C3F09 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.2% C 0.098 H 142.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#0C3F09
RGBrgb(12, 63, 9)
HSLhsl(117, 75%, 14%)
HSVhsv(117, 86%, 25%)
CMYKcmyk(81%, 0%, 85.7%, 75.3%)
CIE-LABlab(22.49, -28.36, 26.48)
CIE-LCHlch(22.49, 38.80, 136.96°)
OKLaboklab(32.25% -0.0772 0.0597)
OKLCHoklch(32.25% 0.098 142.3)
XYZxyz(1.9783, 3.6527, 0.8592)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F09 #3C093F
analogous
#273F09 #0C3F09 #093F21
triadic
#0C3F09 #090C3F #3F090C
tetradic
#0C3F09 #09273F #3C093F #3F2109
square
#0C3F09 #09273F #3C093F #3F2109
split-complementary
#0C3F09 #21093F #3F0927
monochromatic
#051B04 #051B04 #0C3F09 #167511 #20AA18

Accessibility & contrast

On white

12.13
#0C3F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#0C3F09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3F09
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F09#FFFFFF#000000##FFFFFF
##0C3F091.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413802
Deuteranopia (green-blind)
#3B340F
Tritanopia (blue-blind)
#013D35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0c3f09;
/* rgb */ color: rgb(12, 63, 9);
/* oklch */ color: oklch(32.2% 0.098 142.3);
Tailwind
colors: {
  custom: {
    50: '#55754d',
    500: '#0c3f09',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f09;
$custom-light: #55754d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f09",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 9
  },
  "hsl": {
    "h": 116.667,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32249,
    "c": 0.09759,
    "h": 142.3
  },
  "luminance": 0.03653
}

Semantic roles & 50–950 ramp

primary
#0C3F09
secondary
#78277D
accent
#36F2E7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3F09

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

Preview Lab → · Contrast checker → · Palette generator →

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