#0C4422#0C4422

#0C4422 is a dark, moderate green. Relative luminance 0.043; OKLCH L 34.2% C 0.081 H 151.9°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#0C4422
RGBrgb(12, 68, 34)
HSLhsl(144, 70%, 16%)
HSVhsv(144, 82%, 27%)
CMYKcmyk(82.4%, 0%, 50%, 73.3%)
CIE-LABlab(24.73, -26.70, 15.61)
CIE-LCHlch(24.73, 30.93, 149.69°)
OKLaboklab(34.2% -0.0719 0.0384)
OKLCHoklch(34.2% 0.081 151.9)
XYZxyz(2.5073, 4.3276, 2.2162)
Luminance0.0433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4422 #440C2E
analogous
#12440C #0C4422 #0C443E
triadic
#0C4422 #220C44 #44220C
tetradic
#0C4422 #0C1244 #440C2E #443E0C
square
#0C4422 #0C1244 #440C2E #443E0C
split-complementary
#0C4422 #3E0C44 #440C12
monochromatic
#051A0D #051A0D #0C4422 #15783C #1EAC56

Accessibility & contrast

On white

11.26
#0C4422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#0C4422 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4422
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4422#FFFFFF#000000##FFFFFF
##0C44221.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E1F
Deuteranopia (green-blind)
#3E3924
Tritanopia (blue-blind)
#00433C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c4422;
/* rgb */ color: rgb(12, 68, 34);
/* oklch */ color: oklch(34.2% 0.081 151.9);
Tailwind
colors: {
  custom: {
    50: '#55785d',
    500: '#0c4422',
    950: '#000000',
  },
}
SCSS
$custom: #0c4422;
$custom-light: #55785d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4422",
  "rgb": {
    "r": 12,
    "g": 68,
    "b": 34
  },
  "hsl": {
    "h": 143.571,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34204,
    "c": 0.08149,
    "h": 151.9
  },
  "luminance": 0.04328
}

Semantic roles & 50–950 ramp

primary
#0C4422
secondary
#802C5F
accent
#3BA7ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4422

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

Preview Lab → · Contrast checker → · Palette generator →

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