#0C2003#0C2003

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

Color values

HEX#0C2003
RGBrgb(12, 32, 3)
HSLhsl(101, 83%, 7%)
HSVhsv(101, 91%, 13%)
CMYKcmyk(62.5%, 0%, 90.6%, 87.5%)
CIE-LABlab(9.94, -14.79, 13.33)
CIE-LCHlch(9.94, 19.91, 137.97°)
OKLaboklab(21.85% -0.0423 0.04)
OKLCHoklch(21.85% 0.058 136.6)
XYZxyz(0.6845, 1.1177, 0.2658)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2003 #170320
analogous
#1B2003 #0C2003 #032009
triadic
#0C2003 #030C20 #20030C
tetradic
#0C2003 #031B20 #170320 #200903
square
#0C2003 #031B20 #170320 #200903
split-complementary
#0C2003 #090320 #20031B
monochromatic
#0A1C03 #0A1C03 #0C2003 #215808 #36900D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C2003#FFFFFF#000000##FFFFFF
##0C20031.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)
#211C01
Deuteranopia (green-blind)
#1F1B05
Tritanopia (blue-blind)
#0B1E1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c2003;
/* rgb */ color: rgb(12, 32, 3);
/* oklch */ color: oklch(21.9% 0.058 136.6);
Tailwind
colors: {
  custom: {
    50: '#4c5b48',
    500: '#0c2003',
    950: '#000000',
  },
}
SCSS
$custom: #0c2003;
$custom-light: #4c5b48;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2003",
  "rgb": {
    "r": 12,
    "g": 32,
    "b": 3
  },
  "hsl": {
    "h": 101.379,
    "s": 82.857,
    "l": 6.863
  },
  "oklch": {
    "l": 0.2185,
    "c": 0.05824,
    "h": 136.6
  },
  "luminance": 0.01118
}

Semantic roles & 50–950 ramp

primary
#0C2003
secondary
#4D1B64
accent
#2FF9BA
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0C2003

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

Preview Lab → · Contrast checker → · Palette generator →

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