#0C4C22#0C4C22

#0C4C22 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.7% C 0.094 H 149.8°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#0C4C22
RGBrgb(12, 76, 34)
HSLhsl(141, 73%, 17%)
HSVhsv(141, 84%, 30%)
CMYKcmyk(84.2%, 0%, 55.3%, 70.2%)
CIE-LABlab(27.74, -30.10, 19.43)
CIE-LCHlch(27.74, 35.83, 147.16°)
OKLaboklab(36.7% -0.0809 0.0472)
OKLCHoklch(36.7% 0.094 149.8)
XYZxyz(3.0245, 5.3622, 2.3887)
Luminance0.0536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4C22 #4C0C36
analogous
#164C0C #0C4C22 #0C4C42
triadic
#0C4C22 #220C4C #4C220C
tetradic
#0C4C22 #0C164C #4C0C36 #4C420C
square
#0C4C22 #0C164C #4C0C36 #4C420C
split-complementary
#0C4C22 #420C4C #4C0C16
monochromatic
#041A0C #041A0C #0C4C22 #14813A #1DB651

Accessibility & contrast

On white

10.13
#0C4C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#0C4C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4C22
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4C22#FFFFFF#000000##FFFFFF
##0C4C221.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451E
Deuteranopia (green-blind)
#453F25
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4c22;
/* rgb */ color: rgb(12, 76, 34);
/* oklch */ color: oklch(36.7% 0.094 149.8);
Tailwind
colors: {
  custom: {
    50: '#577f5e',
    500: '#0c4c22',
    950: '#000000',
  },
}
SCSS
$custom: #0c4c22;
$custom-light: #577f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4c22",
  "rgb": {
    "r": 12,
    "g": 76,
    "b": 34
  },
  "hsl": {
    "h": 140.625,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36699,
    "c": 0.09363,
    "h": 149.8
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#0C4C22
secondary
#882C68
accent
#38B1EF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4C22

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

Preview Lab → · Contrast checker → · Palette generator →

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