#0C3308#0C3308

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

Color values

HEX#0C3308
RGBrgb(12, 51, 8)
HSLhsl(114, 73%, 12%)
HSVhsv(114, 84%, 20%)
CMYKcmyk(76.5%, 0%, 84.3%, 80%)
CIE-LABlab(17.75, -23.52, 21.56)
CIE-LCHlch(17.75, 31.91, 137.50°)
OKLaboklab(28.32% -0.0642 0.0506)
OKLCHoklch(28.32% 0.082 141.7)
XYZxyz(1.3792, 2.4632, 0.6324)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3308 #2F0833
analogous
#223308 #0C3308 #08331A
triadic
#0C3308 #080C33 #33080C
tetradic
#0C3308 #082233 #2F0833 #331A08
square
#0C3308 #082233 #2F0833 #331A08
split-complementary
#0C3308 #1A0833 #330822
monochromatic
#061A04 #061A04 #0C3308 #186810 #259D19

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C3308#FFFFFF#000000##FFFFFF
##0C33081.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)
#342D03
Deuteranopia (green-blind)
#302A0C
Tritanopia (blue-blind)
#05312A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c3308;
/* rgb */ color: rgb(12, 51, 8);
/* oklch */ color: oklch(28.3% 0.082 141.7);
Tailwind
colors: {
  custom: {
    50: '#516b4b',
    500: '#0c3308',
    950: '#000000',
  },
}
SCSS
$custom: #0c3308;
$custom-light: #516b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3308",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 114.419,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28319,
    "c": 0.0817,
    "h": 141.7
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#0C3308
secondary
#6B2572
accent
#38F0DF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C3308

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

Preview Lab → · Contrast checker → · Palette generator →

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