#0C321C#0C321C

#0C321C is a dark, muted green. Relative luminance 0.024; OKLCH L 28.3% C 0.059 H 154.4°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#0C321C
RGBrgb(12, 50, 28)
HSLhsl(145, 61%, 12%)
HSVhsv(145, 76%, 20%)
CMYKcmyk(76%, 0%, 44%, 80.4%)
CIE-LABlab(17.66, -19.62, 10.19)
CIE-LCHlch(17.66, 22.11, 152.56°)
OKLaboklab(28.34% -0.0531 0.0255)
OKLCHoklch(28.34% 0.059 154.4)
XYZxyz(1.5017, 2.4431, 1.4908)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C321C #320C22
analogous
#0F320C #0C321C #0C322F
triadic
#0C321C #1C0C32 #321C0C
tetradic
#0C321C #0C0F32 #320C22 #322F0C
square
#0C321C #0C0F32 #320C22 #322F0C
split-complementary
#0C321C #2F0C32 #320C0F
monochromatic
#06190E #06190E #0C321C #186338 #249553

Accessibility & contrast

On white

14.11
#0C321C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0C321C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C321C
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C321C#FFFFFF#000000##FFFFFF
##0C321C1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D1B
Deuteranopia (green-blind)
#2D2A1D
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c321c;
/* rgb */ color: rgb(12, 50, 28);
/* oklch */ color: oklch(28.3% 0.059 154.4);
Tailwind
colors: {
  custom: {
    50: '#506a58',
    500: '#0c321c',
    950: '#000000',
  },
}
SCSS
$custom: #0c321c;
$custom-light: #506a58;
$custom-dark: #000000;
JSON
{
  "hex": "#0c321c",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 28
  },
  "hsl": {
    "h": 145.263,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28342,
    "c": 0.05894,
    "h": 154.4
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#0C321C
secondary
#6E2C52
accent
#43A1E4
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0C321C

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

Preview Lab → · Contrast checker → · Palette generator →

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