#0C4427#0C4427

#0C4427 is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.3% C 0.076 H 155.5°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#0C4427
RGBrgb(12, 68, 39)
HSLhsl(149, 70%, 16%)
HSVhsv(149, 82%, 27%)
CMYKcmyk(82.4%, 0%, 42.6%, 73.3%)
CIE-LABlab(24.82, -25.60, 12.61)
CIE-LCHlch(24.82, 28.54, 153.77°)
OKLaboklab(34.32% -0.0691 0.0316)
OKLCHoklch(34.32% 0.076 155.5)
XYZxyz(2.5847, 4.3586, 2.6241)
Luminance0.0436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4427 #440C29
analogous
#0D440C #0C4427 #0C4443
triadic
#0C4427 #270C44 #44270C
tetradic
#0C4427 #0C0D44 #440C29 #44430C
square
#0C4427 #0C0D44 #440C29 #44430C
split-complementary
#0C4427 #430C44 #440C0D
monochromatic
#051A0F #051A0F #0C4427 #157845 #1EAC63

Accessibility & contrast

On white

11.22
#0C4427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4427
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4427#FFFFFF#000000##FFFFFF
##0C44271.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E25
Deuteranopia (green-blind)
#3D3929
Tritanopia (blue-blind)
#00433D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c4427;
/* rgb */ color: rgb(12, 68, 39);
/* oklch */ color: oklch(34.3% 0.076 155.5);
Tailwind
colors: {
  custom: {
    50: '#557861',
    500: '#0c4427',
    950: '#000000',
  },
}
SCSS
$custom: #0c4427;
$custom-light: #557861;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4427",
  "rgb": {
    "r": 12,
    "g": 68,
    "b": 39
  },
  "hsl": {
    "h": 148.929,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34316,
    "c": 0.076,
    "h": 155.5
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#0C4427
secondary
#802C57
accent
#3B97ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030905
muted
#787B79

Preview Lab

Preview with #0C4427

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

Preview Lab → · Contrast checker → · Palette generator →

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