#0C320A#0C320A

#0C320A is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.0% C 0.078 H 142.4°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#0C320A
RGBrgb(12, 50, 10)
HSLhsl(117, 67%, 12%)
HSVhsv(117, 80%, 20%)
CMYKcmyk(76%, 0%, 80%, 80.4%)
CIE-LABlab(17.37, -22.85, 20.29)
CIE-LCHlch(17.37, 30.56, 138.40°)
OKLaboklab(28.01% -0.0622 0.0478)
OKLCHoklch(28.01% 0.078 142.4)
XYZxyz(1.3469, 2.3811, 0.6757)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C320A #300A32
analogous
#20320A #0C320A #0A321C
triadic
#0C320A #0A0C32 #320A0C
tetradic
#0C320A #0A2032 #300A32 #321C0A
square
#0C320A #0A2032 #300A32 #321C0A
split-complementary
#0C320A #1C0A32 #320A20
monochromatic
#061A05 #061A05 #0C320A #186514 #24981E

Accessibility & contrast

On white

14.23
#0C320A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C320A
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C320A#FFFFFF#000000##FFFFFF
##0C320A1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c320a;
/* rgb */ color: rgb(12, 50, 10);
/* oklch */ color: oklch(28.0% 0.078 142.4);
Tailwind
colors: {
  custom: {
    50: '#516a4c',
    500: '#0c320a',
    950: '#000000',
  },
}
SCSS
$custom: #0c320a;
$custom-light: #516a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c320a",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 10
  },
  "hsl": {
    "h": 117,
    "s": 66.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28012,
    "c": 0.07847,
    "h": 142.4
  },
  "luminance": 0.02381
}

Semantic roles & 50–950 ramp

primary
#0C320A
secondary
#6C286F
accent
#3EEAE1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C320A

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

Preview Lab → · Contrast checker → · Palette generator →

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