#0C2002#0C2002

#0C2002 is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.8% C 0.060 H 135.9°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#0C2002
RGBrgb(12, 32, 2)
HSLhsl(100, 88%, 7%)
HSVhsv(100, 94%, 13%)
CMYKcmyk(62.5%, 0%, 93.8%, 87.5%)
CIE-LABlab(9.92, -14.93, 13.71)
CIE-LCHlch(9.92, 20.27, 137.45°)
OKLaboklab(21.83% -0.043 0.0416)
OKLCHoklch(21.83% 0.06 135.9)
XYZxyz(0.6791, 1.1155, 0.2370)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2002 #160220
analogous
#1B2002 #0C2002 #022007
triadic
#0C2002 #020C20 #20020C
tetradic
#0C2002 #021B20 #160220 #200702
square
#0C2002 #021B20 #160220 #200702
split-complementary
#0C2002 #070220 #20021B
monochromatic
#0B1D02 #0B1D02 #0C2002 #225A06 #379309

Accessibility & contrast

On white

17.17
#0C2002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2002
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2002#FFFFFF#000000##FFFFFF
##0C20021.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221C00
Deuteranopia (green-blind)
#1F1B04
Tritanopia (blue-blind)
#0B1E1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c2002;
/* rgb */ color: rgb(12, 32, 2);
/* oklch */ color: oklch(21.8% 0.060 135.9);
Tailwind
colors: {
  custom: {
    50: '#4b5b47',
    500: '#0c2002',
    950: '#000000',
  },
}
SCSS
$custom: #0c2002;
$custom-light: #4b5b47;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2002",
  "rgb": {
    "r": 12,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 100,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21831,
    "c": 0.05985,
    "h": 135.9
  },
  "luminance": 0.01116
}

Semantic roles & 50–950 ramp

primary
#0C2002
secondary
#4C1866
accent
#29FEB7
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0C2002

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

Preview Lab → · Contrast checker → · Palette generator →

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