#0C321E#0C321E

#0C321E is a dark, muted green. Relative luminance 0.025; OKLCH L 28.4% C 0.057 H 156.6°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#0C321E
RGBrgb(12, 50, 30)
HSLhsl(148, 61%, 12%)
HSVhsv(148, 76%, 20%)
CMYKcmyk(76%, 0%, 40%, 80.4%)
CIE-LABlab(17.70, -19.13, 8.91)
CIE-LCHlch(17.70, 21.10, 155.03°)
OKLaboklab(28.39% -0.052 0.0225)
OKLCHoklch(28.39% 0.057 156.6)
XYZxyz(1.5264, 2.4529, 1.6211)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C321E #320C20
analogous
#0D320C #0C321E #0C3231
triadic
#0C321E #1E0C32 #321E0C
tetradic
#0C321E #0C0D32 #320C20 #32310C
square
#0C321E #0C0D32 #320C20 #32310C
split-complementary
#0C321E #310C32 #320C0D
monochromatic
#06190F #06190F #0C321E #18633C #249559

Accessibility & contrast

On white

14.09
#0C321E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C321E
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C321E#FFFFFF#000000##FFFFFF
##0C321E1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322E1D
Deuteranopia (green-blind)
#2D2A1F
Tritanopia (blue-blind)
#00322D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c321e;
/* rgb */ color: rgb(12, 50, 30);
/* oklch */ color: oklch(28.4% 0.057 156.6);
Tailwind
colors: {
  custom: {
    50: '#506a59',
    500: '#0c321e',
    950: '#000000',
  },
}
SCSS
$custom: #0c321e;
$custom-light: #506a59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c321e",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 30
  },
  "hsl": {
    "h": 148.421,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28394,
    "c": 0.05661,
    "h": 156.6
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#0C321E
secondary
#6E2C4F
accent
#4398E4
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0C321E

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

Preview Lab → · Contrast checker → · Palette generator →

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