#0C4720#0C4720

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

Color values

HEX#0C4720
RGBrgb(12, 71, 32)
HSLhsl(140, 71%, 16%)
HSVhsv(140, 83%, 28%)
CMYKcmyk(83.1%, 0%, 54.9%, 72.2%)
CIE-LABlab(25.83, -28.39, 18.22)
CIE-LCHlch(25.83, 33.74, 147.30°)
OKLaboklab(35.1% -0.0763 0.0443)
OKLCHoklch(35.1% 0.088 149.9)
XYZxyz(2.6653, 4.6886, 2.1307)
Luminance0.0469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4720 #470C33
analogous
#16470C #0C4720 #0C473E
triadic
#0C4720 #200C47 #47200C
tetradic
#0C4720 #0C1647 #470C33 #473E0C
square
#0C4720 #0C1647 #470C33 #473E0C
split-complementary
#0C4720 #3E0C47 #470C16
monochromatic
#041A0C #041A0C #0C4720 #157B38 #1EB04F

Accessibility & contrast

On white

10.84
#0C4720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4720
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4720#FFFFFF#000000##FFFFFF
##0C47201.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401D
Deuteranopia (green-blind)
#413B23
Tritanopia (blue-blind)
#00463E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4720;
/* rgb */ color: rgb(12, 71, 32);
/* oklch */ color: oklch(35.1% 0.088 149.9);
Tailwind
colors: {
  custom: {
    50: '#567b5c',
    500: '#0c4720',
    950: '#000000',
  },
}
SCSS
$custom: #0c4720;
$custom-light: #567b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4720",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 32
  },
  "hsl": {
    "h": 140.339,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35104,
    "c": 0.08826,
    "h": 149.9
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#0C4720
secondary
#832C65
accent
#3AB1EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4720

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

Preview Lab → · Contrast checker → · Palette generator →

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