#0C570D#0C570D

#0C570D is a dark, vivid green. Relative luminance 0.069; OKLCH L 39.9% C 0.126 H 142.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#0C570D
RGBrgb(12, 87, 13)
HSLhsl(121, 76%, 19%)
HSVhsv(121, 86%, 34%)
CMYKcmyk(86.2%, 0%, 85.1%, 65.9%)
CIE-LABlab(31.63, -36.89, 33.91)
CIE-LCHlch(31.63, 50.11, 137.41°)
OKLaboklab(39.86% -0.1001 0.0757)
OKLCHoklch(39.86% 0.126 142.9)
XYZxyz(3.6322, 6.9232, 1.5256)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C570D #570C56
analogous
#31570C #0C570D #0C5733
triadic
#0C570D #0D0C57 #570D0C
tetradic
#0C570D #0C3157 #570C56 #57330C
square
#0C570D #0C3157 #570C56 #57330C
split-complementary
#0C570D #330C57 #570C31
monochromatic
#041B04 #052105 #0C570D #138D15 #1BC31D

Accessibility & contrast

On white

8.81
#0C570D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#0C570D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C570D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C570D#FFFFFF#000000##FFFFFF
##0C570D1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#005449
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c570d;
/* rgb */ color: rgb(12, 87, 13);
/* oklch */ color: oklch(39.9% 0.126 142.9);
Tailwind
colors: {
  custom: {
    50: '#5c8752',
    500: '#0c570d',
    950: '#000000',
  },
}
SCSS
$custom: #0c570d;
$custom-light: #5c8752;
$custom-dark: #000000;
JSON
{
  "hex": "#0c570d",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 13
  },
  "hsl": {
    "h": 120.8,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39857,
    "c": 0.12551,
    "h": 142.9
  },
  "luminance": 0.06924
}

Semantic roles & 50–950 ramp

primary
#0C570D
secondary
#922D91
accent
#35F0F2
background
#F5F8F4
surface
#E9F0E7
border
#C5CBC3
text
#050B02
muted
#797C78

Preview Lab

Preview with #0C570D

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

Preview Lab → · Contrast checker → · Palette generator →

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