#0C5414#0C5414

#0C5414 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.0% C 0.117 H 144.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#0C5414
RGBrgb(12, 84, 20)
HSLhsl(127, 75%, 19%)
HSVhsv(127, 86%, 33%)
CMYKcmyk(85.7%, 0%, 76.2%, 67.1%)
CIE-LABlab(30.57, -35.20, 30.02)
CIE-LCHlch(30.57, 46.26, 139.54°)
OKLaboklab(38.99% -0.0951 0.0687)
OKLCHoklch(38.99% 0.117 144.2)
XYZxyz(3.4480, 6.4689, 1.7286)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5414 #540C4C
analogous
#28540C #0C5414 #0C5438
triadic
#0C5414 #140C54 #54140C
tetradic
#0C5414 #0C2854 #540C4C #54380C
square
#0C5414 #0C2854 #540C4C #54380C
split-complementary
#0C5414 #380C54 #540C28
monochromatic
#041B06 #041E07 #0C5414 #148A21 #1BBF2E

Accessibility & contrast

On white

9.16
#0C5414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0C5414 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5414
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5414#FFFFFF#000000##FFFFFF
##0C54141.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0A
Deuteranopia (green-blind)
#4E461A
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c5414;
/* rgb */ color: rgb(12, 84, 20);
/* oklch */ color: oklch(39.0% 0.117 144.2);
Tailwind
colors: {
  custom: {
    50: '#5a8556',
    500: '#0c5414',
    950: '#000000',
  },
}
SCSS
$custom: #0c5414;
$custom-light: #5a8556;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5414",
  "rgb": {
    "r": 12,
    "g": 84,
    "b": 20
  },
  "hsl": {
    "h": 126.667,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38987,
    "c": 0.11732,
    "h": 144.2
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#0C5414
secondary
#8F2D84
accent
#36DDF2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5414

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

Preview Lab → · Contrast checker → · Palette generator →

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