#0C2201#0C2201

#0C2201 is a very dark, moderate green. Relative luminance 0.012; OKLCH L 22.5% C 0.065 H 136.0°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#0C2201
RGBrgb(12, 34, 1)
HSLhsl(100, 94%, 7%)
HSVhsv(100, 97%, 13%)
CMYKcmyk(64.7%, 0%, 97.1%, 86.7%)
CIE-LABlab(10.74, -16.41, 15.27)
CIE-LCHlch(10.74, 22.42, 137.06°)
OKLaboklab(22.5% -0.0465 0.0448)
OKLCHoklch(22.5% 0.065 136)
XYZxyz(0.7291, 1.2244, 0.2266)
Luminance0.0122 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2201 #170122
analogous
#1D2201 #0C2201 #012207
triadic
#0C2201 #010C22 #22010C
tetradic
#0C2201 #011D22 #170122 #220701
square
#0C2201 #011D22 #170122 #220701
split-complementary
#0C2201 #070122 #22011D
monochromatic
#0A1E01 #0A1E01 #0C2201 #215D03 #369904

Accessibility & contrast

On white

16.87
#0C2201 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0C2201 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2201
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2201#FFFFFF#000000##FFFFFF
##0C22011.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241E00
Deuteranopia (green-blind)
#211C03
Tritanopia (blue-blind)
#0B201B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0c2201;
/* rgb */ color: rgb(12, 34, 1);
/* oklch */ color: oklch(22.5% 0.065 136.0);
Tailwind
colors: {
  custom: {
    50: '#4c5d47',
    500: '#0c2201',
    950: '#000000',
  },
}
SCSS
$custom: #0c2201;
$custom-light: #4c5d47;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2201",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 1
  },
  "hsl": {
    "h": 100,
    "s": 94.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.22498,
    "c": 0.06456,
    "h": 136
  },
  "luminance": 0.01224
}

Semantic roles & 50–950 ramp

primary
#0C2201
secondary
#4D1669
accent
#29FFB8
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#010400
muted
#777977

Preview Lab

Preview with #0C2201

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

Preview Lab → · Contrast checker → · Palette generator →

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