#0C4627#0C4627

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

Color values

HEX#0C4627
RGBrgb(12, 70, 39)
HSLhsl(148, 71%, 16%)
HSVhsv(148, 83%, 27%)
CMYKcmyk(82.9%, 0%, 44.3%, 72.5%)
CIE-LABlab(25.58, -26.51, 13.62)
CIE-LCHlch(25.58, 29.80, 152.81°)
OKLaboklab(34.94% -0.0715 0.0339)
OKLCHoklch(34.94% 0.079 154.6)
XYZxyz(2.7077, 4.6046, 2.6651)
Luminance0.0461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4627 #460C2B
analogous
#0E460C #0C4627 #0C4644
triadic
#0C4627 #270C46 #46270C
tetradic
#0C4627 #0C0E46 #460C2B #46440C
square
#0C4627 #0C0E46 #460C2B #46440C
split-complementary
#0C4627 #440C46 #460C0E
monochromatic
#041A0F #041A0F #0C4627 #157A44 #1EAE61

Accessibility & contrast

On white

10.93
#0C4627 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4627
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4627#FFFFFF#000000##FFFFFF
##0C46271.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464025
Deuteranopia (green-blind)
#3F3B29
Tritanopia (blue-blind)
#00453E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4627;
/* rgb */ color: rgb(12, 70, 39);
/* oklch */ color: oklch(34.9% 0.079 154.6);
Tailwind
colors: {
  custom: {
    50: '#557a61',
    500: '#0c4627',
    950: '#000000',
  },
}
SCSS
$custom: #0c4627;
$custom-light: #557a61;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4627",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 39
  },
  "hsl": {
    "h": 147.931,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34938,
    "c": 0.07912,
    "h": 154.6
  },
  "luminance": 0.04605
}

Semantic roles & 50–950 ramp

primary
#0C4627
secondary
#822C5A
accent
#3A9AED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030905
muted
#787B79

Preview Lab

Preview with #0C4627

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

Preview Lab → · Contrast checker → · Palette generator →

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