#0C2007#0C2007

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

Color values

HEX#0C2007
RGBrgb(12, 32, 7)
HSLhsl(108, 64%, 8%)
HSVhsv(108, 78%, 13%)
CMYKcmyk(62.5%, 0%, 78.1%, 87.5%)
CIE-LABlab(10.00, -14.18, 11.80)
CIE-LCHlch(10.00, 18.44, 140.24°)
OKLaboklab(21.93% -0.0398 0.034)
OKLCHoklch(21.93% 0.052 139.5)
XYZxyz(0.7065, 1.1265, 0.3812)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2007 #1B0720
analogous
#182007 #0C2007 #07200E
triadic
#0C2007 #070C20 #20070C
tetradic
#0C2007 #071820 #1B0720 #200E07
square
#0C2007 #071820 #1B0720 #200E07
split-complementary
#0C2007 #0E0720 #200718
monochromatic
#091905 #091905 #0C2007 #1F5212 #32841D

Accessibility & contrast

On white

17.14
#0C2007 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0C2007 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2007
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2007#FFFFFF#000000##FFFFFF
##0C20071.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D05
Deuteranopia (green-blind)
#1E1B09
Tritanopia (blue-blind)
#0A1F1B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c2007;
/* rgb */ color: rgb(12, 32, 7);
/* oklch */ color: oklch(21.9% 0.052 139.5);
Tailwind
colors: {
  custom: {
    50: '#4c5b4a',
    500: '#0c2007',
    950: '#000000',
  },
}
SCSS
$custom: #0c2007;
$custom-light: #4c5b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2007",
  "rgb": {
    "r": 12,
    "g": 32,
    "b": 7
  },
  "hsl": {
    "h": 108,
    "s": 64.103,
    "l": 7.647
  },
  "oklch": {
    "l": 0.21928,
    "c": 0.05233,
    "h": 139.5
  },
  "luminance": 0.01127
}

Semantic roles & 50–950 ramp

primary
#0C2007
secondary
#53245F
accent
#41E7C6
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010401
muted
#777977

Preview Lab

Preview with #0C2007

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

Preview Lab → · Contrast checker → · Palette generator →

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