#0C3105#0C3105

#0C3105 is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.6% C 0.082 H 140.6°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#0C3105
RGBrgb(12, 49, 5)
HSLhsl(110, 81%, 11%)
HSVhsv(110, 90%, 19%)
CMYKcmyk(75.5%, 0%, 89.8%, 80.8%)
CIE-LABlab(16.92, -23.02, 21.77)
CIE-LCHlch(16.92, 31.69, 136.60°)
OKLaboklab(27.62% -0.0631 0.0518)
OKLCHoklch(27.62% 0.082 140.6)
XYZxyz(1.2773, 2.2856, 0.5174)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3105 #2A0531
analogous
#223105 #0C3105 #053114
triadic
#0C3105 #050C31 #31050C
tetradic
#0C3105 #052231 #2A0531 #311405
square
#0C3105 #052231 #2A0531 #311405
split-complementary
#0C3105 #140531 #310522
monochromatic
#071C03 #071C03 #0C3105 #1A690B #27A010

Accessibility & contrast

On white

14.41
#0C3105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0C3105 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3105
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3105#FFFFFF#000000##FFFFFF
##0C31051.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#2E2909
Tritanopia (blue-blind)
#072F29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c3105;
/* rgb */ color: rgb(12, 49, 5);
/* oklch */ color: oklch(27.6% 0.082 140.6);
Tailwind
colors: {
  custom: {
    50: '#506949',
    500: '#0c3105',
    950: '#000000',
  },
}
SCSS
$custom: #0c3105;
$custom-light: #506949;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3105",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 5
  },
  "hsl": {
    "h": 110.455,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27621,
    "c": 0.0816,
    "h": 140.6
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#0C3105
secondary
#651F72
accent
#30F8D8
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C3105

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

Preview Lab → · Contrast checker → · Palette generator →

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