#0C5711#0C5711

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

Color values

HEX#0C5711
RGBrgb(12, 87, 17)
HSLhsl(124, 76%, 19%)
HSVhsv(124, 86%, 34%)
CMYKcmyk(86.2%, 0%, 80.5%, 65.9%)
CIE-LABlab(31.66, -36.57, 32.42)
CIE-LCHlch(31.66, 48.87, 138.44°)
OKLaboklab(39.89% -0.099 0.0732)
OKLCHoklch(39.89% 0.123 143.5)
XYZxyz(3.6607, 6.9346, 1.6758)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5711 #570C52
analogous
#2D570C #0C5711 #0C5737
triadic
#0C5711 #110C57 #57110C
tetradic
#0C5711 #0C2D57 #570C52 #57370C
square
#0C5711 #0C2D57 #570C52 #57370C
split-complementary
#0C5711 #370C57 #570C2D
monochromatic
#041B05 #052106 #0C5711 #138D1C #1BC326

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C5711#FFFFFF#000000##FFFFFF
##0C57111.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)
#594E04
Deuteranopia (green-blind)
#514819
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c5711;
/* rgb */ color: rgb(12, 87, 17);
/* oklch */ color: oklch(39.9% 0.123 143.5);
Tailwind
colors: {
  custom: {
    50: '#5b8754',
    500: '#0c5711',
    950: '#000000',
  },
}
SCSS
$custom: #0c5711;
$custom-light: #5b8754;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5711",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 124,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39887,
    "c": 0.12315,
    "h": 143.5
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#0C5711
secondary
#922D8B
accent
#35E6F2
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0C5711

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

Preview Lab → · Contrast checker → · Palette generator →

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