#0C2011#0C2011

#0C2011 is a very dark, muted green. Relative luminance 0.012; OKLCH L 22.1% C 0.039 H 150.3°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#0C2011
RGBrgb(12, 32, 17)
HSLhsl(135, 45%, 9%)
HSVhsv(135, 63%, 13%)
CMYKcmyk(62.5%, 0%, 46.9%, 87.5%)
CIE-LABlab(10.20, -12.43, 7.40)
CIE-LCHlch(10.20, 14.47, 149.25°)
OKLaboklab(22.15% -0.0341 0.0195)
OKLCHoklch(22.15% 0.039 150.3)
XYZxyz(0.7693, 1.1516, 0.7119)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2011 #200C1B
analogous
#11200C #0C2011 #0C201B
triadic
#0C2011 #110C20 #20110C
tetradic
#0C2011 #0C1120 #200C1B #201B0C
square
#0C2011 #0C1120 #200C1B #201B0C
split-complementary
#0C2011 #1B0C20 #200C11
monochromatic
#08160C #08160C #0C2011 #1D4D29 #2D7940

Accessibility & contrast

On white

17.07
#0C2011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2011
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2011#FFFFFF#000000##FFFFFF
##0C20111.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D10
Deuteranopia (green-blind)
#1D1B12
Tritanopia (blue-blind)
#081F1C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0c2011;
/* rgb */ color: rgb(12, 32, 17);
/* oklch */ color: oklch(22.1% 0.039 150.3);
Tailwind
colors: {
  custom: {
    50: '#4c5b4f',
    500: '#0c2011',
    950: '#000000',
  },
}
SCSS
$custom: #0c2011;
$custom-light: #4c5b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2011",
  "rgb": {
    "r": 12,
    "g": 32,
    "b": 17
  },
  "hsl": {
    "h": 135,
    "s": 45.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.22147,
    "c": 0.03925,
    "h": 150.3
  },
  "luminance": 0.01152
}

Semantic roles & 50–950 ramp

primary
#0C2011
secondary
#5A2E4F
accent
#53B5D5
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010401
muted
#777977

Preview Lab

Preview with #0C2011

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

Preview Lab → · Contrast checker → · Palette generator →

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