#0C5719#0C5719

#0C5719 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.0% C 0.117 H 145.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#0C5719
RGBrgb(12, 87, 25)
HSLhsl(130, 76%, 19%)
HSVhsv(130, 86%, 34%)
CMYKcmyk(86.2%, 0%, 71.3%, 65.9%)
CIE-LABlab(31.73, -35.72, 28.93)
CIE-LCHlch(31.73, 45.97, 141.00°)
OKLaboklab(39.97% -0.0963 0.067)
OKLCHoklch(39.97% 0.117 145.2)
XYZxyz(3.7350, 6.9643, 2.0669)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5719 #570C4A
analogous
#25570C #0C5719 #0C573F
triadic
#0C5719 #190C57 #57190C
tetradic
#0C5719 #0C2557 #570C4A #573F0C
square
#0C5719 #0C2557 #570C4A #573F0C
split-complementary
#0C5719 #3F0C57 #570C25
monochromatic
#041B08 #05210A #0C5719 #138D28 #1BC338

Accessibility & contrast

On white

8.78
#0C5719 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5719
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5719#FFFFFF#000000##FFFFFF
##0C57191.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E11
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#00554A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c5719;
/* rgb */ color: rgb(12, 87, 25);
/* oklch */ color: oklch(40.0% 0.117 145.2);
Tailwind
colors: {
  custom: {
    50: '#5b8759',
    500: '#0c5719',
    950: '#000000',
  },
}
SCSS
$custom: #0c5719;
$custom-light: #5b8759;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5719",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 25
  },
  "hsl": {
    "h": 130.4,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39966,
    "c": 0.11735,
    "h": 145.2
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#0C5719
secondary
#922D80
accent
#35D2F2
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5719

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

Preview Lab → · Contrast checker → · Palette generator →

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