#0C4423#0C4423

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

Color values

HEX#0C4423
RGBrgb(12, 68, 35)
HSLhsl(145, 70%, 16%)
HSVhsv(145, 82%, 27%)
CMYKcmyk(82.4%, 0%, 48.5%, 73.3%)
CIE-LABlab(24.74, -26.49, 15.02)
CIE-LCHlch(24.74, 30.45, 150.45°)
OKLaboklab(34.23% -0.0713 0.0371)
OKLCHoklch(34.23% 0.08 152.5)
XYZxyz(2.5219, 4.3335, 2.2933)
Luminance0.0433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4423 #440C2D
analogous
#11440C #0C4423 #0C443F
triadic
#0C4423 #230C44 #44230C
tetradic
#0C4423 #0C1144 #440C2D #443F0C
square
#0C4423 #0C1144 #440C2D #443F0C
split-complementary
#0C4423 #3F0C44 #440C11
monochromatic
#051A0D #051A0D #0C4423 #15783E #1EAC59

Accessibility & contrast

On white

11.25
#0C4423 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4423
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4423#FFFFFF#000000##FFFFFF
##0C44231.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4423;
/* rgb */ color: rgb(12, 68, 35);
/* oklch */ color: oklch(34.2% 0.080 152.5);
Tailwind
colors: {
  custom: {
    50: '#55785e',
    500: '#0c4423',
    950: '#000000',
  },
}
SCSS
$custom: #0c4423;
$custom-light: #55785e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4423",
  "rgb": {
    "r": 12,
    "g": 68,
    "b": 35
  },
  "hsl": {
    "h": 144.643,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34225,
    "c": 0.0804,
    "h": 152.5
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#0C4423
secondary
#802C5D
accent
#3BA4ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4423

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

Preview Lab → · Contrast checker → · Palette generator →

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