#0C4726#0C4726

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

Color values

HEX#0C4726
RGBrgb(12, 71, 38)
HSLhsl(146, 71%, 16%)
HSVhsv(146, 83%, 28%)
CMYKcmyk(83.1%, 0%, 46.5%, 72.2%)
CIE-LABlab(25.93, -27.17, 14.71)
CIE-LCHlch(25.93, 30.90, 151.57°)
OKLaboklab(35.23% -0.0732 0.0365)
OKLCHoklch(35.23% 0.082 153.5)
XYZxyz(2.7545, 4.7243, 2.6001)
Luminance0.0473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4726 #470C2D
analogous
#10470C #0C4726 #0C4744
triadic
#0C4726 #260C47 #47260C
tetradic
#0C4726 #0C1047 #470C2D #47440C
square
#0C4726 #0C1047 #470C2D #47440C
split-complementary
#0C4726 #440C47 #470C10
monochromatic
#041A0E #041A0E #0C4726 #157B42 #1EB05E

Accessibility & contrast

On white

10.80
#0C4726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4726
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4726#FFFFFF#000000##FFFFFF
##0C47261.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4726;
/* rgb */ color: rgb(12, 71, 38);
/* oklch */ color: oklch(35.2% 0.082 153.5);
Tailwind
colors: {
  custom: {
    50: '#567b60',
    500: '#0c4726',
    950: '#000000',
  },
}
SCSS
$custom: #0c4726;
$custom-light: #567b60;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4726",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 38
  },
  "hsl": {
    "h": 146.441,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35226,
    "c": 0.08176,
    "h": 153.5
  },
  "luminance": 0.04725
}

Semantic roles & 50–950 ramp

primary
#0C4726
secondary
#832C5D
accent
#3A9FEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030905
muted
#787B79

Preview Lab

Preview with #0C4726

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

Preview Lab → · Contrast checker → · Palette generator →

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