#0C301D#0C301D

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

Color values

HEX#0C301D
RGBrgb(12, 48, 29)
HSLhsl(148, 60%, 12%)
HSVhsv(148, 75%, 19%)
CMYKcmyk(75%, 0%, 39.6%, 81.2%)
CIE-LABlab(16.90, -18.35, 8.49)
CIE-LCHlch(16.90, 20.22, 155.18°)
OKLaboklab(27.72% -0.0499 0.0214)
OKLCHoklch(27.72% 0.054 156.8)
XYZxyz(1.4302, 2.2806, 1.5270)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C301D #300C1F
analogous
#0D300C #0C301D #0C302F
triadic
#0C301D #1D0C30 #301D0C
tetradic
#0C301D #0C0D30 #300C1F #302F0C
square
#0C301D #0C0D30 #300C1F #302F0C
split-complementary
#0C301D #2F0C30 #300C0D
monochromatic
#06180F #06180F #0C301D #18613B #249258

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C301D#FFFFFF#000000##FFFFFF
##0C301D1.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)
#302C1C
Deuteranopia (green-blind)
#2B281E
Tritanopia (blue-blind)
#00302B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c301d;
/* rgb */ color: rgb(12, 48, 29);
/* oklch */ color: oklch(27.7% 0.054 156.8);
Tailwind
colors: {
  custom: {
    50: '#4f6859',
    500: '#0c301d',
    950: '#000000',
  },
}
SCSS
$custom: #0c301d;
$custom-light: #4f6859;
$custom-dark: #000000;
JSON
{
  "hex": "#0c301d",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 29
  },
  "hsl": {
    "h": 148.333,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27723,
    "c": 0.0543,
    "h": 156.8
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#0C301D
secondary
#6C2C4E
accent
#4598E3
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0C301D

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

Preview Lab → · Contrast checker → · Palette generator →

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