#0C321B#0C321B

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

Color values

HEX#0C321B
RGBrgb(12, 50, 27)
HSLhsl(144, 61%, 12%)
HSVhsv(144, 76%, 20%)
CMYKcmyk(76%, 0%, 46%, 80.4%)
CIE-LABlab(17.64, -19.85, 10.82)
CIE-LCHlch(17.64, 22.61, 151.41°)
OKLaboklab(28.32% -0.0537 0.027)
OKLCHoklch(28.32% 0.06 153.3)
XYZxyz(1.4899, 2.4383, 1.4288)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C321B #320C23
analogous
#10320C #0C321B #0C322E
triadic
#0C321B #1B0C32 #321B0C
tetradic
#0C321B #0C1032 #320C23 #322E0C
square
#0C321B #0C1032 #320C23 #322E0C
split-complementary
#0C321B #2E0C32 #320C10
monochromatic
#06190D #06190D #0C321B #186336 #249550

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C321B#FFFFFF#000000##FFFFFF
##0C321B1.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)
#322D19
Deuteranopia (green-blind)
#2D2A1C
Tritanopia (blue-blind)
#01312C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c321b;
/* rgb */ color: rgb(12, 50, 27);
/* oklch */ color: oklch(28.3% 0.060 153.3);
Tailwind
colors: {
  custom: {
    50: '#506a57',
    500: '#0c321b',
    950: '#000000',
  },
}
SCSS
$custom: #0c321b;
$custom-light: #506a57;
$custom-dark: #000000;
JSON
{
  "hex": "#0c321b",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 27
  },
  "hsl": {
    "h": 143.684,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28317,
    "c": 0.06011,
    "h": 153.3
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#0C321B
secondary
#6E2C54
accent
#43A5E4
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0C321B

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

Preview Lab → · Contrast checker → · Palette generator →

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