#0C3608#0C3608

#0C3608 is a dark, moderate green. Relative luminance 0.027; OKLCH L 29.3% C 0.086 H 141.8°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#0C3608
RGBrgb(12, 54, 8)
HSLhsl(115, 74%, 12%)
HSVhsv(115, 85%, 21%)
CMYKcmyk(77.8%, 0%, 85.2%, 78.8%)
CIE-LABlab(18.95, -24.81, 22.97)
CIE-LCHlch(18.95, 33.81, 137.20°)
OKLaboklab(29.31% -0.0676 0.0531)
OKLCHoklch(29.31% 0.086 141.8)
XYZxyz(1.5145, 2.7339, 0.6776)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3608 #320836
analogous
#233608 #0C3608 #08361B
triadic
#0C3608 #080C36 #36080C
tetradic
#0C3608 #082336 #320836 #361B08
square
#0C3608 #082336 #320836 #361B08
split-complementary
#0C3608 #1B0836 #360823
monochromatic
#061B04 #061B04 #0C3608 #186B10 #24A118

Accessibility & contrast

On white

13.58
#0C3608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0C3608 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3608
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3608#FFFFFF#000000##FFFFFF
##0C36081.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383003
Deuteranopia (green-blind)
#332D0D
Tritanopia (blue-blind)
#04342D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0c3608;
/* rgb */ color: rgb(12, 54, 8);
/* oklch */ color: oklch(29.3% 0.086 141.8);
Tailwind
colors: {
  custom: {
    50: '#526d4b',
    500: '#0c3608',
    950: '#000000',
  },
}
SCSS
$custom: #0c3608;
$custom-light: #526d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3608",
  "rgb": {
    "r": 12,
    "g": 54,
    "b": 8
  },
  "hsl": {
    "h": 114.783,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29308,
    "c": 0.086,
    "h": 141.8
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#0C3608
secondary
#6E2575
accent
#37F1E1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #0C3608

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

Preview Lab → · Contrast checker → · Palette generator →

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