#0C3306#0C3306

#0C3306 is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.3% C 0.084 H 141.1°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#0C3306
RGBrgb(12, 51, 6)
HSLhsl(112, 79%, 11%)
HSVhsv(112, 88%, 20%)
CMYKcmyk(76.5%, 0%, 88.2%, 80%)
CIE-LABlab(17.73, -23.76, 22.35)
CIE-LCHlch(17.73, 32.62, 136.76°)
OKLaboklab(28.3% -0.065 0.0525)
OKLCHoklch(28.3% 0.084 141.1)
XYZxyz(1.3682, 2.4588, 0.5748)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3306 #2D0633
analogous
#223306 #0C3306 #063316
triadic
#0C3306 #060C33 #33060C
tetradic
#0C3306 #062233 #2D0633 #331606
square
#0C3306 #062233 #2D0633 #331606
split-complementary
#0C3306 #160633 #330622
monochromatic
#061B03 #061B03 #0C3306 #196A0C #26A113

Accessibility & contrast

On white

14.08
#0C3306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0C3306 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3306
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3306#FFFFFF#000000##FFFFFF
##0C33061.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D01
Deuteranopia (green-blind)
#302A0A
Tritanopia (blue-blind)
#06312A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c3306;
/* rgb */ color: rgb(12, 51, 6);
/* oklch */ color: oklch(28.3% 0.084 141.1);
Tailwind
colors: {
  custom: {
    50: '#516b4a',
    500: '#0c3306',
    950: '#000000',
  },
}
SCSS
$custom: #0c3306;
$custom-light: #516b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3306",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 6
  },
  "hsl": {
    "h": 112,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28296,
    "c": 0.0835,
    "h": 141.1
  },
  "luminance": 0.02459
}

Semantic roles & 50–950 ramp

primary
#0C3306
secondary
#692174
accent
#32F5DB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C3306

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

Preview Lab → · Contrast checker → · Palette generator →

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