#0C320E#0C320E

#0C320E is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.1% C 0.075 H 144.1°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#0C320E
RGBrgb(12, 50, 14)
HSLhsl(123, 61%, 12%)
HSVhsv(123, 76%, 20%)
CMYKcmyk(76%, 0%, 72%, 80.4%)
CIE-LABlab(17.42, -22.32, 18.52)
CIE-LCHlch(17.42, 29.00, 140.31°)
OKLaboklab(28.06% -0.0605 0.0439)
OKLCHoklch(28.06% 0.075 144.1)
XYZxyz(1.3714, 2.3909, 0.8046)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C320E #320C30
analogous
#1D320C #0C320E #0C3221
triadic
#0C320E #0E0C32 #320E0C
tetradic
#0C320E #0C1D32 #320C30 #32210C
square
#0C320E #0C1D32 #320C30 #32210C
split-complementary
#0C320E #210C32 #320C1D
monochromatic
#061907 #061907 #0C320E #18631C #24952A

Accessibility & contrast

On white

14.21
#0C320E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0C320E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C320E
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C320E#FFFFFF#000000##FFFFFF
##0C320E1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0A
Deuteranopia (green-blind)
#2E2A11
Tritanopia (blue-blind)
#05302A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c320e;
/* rgb */ color: rgb(12, 50, 14);
/* oklch */ color: oklch(28.1% 0.075 144.1);
Tailwind
colors: {
  custom: {
    50: '#516a4e',
    500: '#0c320e',
    950: '#000000',
  },
}
SCSS
$custom: #0c320e;
$custom-light: #516a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c320e",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 14
  },
  "hsl": {
    "h": 123.158,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28064,
    "c": 0.07472,
    "h": 144.1
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#0C320E
secondary
#6E2C6A
accent
#43DCE4
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C320E

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

Preview Lab → · Contrast checker → · Palette generator →

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