#0C3A22#0C3A22

#0C3A22 is a dark, moderate green. Relative luminance 0.032; OKLCH L 31.1% C 0.066 H 156.1°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#0C3A22
RGBrgb(12, 58, 34)
HSLhsl(149, 66%, 14%)
HSVhsv(149, 79%, 23%)
CMYKcmyk(79.3%, 0%, 41.4%, 77.3%)
CIE-LABlab(20.90, -22.11, 10.58)
CIE-LCHlch(20.90, 24.51, 154.43°)
OKLaboklab(31.05% -0.0599 0.0266)
OKLCHoklch(31.05% 0.066 156.1)
XYZxyz(1.9532, 3.2196, 2.0316)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3A22 #3A0C24
analogous
#0D3A0C #0C3A22 #0C3A39
triadic
#0C3A22 #220C3A #3A220C
tetradic
#0C3A22 #0C0D3A #3A0C24 #3A390C
square
#0C3A22 #0C0D3A #3A0C24 #3A390C
split-complementary
#0C3A22 #390C3A #3A0C0D
monochromatic
#05190F #05190F #0C3A22 #166D40 #219F5D

Accessibility & contrast

On white

12.77
#0C3A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#0C3A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3A22
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3A22#FFFFFF#000000##FFFFFF
##0C3A221.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3520
Deuteranopia (green-blind)
#343124
Tritanopia (blue-blind)
#003934
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0c3a22;
/* rgb */ color: rgb(12, 58, 34);
/* oklch */ color: oklch(31.1% 0.066 156.1);
Tailwind
colors: {
  custom: {
    50: '#52705d',
    500: '#0c3a22',
    950: '#000000',
  },
}
SCSS
$custom: #0c3a22;
$custom-light: #52705d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3a22",
  "rgb": {
    "r": 12,
    "g": 58,
    "b": 34
  },
  "hsl": {
    "h": 148.696,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31052,
    "c": 0.0655,
    "h": 156.1
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#0C3A22
secondary
#762C53
accent
#3F98E9
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #0C3A22

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

Preview Lab → · Contrast checker → · Palette generator →

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