#0C4722#0C4722

#0C4722 is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.1% C 0.086 H 151.0°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#0C4722
RGBrgb(12, 71, 34)
HSLhsl(142, 71%, 16%)
HSVhsv(142, 83%, 28%)
CMYKcmyk(83.1%, 0%, 52.1%, 72.2%)
CIE-LABlab(25.86, -28.00, 17.06)
CIE-LCHlch(25.86, 32.79, 148.64°)
OKLaboklab(35.14% -0.0753 0.0418)
OKLCHoklch(35.14% 0.086 151)
XYZxyz(2.6934, 4.6998, 2.2783)
Luminance0.0470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4722 #470C31
analogous
#14470C #0C4722 #0C4740
triadic
#0C4722 #220C47 #47220C
tetradic
#0C4722 #0C1447 #470C31 #47400C
square
#0C4722 #0C1447 #470C31 #47400C
split-complementary
#0C4722 #400C47 #470C14
monochromatic
#041A0D #041A0D #0C4722 #157B3B #1EB054

Accessibility & contrast

On white

10.82
#0C4722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#0C4722 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4722
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4722#FFFFFF#000000##FFFFFF
##0C47221.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401F
Deuteranopia (green-blind)
#403B25
Tritanopia (blue-blind)
#00463E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4722;
/* rgb */ color: rgb(12, 71, 34);
/* oklch */ color: oklch(35.1% 0.086 151.0);
Tailwind
colors: {
  custom: {
    50: '#567b5d',
    500: '#0c4722',
    950: '#000000',
  },
}
SCSS
$custom: #0c4722;
$custom-light: #567b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4722",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 34
  },
  "hsl": {
    "h": 142.373,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35143,
    "c": 0.08611,
    "h": 151
  },
  "luminance": 0.047
}

Semantic roles & 50–950 ramp

primary
#0C4722
secondary
#832C62
accent
#3AABEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4722

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

Preview Lab → · Contrast checker → · Palette generator →

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