#0C301C#0C301C

#0C301C is a dark, muted green. Relative luminance 0.023; OKLCH L 27.7% C 0.055 H 155.5°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#0C301C
RGBrgb(12, 48, 28)
HSLhsl(147, 60%, 12%)
HSVhsv(147, 75%, 19%)
CMYKcmyk(75%, 0%, 41.7%, 81.2%)
CIE-LABlab(16.87, -18.60, 9.13)
CIE-LCHlch(16.87, 20.72, 153.85°)
OKLaboklab(27.7% -0.0505 0.023)
OKLCHoklch(27.7% 0.055 155.5)
XYZxyz(1.4181, 2.2758, 1.4629)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C301C #300C20
analogous
#0E300C #0C301C #0C302E
triadic
#0C301C #1C0C30 #301C0C
tetradic
#0C301C #0C0E30 #300C20 #302E0C
square
#0C301C #0C0E30 #300C20 #302E0C
split-complementary
#0C301C #2E0C30 #300C0E
monochromatic
#06180E #06180E #0C301C #186139 #249255

Accessibility & contrast

On white

14.43
#0C301C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C301C
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C301C#FFFFFF#000000##FFFFFF
##0C301C1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1B
Deuteranopia (green-blind)
#2B281D
Tritanopia (blue-blind)
#012F2B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c301c;
/* rgb */ color: rgb(12, 48, 28);
/* oklch */ color: oklch(27.7% 0.055 155.5);
Tailwind
colors: {
  custom: {
    50: '#506858',
    500: '#0c301c',
    950: '#000000',
  },
}
SCSS
$custom: #0c301c;
$custom-light: #506858;
$custom-dark: #000000;
JSON
{
  "hex": "#0c301c",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 28
  },
  "hsl": {
    "h": 146.667,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27696,
    "c": 0.05547,
    "h": 155.5
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#0C301C
secondary
#6C2C4F
accent
#459DE3
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0C301C

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

Preview Lab → · Contrast checker → · Palette generator →

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