#0C4725#0C4725

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

Color values

HEX#0C4725
RGBrgb(12, 71, 37)
HSLhsl(145, 71%, 16%)
HSVhsv(145, 83%, 28%)
CMYKcmyk(83.1%, 0%, 47.9%, 72.2%)
CIE-LABlab(25.92, -27.39, 15.30)
CIE-LCHlch(25.92, 31.37, 150.81°)
OKLaboklab(35.21% -0.0737 0.0378)
OKLCHoklch(35.21% 0.083 152.8)
XYZxyz(2.7385, 4.7179, 2.5162)
Luminance0.0472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4725 #470C2E
analogous
#11470C #0C4725 #0C4743
triadic
#0C4725 #250C47 #47250C
tetradic
#0C4725 #0C1147 #470C2E #47430C
square
#0C4725 #0C1147 #470C2E #47430C
split-complementary
#0C4725 #430C47 #470C11
monochromatic
#041A0E #041A0E #0C4725 #157B40 #1EB05C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C4725#FFFFFF#000000##FFFFFF
##0C47251.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4725;
/* rgb */ color: rgb(12, 71, 37);
/* oklch */ color: oklch(35.2% 0.083 152.8);
Tailwind
colors: {
  custom: {
    50: '#567b60',
    500: '#0c4725',
    950: '#000000',
  },
}
SCSS
$custom: #0c4725;
$custom-light: #567b60;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4725",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 37
  },
  "hsl": {
    "h": 145.424,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35205,
    "c": 0.08286,
    "h": 152.8
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#0C4725
secondary
#832C5E
accent
#3AA2EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4725

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

Preview Lab → · Contrast checker → · Palette generator →

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