#0C4727#0C4727

#0C4727 is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.2% C 0.081 H 154.2°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#0C4727
RGBrgb(12, 71, 39)
HSLhsl(147, 71%, 16%)
HSVhsv(147, 83%, 28%)
CMYKcmyk(83.1%, 0%, 45.1%, 72.2%)
CIE-LABlab(25.95, -26.95, 14.11)
CIE-LCHlch(25.95, 30.42, 152.36°)
OKLaboklab(35.25% -0.0726 0.0351)
OKLCHoklch(35.25% 0.081 154.2)
XYZxyz(2.7708, 4.7308, 2.6862)
Luminance0.0473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4727 #470C2C
analogous
#0F470C #0C4727 #0C4745
triadic
#0C4727 #270C47 #47270C
tetradic
#0C4727 #0C0F47 #470C2C #47450C
square
#0C4727 #0C0F47 #470C2C #47450C
split-complementary
#0C4727 #450C47 #470C0F
monochromatic
#041A0E #041A0E #0C4727 #157B44 #1EB061

Accessibility & contrast

On white

10.79
#0C4727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0C4727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4727
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4727#FFFFFF#000000##FFFFFF
##0C47271.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474025
Deuteranopia (green-blind)
#403B29
Tritanopia (blue-blind)
#00463F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4727;
/* rgb */ color: rgb(12, 71, 39);
/* oklch */ color: oklch(35.2% 0.081 154.2);
Tailwind
colors: {
  custom: {
    50: '#567b61',
    500: '#0c4727',
    950: '#000000',
  },
}
SCSS
$custom: #0c4727;
$custom-light: #567b61;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4727",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 39
  },
  "hsl": {
    "h": 147.458,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35249,
    "c": 0.08068,
    "h": 154.2
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#0C4727
secondary
#832C5B
accent
#3A9CEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030905
muted
#787B79

Preview Lab

Preview with #0C4727

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

Preview Lab → · Contrast checker → · Palette generator →

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