#0C4322#0C4322

#0C4322 is a dark, moderate green. Relative luminance 0.042; OKLCH L 33.9% C 0.080 H 152.2°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#0C4322
RGBrgb(12, 67, 34)
HSLhsl(144, 70%, 15%)
HSVhsv(144, 82%, 26%)
CMYKcmyk(82.1%, 0%, 49.3%, 73.7%)
CIE-LABlab(24.35, -26.26, 15.12)
CIE-LCHlch(24.35, 30.30, 150.07°)
OKLaboklab(33.89% -0.0707 0.0373)
OKLCHoklch(33.89% 0.08 152.2)
XYZxyz(2.4473, 4.2077, 2.1962)
Luminance0.0421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4322 #430C2D
analogous
#11430C #0C4322 #0C433D
triadic
#0C4322 #220C43 #43220C
tetradic
#0C4322 #0C1143 #430C2D #433D0C
square
#0C4322 #0C1143 #430C2D #433D0C
split-complementary
#0C4322 #3D0C43 #430C11
monochromatic
#051A0D #051A0D #0C4322 #15773C #1FAB57

Accessibility & contrast

On white

11.40
#0C4322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#0C4322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4322
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4322#FFFFFF#000000##FFFFFF
##0C43221.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D20
Deuteranopia (green-blind)
#3D3824
Tritanopia (blue-blind)
#00423B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c4322;
/* rgb */ color: rgb(12, 67, 34);
/* oklch */ color: oklch(33.9% 0.080 152.2);
Tailwind
colors: {
  custom: {
    50: '#55785d',
    500: '#0c4322',
    950: '#000000',
  },
}
SCSS
$custom: #0c4322;
$custom-light: #55785d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4322",
  "rgb": {
    "r": 12,
    "g": 67,
    "b": 34
  },
  "hsl": {
    "h": 144,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33891,
    "c": 0.07994,
    "h": 152.2
  },
  "luminance": 0.04208
}

Semantic roles & 50–950 ramp

primary
#0C4322
secondary
#7F2C5E
accent
#3BA6EC
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4322

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

Preview Lab → · Contrast checker → · Palette generator →

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