#0C301B#0C301B

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

Color values

HEX#0C301B
RGBrgb(12, 48, 27)
HSLhsl(145, 60%, 12%)
HSVhsv(145, 75%, 19%)
CMYKcmyk(75%, 0%, 43.8%, 81.2%)
CIE-LABlab(16.85, -18.85, 9.77)
CIE-LCHlch(16.85, 21.23, 152.59°)
OKLaboklab(27.67% -0.0511 0.0245)
OKLCHoklch(27.67% 0.057 154.4)
XYZxyz(1.4063, 2.2711, 1.4009)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C301B #300C21
analogous
#0F300C #0C301B #0C302D
triadic
#0C301B #1B0C30 #301B0C
tetradic
#0C301B #0C0F30 #300C21 #302D0C
square
#0C301B #0C0F30 #300C21 #302D0C
split-complementary
#0C301B #2D0C30 #300C0F
monochromatic
#06180E #06180E #0C301B #186137 #249252

Accessibility & contrast

On white

14.44
#0C301B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C301B
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C301B#FFFFFF#000000##FFFFFF
##0C301B1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c301b;
/* rgb */ color: rgb(12, 48, 27);
/* oklch */ color: oklch(27.7% 0.057 154.4);
Tailwind
colors: {
  custom: {
    50: '#506857',
    500: '#0c301b',
    950: '#000000',
  },
}
SCSS
$custom: #0c301b;
$custom-light: #506857;
$custom-dark: #000000;
JSON
{
  "hex": "#0c301b",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 27
  },
  "hsl": {
    "h": 145,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2767,
    "c": 0.05664,
    "h": 154.4
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#0C301B
secondary
#6C2C51
accent
#45A1E3
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0C301B

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

Preview Lab → · Contrast checker → · Palette generator →

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