#0C3307#0C3307

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

Color values

HEX#0C3307
RGBrgb(12, 51, 7)
HSLhsl(113, 76%, 11%)
HSVhsv(113, 86%, 20%)
CMYKcmyk(76.5%, 0%, 86.3%, 80%)
CIE-LABlab(17.74, -23.64, 21.95)
CIE-LCHlch(17.74, 32.27, 137.12°)
OKLaboklab(28.31% -0.0646 0.0515)
OKLCHoklch(28.31% 0.083 141.4)
XYZxyz(1.3737, 2.4610, 0.6036)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3307 #2E0733
analogous
#223307 #0C3307 #073318
triadic
#0C3307 #070C33 #33070C
tetradic
#0C3307 #072233 #2E0733 #331807
square
#0C3307 #072233 #2E0733 #331807
split-complementary
#0C3307 #180733 #330722
monochromatic
#061B04 #061B04 #0C3307 #19690E #259F16

Accessibility & contrast

On white

14.07
#0C3307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3307
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3307#FFFFFF#000000##FFFFFF
##0C33071.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c3307;
/* rgb */ color: rgb(12, 51, 7);
/* oklch */ color: oklch(28.3% 0.083 141.4);
Tailwind
colors: {
  custom: {
    50: '#516b4a',
    500: '#0c3307',
    950: '#000000',
  },
}
SCSS
$custom: #0c3307;
$custom-light: #516b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3307",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 7
  },
  "hsl": {
    "h": 113.182,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28308,
    "c": 0.08259,
    "h": 141.4
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#0C3307
secondary
#6A2373
accent
#35F2DD
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C3307

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

Preview Lab → · Contrast checker → · Palette generator →

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