#0C571C#0C571C

#0C571C is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.0% C 0.115 H 146.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#0C571C
RGBrgb(12, 87, 28)
HSLhsl(133, 76%, 19%)
HSVhsv(133, 86%, 34%)
CMYKcmyk(86.2%, 0%, 67.8%, 65.9%)
CIE-LABlab(31.76, -35.34, 27.48)
CIE-LCHlch(31.76, 44.77, 142.13°)
OKLaboklab(40% -0.0952 0.0643)
OKLCHoklch(40% 0.115 146)
XYZxyz(3.7691, 6.9779, 2.2466)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C571C #570C47
analogous
#22570C #0C571C #0C5742
triadic
#0C571C #1C0C57 #571C0C
tetradic
#0C571C #0C2257 #570C47 #57420C
square
#0C571C #0C2257 #570C47 #57420C
split-complementary
#0C571C #420C57 #570C22
monochromatic
#041B09 #05210B #0C571C #138D2D #1BC33F

Accessibility & contrast

On white

8.77
#0C571C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#0C571C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C571C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C571C#FFFFFF#000000##FFFFFF
##0C571C1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E15
Deuteranopia (green-blind)
#504821
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c571c;
/* rgb */ color: rgb(12, 87, 28);
/* oklch */ color: oklch(40.0% 0.115 146.0);
Tailwind
colors: {
  custom: {
    50: '#5b875b',
    500: '#0c571c',
    950: '#000000',
  },
}
SCSS
$custom: #0c571c;
$custom-light: #5b875b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c571c",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 132.8,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40002,
    "c": 0.11484,
    "h": 146
  },
  "luminance": 0.06978
}

Semantic roles & 50–950 ramp

primary
#0C571C
secondary
#922D7C
accent
#35CAF2
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C571C

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

Preview Lab → · Contrast checker → · Palette generator →

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