#0C3D07#0C3D07

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

Color values

HEX#0C3D07
RGBrgb(12, 61, 7)
HSLhsl(114, 79%, 13%)
HSVhsv(114, 89%, 24%)
CMYKcmyk(80.3%, 0%, 88.5%, 76.1%)
CIE-LABlab(21.69, -27.76, 26.46)
CIE-LCHlch(21.69, 38.35, 136.38°)
OKLaboklab(31.58% -0.0757 0.0597)
OKLCHoklch(31.58% 0.096 141.8)
XYZxyz(1.8586, 3.4308, 0.7652)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3D07 #38073D
analogous
#273D07 #0C3D07 #073D1D
triadic
#0C3D07 #070C3D #3D070C
tetradic
#0C3D07 #07273D #38073D #3D1D07
square
#0C3D07 #07273D #38073D #3D1D07
split-complementary
#0C3D07 #1D073D #3D0727
monochromatic
#051B03 #051B03 #0C3D07 #17740D #22AB14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C3D07#FFFFFF#000000##FFFFFF
##0C3D071.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)
#3F3600
Deuteranopia (green-blind)
#39330D
Tritanopia (blue-blind)
#023B33
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0c3d07;
/* rgb */ color: rgb(12, 61, 7);
/* oklch */ color: oklch(31.6% 0.096 141.8);
Tailwind
colors: {
  custom: {
    50: '#54734b',
    500: '#0c3d07',
    950: '#000000',
  },
}
SCSS
$custom: #0c3d07;
$custom-light: #54734b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3d07",
  "rgb": {
    "r": 12,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 114.444,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31583,
    "c": 0.09636,
    "h": 141.8
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#0C3D07
secondary
#74237C
accent
#32F6E4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3D07

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

Preview Lab → · Contrast checker → · Palette generator →

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