#0C4623#0C4623

#0C4623 is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.9% C 0.084 H 151.9°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#0C4623
RGBrgb(12, 70, 35)
HSLhsl(144, 71%, 16%)
HSVhsv(144, 83%, 27%)
CMYKcmyk(82.9%, 0%, 50%, 72.5%)
CIE-LABlab(25.50, -27.37, 15.99)
CIE-LCHlch(25.50, 31.70, 149.70°)
OKLaboklab(34.85% -0.0736 0.0394)
OKLCHoklch(34.85% 0.084 151.9)
XYZxyz(2.6449, 4.5795, 2.3343)
Luminance0.0458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4623 #460C2F
analogous
#12460C #0C4623 #0C4640
triadic
#0C4623 #230C46 #46230C
tetradic
#0C4623 #0C1246 #460C2F #46400C
square
#0C4623 #0C1246 #460C2F #46400C
split-complementary
#0C4623 #400C46 #460C12
monochromatic
#041A0D #041A0D #0C4623 #157A3D #1EAE57

Accessibility & contrast

On white

10.96
#0C4623 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#0C4623 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4623
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4623#FFFFFF#000000##FFFFFF
##0C46231.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F20
Deuteranopia (green-blind)
#3F3A25
Tritanopia (blue-blind)
#00453E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4623;
/* rgb */ color: rgb(12, 70, 35);
/* oklch */ color: oklch(34.9% 0.084 151.9);
Tailwind
colors: {
  custom: {
    50: '#557a5e',
    500: '#0c4623',
    950: '#000000',
  },
}
SCSS
$custom: #0c4623;
$custom-light: #557a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4623",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 35
  },
  "hsl": {
    "h": 143.793,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34851,
    "c": 0.0835,
    "h": 151.9
  },
  "luminance": 0.0458
}

Semantic roles & 50–950 ramp

primary
#0C4623
secondary
#822C60
accent
#3AA6ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4623

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

Preview Lab → · Contrast checker → · Palette generator →

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