#0C3C22#0C3C22

#0C3C22 is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.7% C 0.069 H 155.0°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#0C3C22
RGBrgb(12, 60, 34)
HSLhsl(148, 67%, 14%)
HSVhsv(148, 80%, 24%)
CMYKcmyk(80%, 0%, 43.3%, 76.5%)
CIE-LABlab(21.67, -23.06, 11.61)
CIE-LCHlch(21.67, 25.82, 153.28°)
OKLaboklab(31.69% -0.0623 0.029)
OKLCHoklch(31.69% 0.069 155)
XYZxyz(2.0560, 3.4251, 2.0658)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3C22 #3C0C26
analogous
#0E3C0C #0C3C22 #0C3C3A
triadic
#0C3C22 #220C3C #3C220C
tetradic
#0C3C22 #0C0E3C #3C0C26 #3C3A0C
square
#0C3C22 #0C0E3C #3C0C26 #3C3A0C
split-complementary
#0C3C22 #3A0C3C #3C0C0E
monochromatic
#051A0E #051A0E #0C3C22 #166F3F #20A25C

Accessibility & contrast

On white

12.46
#0C3C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#0C3C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3C22
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3C22#FFFFFF#000000##FFFFFF
##0C3C221.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3620
Deuteranopia (green-blind)
#363224
Tritanopia (blue-blind)
#003B35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0c3c22;
/* rgb */ color: rgb(12, 60, 34);
/* oklch */ color: oklch(31.7% 0.069 155.0);
Tailwind
colors: {
  custom: {
    50: '#53725d',
    500: '#0c3c22',
    950: '#000000',
  },
}
SCSS
$custom: #0c3c22;
$custom-light: #53725d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3c22",
  "rgb": {
    "r": 12,
    "g": 60,
    "b": 34
  },
  "hsl": {
    "h": 147.5,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31685,
    "c": 0.06877,
    "h": 155
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#0C3C22
secondary
#782C55
accent
#3E9BEA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C3C22

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

Preview Lab → · Contrast checker → · Palette generator →

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