#0C5714#0C5714

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

Color values

HEX#0C5714
RGBrgb(12, 87, 20)
HSLhsl(126, 76%, 19%)
HSVhsv(126, 86%, 34%)
CMYKcmyk(86.2%, 0%, 77%, 65.9%)
CIE-LABlab(31.68, -36.28, 31.18)
CIE-LCHlch(31.68, 47.84, 139.32°)
OKLaboklab(39.91% -0.0981 0.0711)
OKLCHoklch(39.91% 0.121 144.1)
XYZxyz(3.6858, 6.9446, 1.8079)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5714 #570C4F
analogous
#2A570C #0C5714 #0C573A
triadic
#0C5714 #140C57 #57140C
tetradic
#0C5714 #0C2A57 #570C4F #573A0C
square
#0C5714 #0C2A57 #570C4F #573A0C
split-complementary
#0C5714 #3A0C57 #570C2A
monochromatic
#041B06 #052108 #0C5714 #138D20 #1BC32D

Accessibility & contrast

On white

8.79
#0C5714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5714
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5714#FFFFFF#000000##FFFFFF
##0C57141.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E09
Deuteranopia (green-blind)
#51481B
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c5714;
/* rgb */ color: rgb(12, 87, 20);
/* oklch */ color: oklch(39.9% 0.121 144.1);
Tailwind
colors: {
  custom: {
    50: '#5b8756',
    500: '#0c5714',
    950: '#000000',
  },
}
SCSS
$custom: #0c5714;
$custom-light: #5b8756;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5714",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 126.4,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39914,
    "c": 0.12114,
    "h": 144.1
  },
  "luminance": 0.06945
}

Semantic roles & 50–950 ramp

primary
#0C5714
secondary
#922D87
accent
#35DEF2
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0C5714

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

Preview Lab → · Contrast checker → · Palette generator →

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