#0C4224#0C4224

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

Color values

HEX#0C4224
RGBrgb(12, 66, 36)
HSLhsl(147, 69%, 15%)
HSVhsv(147, 82%, 26%)
CMYKcmyk(81.8%, 0%, 45.5%, 74.1%)
CIE-LABlab(24.00, -25.38, 13.42)
CIE-LCHlch(24.00, 28.71, 152.12°)
OKLaboklab(33.62% -0.0684 0.0334)
OKLCHoklch(33.62% 0.076 154)
XYZxyz(2.4181, 4.1017, 2.3330)
Luminance0.0410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4224 #420C2A
analogous
#0F420C #0C4224 #0C423F
triadic
#0C4224 #240C42 #42240C
tetradic
#0C4224 #0C0F42 #420C2A #423F0C
square
#0C4224 #0C0F42 #420C2A #423F0C
split-complementary
#0C4224 #3F0C42 #420C0F
monochromatic
#051A0E #051A0E #0C4224 #157640 #1FAA5C

Accessibility & contrast

On white

11.54
#0C4224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4224
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4224#FFFFFF#000000##FFFFFF
##0C42241.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C22
Deuteranopia (green-blind)
#3B3726
Tritanopia (blue-blind)
#00413B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c4224;
/* rgb */ color: rgb(12, 66, 36);
/* oklch */ color: oklch(33.6% 0.076 154.0);
Tailwind
colors: {
  custom: {
    50: '#54775f',
    500: '#0c4224',
    950: '#000000',
  },
}
SCSS
$custom: #0c4224;
$custom-light: #54775f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4224",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 36
  },
  "hsl": {
    "h": 146.667,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33621,
    "c": 0.07615,
    "h": 154
  },
  "luminance": 0.04102
}

Semantic roles & 50–950 ramp

primary
#0C4224
secondary
#7E2C59
accent
#3C9EEC
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C4224

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

Preview Lab → · Contrast checker → · Palette generator →

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