#0C220A#0C220A

#0C220A is a very dark, muted green. Relative luminance 0.012; OKLCH L 22.7% C 0.052 H 142.1°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#0C220A
RGBrgb(12, 34, 10)
HSLhsl(115, 55%, 9%)
HSVhsv(115, 71%, 13%)
CMYKcmyk(64.7%, 0%, 70.6%, 86.7%)
CIE-LABlab(10.88, -15.01, 11.80)
CIE-LCHlch(10.88, 19.09, 141.81°)
OKLaboklab(22.66% -0.0411 0.032)
OKLCHoklch(22.66% 0.052 142.1)
XYZxyz(0.7784, 1.2441, 0.4862)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C220A #200A22
analogous
#18220A #0C220A #0A2214
triadic
#0C220A #0A0C22 #220A0C
tetradic
#0C220A #0A1822 #200A22 #22140A
square
#0C220A #0A1822 #200A22 #22140A
split-complementary
#0C220A #140A22 #220A18
monochromatic
#081807 #081807 #0C220A #1D5118 #2D8126

Accessibility & contrast

On white

16.82
#0C220A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C220A
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C220A#FFFFFF#000000##FFFFFF
##0C220A1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E08
Deuteranopia (green-blind)
#201C0C
Tritanopia (blue-blind)
#09211D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0c220a;
/* rgb */ color: rgb(12, 34, 10);
/* oklch */ color: oklch(22.7% 0.052 142.1);
Tailwind
colors: {
  custom: {
    50: '#4c5d4b',
    500: '#0c220a',
    950: '#000000',
  },
}
SCSS
$custom: #0c220a;
$custom-light: #4c5d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c220a",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 10
  },
  "hsl": {
    "h": 115,
    "s": 54.545,
    "l": 8.627
  },
  "oklch": {
    "l": 0.22661,
    "c": 0.05211,
    "h": 142.1
  },
  "luminance": 0.01244
}

Semantic roles & 50–950 ramp

primary
#0C220A
secondary
#5A2A5E
accent
#4ADED2
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010401
muted
#777977

Preview Lab

Preview with #0C220A

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

Preview Lab → · Contrast checker → · Palette generator →

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