#0C2202#0C2202

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

Color values

HEX#0C2202
RGBrgb(12, 34, 2)
HSLhsl(101, 89%, 7%)
HSVhsv(101, 94%, 13%)
CMYKcmyk(64.7%, 0%, 94.1%, 86.7%)
CIE-LABlab(10.75, -16.25, 14.88)
CIE-LCHlch(10.75, 22.04, 137.52°)
OKLaboklab(22.52% -0.0458 0.0432)
OKLCHoklch(22.52% 0.063 136.6)
XYZxyz(0.7346, 1.2265, 0.2555)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2202 #180222
analogous
#1C2202 #0C2202 #022208
triadic
#0C2202 #020C22 #22020C
tetradic
#0C2202 #021C22 #180222 #220802
square
#0C2202 #021C22 #180222 #220802
split-complementary
#0C2202 #080222 #22021C
monochromatic
#0A1D02 #0A1D02 #0C2202 #205C05 #359609

Accessibility & contrast

On white

16.86
#0C2202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0C2202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2202
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2202#FFFFFF#000000##FFFFFF
##0C22021.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2202;
/* rgb */ color: rgb(12, 34, 2);
/* oklch */ color: oklch(22.5% 0.063 136.6);
Tailwind
colors: {
  custom: {
    50: '#4c5d47',
    500: '#0c2202',
    950: '#000000',
  },
}
SCSS
$custom: #0c2202;
$custom-light: #4c5d47;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2202",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 2
  },
  "hsl": {
    "h": 101.25,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22516,
    "c": 0.06299,
    "h": 136.6
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#0C2202
secondary
#4F1868
accent
#29FFBC
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0C2202

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

Preview Lab → · Contrast checker → · Palette generator →

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