#0C3E22#0C3E22

#0C3E22 is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.3% C 0.072 H 154.1°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#0C3E22
RGBrgb(12, 62, 34)
HSLhsl(146, 68%, 15%)
HSVhsv(146, 81%, 24%)
CMYKcmyk(80.6%, 0%, 45.2%, 75.7%)
CIE-LABlab(22.44, -24.00, 12.63)
CIE-LCHlch(22.44, 27.12, 152.25°)
OKLaboklab(32.32% -0.0648 0.0315)
OKLCHoklch(32.32% 0.072 154.1)
XYZxyz(2.1628, 3.6387, 2.1014)
Luminance0.0364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3E22 #3E0C28
analogous
#0F3E0C #0C3E22 #0C3E3B
triadic
#0C3E22 #220C3E #3E220C
tetradic
#0C3E22 #0C0F3E #3E0C28 #3E3B0C
square
#0C3E22 #0C0F3E #3E0C28 #3E3B0C
split-complementary
#0C3E22 #3B0C3E #3E0C0F
monochromatic
#051A0E #051A0E #0C3E22 #16713E #20A55A

Accessibility & contrast

On white

12.15
#0C3E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#0C3E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3E22
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3E22#FFFFFF#000000##FFFFFF
##0C3E221.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3820
Deuteranopia (green-blind)
#383424
Tritanopia (blue-blind)
#003D37
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0c3e22;
/* rgb */ color: rgb(12, 62, 34);
/* oklch */ color: oklch(32.3% 0.072 154.1);
Tailwind
colors: {
  custom: {
    50: '#53745d',
    500: '#0c3e22',
    950: '#000000',
  },
}
SCSS
$custom: #0c3e22;
$custom-light: #53745d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3e22",
  "rgb": {
    "r": 12,
    "g": 62,
    "b": 34
  },
  "hsl": {
    "h": 146.4,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32317,
    "c": 0.07201,
    "h": 154.1
  },
  "luminance": 0.03639
}

Semantic roles & 50–950 ramp

primary
#0C3E22
secondary
#7A2C58
accent
#3D9EEA
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C3E22

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

Preview Lab → · Contrast checker → · Palette generator →

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