#0C321A#0C321A

#0C321A is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.3% C 0.061 H 152.3°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#0C321A
RGBrgb(12, 50, 26)
HSLhsl(142, 61%, 12%)
HSVhsv(142, 76%, 20%)
CMYKcmyk(76%, 0%, 48%, 80.4%)
CIE-LABlab(17.62, -20.08, 11.45)
CIE-LCHlch(17.62, 23.12, 150.30°)
OKLaboklab(28.29% -0.0543 0.0285)
OKLCHoklch(28.29% 0.061 152.3)
XYZxyz(1.4786, 2.4338, 1.3689)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C321A #320C24
analogous
#11320C #0C321A #0C322D
triadic
#0C321A #1A0C32 #321A0C
tetradic
#0C321A #0C1132 #320C24 #322D0C
square
#0C321A #0C1132 #320C24 #322D0C
split-complementary
#0C321A #2D0C32 #320C11
monochromatic
#06190D #06190D #0C321A #186334 #24954D

Accessibility & contrast

On white

14.12
#0C321A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C321A
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C321A#FFFFFF#000000##FFFFFF
##0C321A1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D18
Deuteranopia (green-blind)
#2D2A1C
Tritanopia (blue-blind)
#01312C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c321a;
/* rgb */ color: rgb(12, 50, 26);
/* oklch */ color: oklch(28.3% 0.061 152.3);
Tailwind
colors: {
  custom: {
    50: '#506a56',
    500: '#0c321a',
    950: '#000000',
  },
}
SCSS
$custom: #0c321a;
$custom-light: #506a56;
$custom-dark: #000000;
JSON
{
  "hex": "#0c321a",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 26
  },
  "hsl": {
    "h": 142.105,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28293,
    "c": 0.06128,
    "h": 152.3
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#0C321A
secondary
#6E2C56
accent
#43A9E4
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0C321A

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

Preview Lab → · Contrast checker → · Palette generator →

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