#0C5710#0C5710

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

Color values

HEX#0C5710
RGBrgb(12, 87, 16)
HSLhsl(123, 76%, 19%)
HSVhsv(123, 86%, 34%)
CMYKcmyk(86.2%, 0%, 81.6%, 65.9%)
CIE-LABlab(31.65, -36.65, 32.81)
CIE-LCHlch(31.65, 49.19, 138.17°)
OKLaboklab(39.88% -0.0993 0.0739)
OKLCHoklch(39.88% 0.124 143.3)
XYZxyz(3.6531, 6.9315, 1.6355)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5710 #570C53
analogous
#2E570C #0C5710 #0C5736
triadic
#0C5710 #100C57 #57100C
tetradic
#0C5710 #0C2E57 #570C53 #57360C
square
#0C5710 #0C2E57 #570C53 #57360C
split-complementary
#0C5710 #360C57 #570C2E
monochromatic
#041B05 #052106 #0C5710 #138D1A #1BC324

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C5710#FFFFFF#000000##FFFFFF
##0C57101.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)
#594E03
Deuteranopia (green-blind)
#514818
Tritanopia (blue-blind)
#005449
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c5710;
/* rgb */ color: rgb(12, 87, 16);
/* oklch */ color: oklch(39.9% 0.124 143.3);
Tailwind
colors: {
  custom: {
    50: '#5b8754',
    500: '#0c5710',
    950: '#000000',
  },
}
SCSS
$custom: #0c5710;
$custom-light: #5b8754;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5710",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 123.2,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39879,
    "c": 0.12377,
    "h": 143.3
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#0C5710
secondary
#922D8D
accent
#35E8F2
background
#F5F8F5
surface
#E9F0E8
border
#C5CBC4
text
#050B03
muted
#797C78

Preview Lab

Preview with #0C5710

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

Preview Lab → · Contrast checker → · Palette generator →

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