#0C4D14#0C4D14

#0C4D14 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.108 H 144.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#0C4D14
RGBrgb(12, 77, 20)
HSLhsl(127, 73%, 17%)
HSVhsv(127, 84%, 30%)
CMYKcmyk(84.4%, 0%, 74%, 69.8%)
CIE-LABlab(27.94, -32.60, 27.22)
CIE-LCHlch(27.94, 42.48, 140.14°)
OKLaboklab(36.81% -0.0881 0.0628)
OKLCHoklch(36.81% 0.108 144.5)
XYZxyz(2.9316, 5.4361, 1.5565)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D14 #4D0C45
analogous
#244D0C #0C4D14 #0C4D35
triadic
#0C4D14 #140C4D #4D140C
tetradic
#0C4D14 #0C244D #4D0C45 #4D350C
square
#0C4D14 #0C244D #4D0C45 #4D350C
split-complementary
#0C4D14 #350C4D #4D0C24
monochromatic
#041A07 #041A07 #0C4D14 #148222 #1DB730

Accessibility & contrast

On white

10.06
#0C4D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0C4D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D14
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D14#FFFFFF#000000##FFFFFF
##0C4D141.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450C
Deuteranopia (green-blind)
#474019
Tritanopia (blue-blind)
#004B41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4d14;
/* rgb */ color: rgb(12, 77, 20);
/* oklch */ color: oklch(36.8% 0.108 144.5);
Tailwind
colors: {
  custom: {
    50: '#588055',
    500: '#0c4d14',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d14;
$custom-light: #588055;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d14",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 20
  },
  "hsl": {
    "h": 127.385,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36808,
    "c": 0.10816,
    "h": 144.5
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#0C4D14
secondary
#892C7D
accent
#38D9F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4D14

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

Preview Lab → · Contrast checker → · Palette generator →

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