#0C3C06#0C3C06

#0C3C06 is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.2% C 0.096 H 141.5°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#0C3C06
RGBrgb(12, 60, 6)
HSLhsl(113, 82%, 13%)
HSVhsv(113, 90%, 24%)
CMYKcmyk(80%, 0%, 90%, 76.5%)
CIE-LABlab(21.29, -27.46, 26.43)
CIE-LCHlch(21.29, 38.12, 136.10°)
OKLaboklab(31.25% -0.0749 0.0597)
OKLCHoklch(31.25% 0.096 141.5)
XYZxyz(1.8003, 3.3228, 0.7188)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3C06 #36063C
analogous
#273C06 #0C3C06 #063C1B
triadic
#0C3C06 #060C3C #3C060C
tetradic
#0C3C06 #06273C #36063C #3C1B06
square
#0C3C06 #06273C #36063C #3C1B06
split-complementary
#0C3C06 #1B063C #3C0627
monochromatic
#061C03 #061C03 #0C3C06 #17740C #22AB11

Accessibility & contrast

On white

12.62
#0C3C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0C3C06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3C06
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3C06#FFFFFF#000000##FFFFFF
##0C3C061.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c3c06;
/* rgb */ color: rgb(12, 60, 6);
/* oklch */ color: oklch(31.2% 0.096 141.5);
Tailwind
colors: {
  custom: {
    50: '#54724b',
    500: '#0c3c06',
    950: '#000000',
  },
}
SCSS
$custom: #0c3c06;
$custom-light: #54724b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3c06",
  "rgb": {
    "r": 12,
    "g": 60,
    "b": 6
  },
  "hsl": {
    "h": 113.333,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31249,
    "c": 0.09579,
    "h": 141.5
  },
  "luminance": 0.03323
}

Semantic roles & 50–950 ramp

primary
#0C3C06
secondary
#72227C
accent
#30F8E2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3C06

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

Preview Lab → · Contrast checker → · Palette generator →

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