#0C301A#0C301A

#0C301A is a dark, muted green. Relative luminance 0.023; OKLCH L 27.6% C 0.058 H 153.3°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#0C301A
RGBrgb(12, 48, 26)
HSLhsl(143, 60%, 12%)
HSVhsv(143, 75%, 19%)
CMYKcmyk(75%, 0%, 45.8%, 81.2%)
CIE-LABlab(16.83, -19.08, 10.41)
CIE-LCHlch(16.83, 21.74, 151.38°)
OKLaboklab(27.64% -0.0516 0.026)
OKLCHoklch(27.64% 0.058 153.3)
XYZxyz(1.3949, 2.2665, 1.3410)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C301A #300C22
analogous
#10300C #0C301A #0C302C
triadic
#0C301A #1A0C30 #301A0C
tetradic
#0C301A #0C1030 #300C22 #302C0C
square
#0C301A #0C1030 #300C22 #302C0C
split-complementary
#0C301A #2C0C30 #300C10
monochromatic
#06180D #06180D #0C301A #186135 #24924F

Accessibility & contrast

On white

14.45
#0C301A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0C301A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C301A
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C301A#FFFFFF#000000##FFFFFF
##0C301A1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C19
Deuteranopia (green-blind)
#2B281B
Tritanopia (blue-blind)
#022F2A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c301a;
/* rgb */ color: rgb(12, 48, 26);
/* oklch */ color: oklch(27.6% 0.058 153.3);
Tailwind
colors: {
  custom: {
    50: '#506856',
    500: '#0c301a',
    950: '#000000',
  },
}
SCSS
$custom: #0c301a;
$custom-light: #506856;
$custom-dark: #000000;
JSON
{
  "hex": "#0c301a",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 26
  },
  "hsl": {
    "h": 143.333,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27644,
    "c": 0.05782,
    "h": 153.3
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#0C301A
secondary
#6C2C53
accent
#45A6E3
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0C301A

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

Preview Lab → · Contrast checker → · Palette generator →

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