#0C571A#0C571A

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

Color values

HEX#0C571A
RGBrgb(12, 87, 26)
HSLhsl(131, 76%, 19%)
HSVhsv(131, 86%, 34%)
CMYKcmyk(86.2%, 0%, 70.1%, 65.9%)
CIE-LABlab(31.74, -35.60, 28.46)
CIE-LCHlch(31.74, 45.58, 141.36°)
OKLaboklab(39.98% -0.0959 0.0661)
OKLCHoklch(39.98% 0.117 145.4)
XYZxyz(3.7460, 6.9687, 2.1247)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C571A #570C49
analogous
#24570C #0C571A #0C5740
triadic
#0C571A #1A0C57 #571A0C
tetradic
#0C571A #0C2457 #570C49 #57400C
square
#0C571A #0C2457 #570C49 #57400C
split-complementary
#0C571A #400C57 #570C24
monochromatic
#041B08 #05210A #0C571A #138D2A #1BC33A

Accessibility & contrast

On white

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

On black

2.39
#0C571A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0C571A#FFFFFF#000000##FFFFFF
##0C571A1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E12
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#00554A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c571a;
/* rgb */ color: rgb(12, 87, 26);
/* oklch */ color: oklch(40.0% 0.117 145.4);
Tailwind
colors: {
  custom: {
    50: '#5b8759',
    500: '#0c571a',
    950: '#000000',
  },
}
SCSS
$custom: #0c571a;
$custom-light: #5b8759;
$custom-dark: #000000;
JSON
{
  "hex": "#0c571a",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 131.2,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39977,
    "c": 0.11653,
    "h": 145.4
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#0C571A
secondary
#922D7F
accent
#35CFF2
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C571A

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

Preview Lab → · Contrast checker → · Palette generator →

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