#0C570F#0C570F

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

Color values

HEX#0C570F
RGBrgb(12, 87, 15)
HSLhsl(122, 76%, 19%)
HSVhsv(122, 86%, 34%)
CMYKcmyk(86.2%, 0%, 82.8%, 65.9%)
CIE-LABlab(31.64, -36.74, 33.19)
CIE-LCHlch(31.64, 49.51, 137.91°)
OKLaboklab(39.87% -0.0996 0.0745)
OKLCHoklch(39.87% 0.124 143.2)
XYZxyz(3.6458, 6.9286, 1.5971)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C570F #570C54
analogous
#2F570C #0C570F #0C5735
triadic
#0C570F #0F0C57 #570F0C
tetradic
#0C570F #0C2F57 #570C54 #57350C
square
#0C570F #0C2F57 #570C54 #57350C
split-complementary
#0C570F #350C57 #570C2F
monochromatic
#041B05 #052106 #0C570F #138D18 #1BC322

Accessibility & contrast

On white

8.80
#0C570F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C570F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C570F#FFFFFF#000000##FFFFFF
##0C570F1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c570f;
/* rgb */ color: rgb(12, 87, 15);
/* oklch */ color: oklch(39.9% 0.124 143.2);
Tailwind
colors: {
  custom: {
    50: '#5c8753',
    500: '#0c570f',
    950: '#000000',
  },
}
SCSS
$custom: #0c570f;
$custom-light: #5c8753;
$custom-dark: #000000;
JSON
{
  "hex": "#0c570f",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 122.4,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39872,
    "c": 0.12438,
    "h": 143.2
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#0C570F
secondary
#922D8E
accent
#35EBF2
background
#F5F8F4
surface
#E9F0E8
border
#C5CBC4
text
#050B03
muted
#797C78

Preview Lab

Preview with #0C570F

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

Preview Lab → · Contrast checker → · Palette generator →

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