#0C3C07#0C3C07

#0C3C07 is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.3% C 0.095 H 141.7°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#0C3C07
RGBrgb(12, 60, 7)
HSLhsl(114, 79%, 13%)
HSVhsv(114, 88%, 24%)
CMYKcmyk(80%, 0%, 88.3%, 76.5%)
CIE-LABlab(21.30, -27.37, 26.03)
CIE-LCHlch(21.30, 37.77, 136.43°)
OKLaboklab(31.26% -0.0746 0.0589)
OKLCHoklch(31.26% 0.095 141.7)
XYZxyz(1.8057, 3.3250, 0.7476)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3C07 #37073C
analogous
#263C07 #0C3C07 #073C1C
triadic
#0C3C07 #070C3C #3C070C
tetradic
#0C3C07 #07263C #37073C #3C1C07
square
#0C3C07 #07263C #37073C #3C1C07
split-complementary
#0C3C07 #1C073C #3C0726
monochromatic
#051B03 #051B03 #0C3C07 #17730D #22AA14

Accessibility & contrast

On white

12.61
#0C3C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#0C3C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3C07
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3C07#FFFFFF#000000##FFFFFF
##0C3C071.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#38320D
Tritanopia (blue-blind)
#033A32
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c3c07;
/* rgb */ color: rgb(12, 60, 7);
/* oklch */ color: oklch(31.3% 0.095 141.7);
Tailwind
colors: {
  custom: {
    50: '#54724b',
    500: '#0c3c07',
    950: '#000000',
  },
}
SCSS
$custom: #0c3c07;
$custom-light: #54724b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3c07",
  "rgb": {
    "r": 12,
    "g": 60,
    "b": 7
  },
  "hsl": {
    "h": 114.34,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31259,
    "c": 0.09503,
    "h": 141.7
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#0C3C07
secondary
#73237B
accent
#32F6E3
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3C07

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

Preview Lab → · Contrast checker → · Palette generator →

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