#0C570E#0C570E

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

Color values

HEX#0C570E
RGBrgb(12, 87, 14)
HSLhsl(122, 76%, 19%)
HSVhsv(122, 86%, 34%)
CMYKcmyk(86.2%, 0%, 83.9%, 65.9%)
CIE-LABlab(31.64, -36.82, 33.55)
CIE-LCHlch(31.64, 49.81, 137.65°)
OKLaboklab(39.86% -0.0998 0.0752)
OKLCHoklch(39.86% 0.125 143)
XYZxyz(3.6388, 6.9258, 1.5604)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C570E #570C55
analogous
#30570C #0C570E #0C5734
triadic
#0C570E #0E0C57 #570E0C
tetradic
#0C570E #0C3057 #570C55 #57340C
square
#0C570E #0C3057 #570C55 #57340C
split-complementary
#0C570E #340C57 #570C30
monochromatic
#041B04 #052105 #0C570E #138D17 #1BC31F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C570E#FFFFFF#000000##FFFFFF
##0C570E1.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)
#594E00
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#005449
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c570e;
/* rgb */ color: rgb(12, 87, 14);
/* oklch */ color: oklch(39.9% 0.125 143.0);
Tailwind
colors: {
  custom: {
    50: '#5c8753',
    500: '#0c570e',
    950: '#000000',
  },
}
SCSS
$custom: #0c570e;
$custom-light: #5c8753;
$custom-dark: #000000;
JSON
{
  "hex": "#0c570e",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 14
  },
  "hsl": {
    "h": 121.6,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39864,
    "c": 0.12495,
    "h": 143
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

primary
#0C570E
secondary
#922D8F
accent
#35EDF2
background
#F5F8F4
surface
#E9F0E7
border
#C5CBC3
text
#050B03
muted
#797C78

Preview Lab

Preview with #0C570E

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

Preview Lab → · Contrast checker → · Palette generator →

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