#0C2004#0C2004

#0C2004 is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.9% C 0.057 H 137.3°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#0C2004
RGBrgb(12, 32, 4)
HSLhsl(103, 78%, 7%)
HSVhsv(103, 88%, 13%)
CMYKcmyk(62.5%, 0%, 87.5%, 87.5%)
CIE-LABlab(9.95, -14.63, 12.95)
CIE-LCHlch(9.95, 19.54, 138.50°)
OKLaboklab(21.87% -0.0417 0.0384)
OKLCHoklch(21.87% 0.057 137.3)
XYZxyz(0.6900, 1.1199, 0.2946)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2004 #180420
analogous
#1A2004 #0C2004 #04200A
triadic
#0C2004 #040C20 #20040C
tetradic
#0C2004 #041A20 #180420 #200A04
square
#0C2004 #041A20 #180420 #200A04
split-complementary
#0C2004 #0A0420 #20041A
monochromatic
#0A1B03 #0A1B03 #0C2004 #20560B #358D12

Accessibility & contrast

On white

17.16
#0C2004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0C2004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2004
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2004#FFFFFF#000000##FFFFFF
##0C20041.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C02
Deuteranopia (green-blind)
#1F1B06
Tritanopia (blue-blind)
#0B1E1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c2004;
/* rgb */ color: rgb(12, 32, 4);
/* oklch */ color: oklch(21.9% 0.057 137.3);
Tailwind
colors: {
  custom: {
    50: '#4c5b48',
    500: '#0c2004',
    950: '#000000',
  },
}
SCSS
$custom: #0c2004;
$custom-light: #4c5b48;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2004",
  "rgb": {
    "r": 12,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 102.857,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.2187,
    "c": 0.05668,
    "h": 137.3
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#0C2004
secondary
#4F1D63
accent
#34F4BD
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0C2004

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

Preview Lab → · Contrast checker → · Palette generator →

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