#0C4724#0C4724

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

Color values

HEX#0C4724
RGBrgb(12, 71, 36)
HSLhsl(144, 71%, 16%)
HSVhsv(144, 83%, 28%)
CMYKcmyk(83.1%, 0%, 49.3%, 72.2%)
CIE-LABlab(25.90, -27.60, 15.89)
CIE-LCHlch(25.90, 31.84, 150.06°)
OKLaboklab(35.18% -0.0742 0.0392)
OKLCHoklch(35.18% 0.084 152.2)
XYZxyz(2.7231, 4.7117, 2.4347)
Luminance0.0471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4724 #470C2F
analogous
#12470C #0C4724 #0C4742
triadic
#0C4724 #240C47 #47240C
tetradic
#0C4724 #0C1247 #470C2F #47420C
square
#0C4724 #0C1247 #470C2F #47420C
split-complementary
#0C4724 #420C47 #470C12
monochromatic
#041A0D #041A0D #0C4724 #157B3F #1EB059

Accessibility & contrast

On white

10.81
#0C4724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4724
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4724#FFFFFF#000000##FFFFFF
##0C47241.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4724;
/* rgb */ color: rgb(12, 71, 36);
/* oklch */ color: oklch(35.2% 0.084 152.2);
Tailwind
colors: {
  custom: {
    50: '#567b5f',
    500: '#0c4724',
    950: '#000000',
  },
}
SCSS
$custom: #0c4724;
$custom-light: #567b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4724",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 36
  },
  "hsl": {
    "h": 144.407,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35183,
    "c": 0.08394,
    "h": 152.2
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#0C4724
secondary
#832C60
accent
#3AA5EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4724

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

Preview Lab → · Contrast checker → · Palette generator →

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