#0C4222#0C4222

#0C4222 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.6% C 0.078 H 152.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#0C4222
RGBrgb(12, 66, 34)
HSLhsl(144, 69%, 15%)
HSVhsv(144, 82%, 26%)
CMYKcmyk(81.8%, 0%, 48.5%, 74.1%)
CIE-LABlab(23.97, -25.82, 14.63)
CIE-LCHlch(23.97, 29.67, 150.46°)
OKLaboklab(33.58% -0.0695 0.0362)
OKLCHoklch(33.58% 0.078 152.5)
XYZxyz(2.3884, 4.0898, 2.1766)
Luminance0.0409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4222 #420C2C
analogous
#11420C #0C4222 #0C423D
triadic
#0C4222 #220C42 #42220C
tetradic
#0C4222 #0C1142 #420C2C #423D0C
square
#0C4222 #0C1142 #420C2C #423D0C
split-complementary
#0C4222 #3D0C42 #420C11
monochromatic
#051A0D #051A0D #0C4222 #15763D #1FAA57

Accessibility & contrast

On white

11.55
#0C4222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#0C4222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4222
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4222#FFFFFF#000000##FFFFFF
##0C42221.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C20
Deuteranopia (green-blind)
#3C3724
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c4222;
/* rgb */ color: rgb(12, 66, 34);
/* oklch */ color: oklch(33.6% 0.078 152.5);
Tailwind
colors: {
  custom: {
    50: '#54775d',
    500: '#0c4222',
    950: '#000000',
  },
}
SCSS
$custom: #0c4222;
$custom-light: #54775d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4222",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 34
  },
  "hsl": {
    "h": 144.444,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33577,
    "c": 0.07837,
    "h": 152.5
  },
  "luminance": 0.0409
}

Semantic roles & 50–950 ramp

primary
#0C4222
secondary
#7E2C5D
accent
#3CA4EC
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C4222

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

Preview Lab → · Contrast checker → · Palette generator →

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