#0C3103#0C3103

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

Color values

HEX#0C3103
RGBrgb(12, 49, 3)
HSLhsl(108, 88%, 10%)
HSVhsv(108, 94%, 19%)
CMYKcmyk(75.5%, 0%, 93.9%, 80.8%)
CIE-LABlab(16.90, -23.27, 22.56)
CIE-LCHlch(16.90, 32.41, 135.89°)
OKLaboklab(27.6% -0.0639 0.0538)
OKLCHoklch(27.6% 0.084 139.9)
XYZxyz(1.2663, 2.2812, 0.4597)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3103 #280331
analogous
#233103 #0C3103 #033111
triadic
#0C3103 #030C31 #31030C
tetradic
#0C3103 #032331 #280331 #311103
square
#0C3103 #032331 #280331 #311103
split-complementary
#0C3103 #110331 #310323
monochromatic
#071D02 #071D02 #0C3103 #1A6B07 #28A40A

Accessibility & contrast

On white

14.42
#0C3103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3103
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3103#FFFFFF#000000##FFFFFF
##0C31031.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332B00
Deuteranopia (green-blind)
#2E2907
Tritanopia (blue-blind)
#072F28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c3103;
/* rgb */ color: rgb(12, 49, 3);
/* oklch */ color: oklch(27.6% 0.084 139.9);
Tailwind
colors: {
  custom: {
    50: '#506948',
    500: '#0c3103',
    950: '#000000',
  },
}
SCSS
$custom: #0c3103;
$custom-light: #506948;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3103",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 3
  },
  "hsl": {
    "h": 108.261,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27597,
    "c": 0.08358,
    "h": 139.9
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#0C3103
secondary
#631B74
accent
#29FFD5
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0C3103

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

Preview Lab → · Contrast checker → · Palette generator →

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