#0C4C14#0C4C14

#0C4C14 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.5% C 0.107 H 144.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#0C4C14
RGBrgb(12, 76, 20)
HSLhsl(128, 73%, 17%)
HSVhsv(128, 84%, 30%)
CMYKcmyk(84.2%, 0%, 73.7%, 70.2%)
CIE-LABlab(27.57, -32.23, 26.82)
CIE-LCHlch(27.57, 41.92, 140.24°)
OKLaboklab(36.49% -0.087 0.0619)
OKLCHoklch(36.49% 0.107 144.6)
XYZxyz(2.8621, 5.2972, 1.5333)
Luminance0.0530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4C14 #4C0C44
analogous
#244C0C #0C4C14 #0C4C34
triadic
#0C4C14 #140C4C #4C140C
tetradic
#0C4C14 #0C244C #4C0C44 #4C340C
square
#0C4C14 #0C244C #4C0C44 #4C340C
split-complementary
#0C4C14 #340C4C #4C0C24
monochromatic
#041A07 #041A07 #0C4C14 #148122 #1DB630

Accessibility & contrast

On white

10.20
#0C4C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#0C4C14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4C14
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4C14#FFFFFF#000000##FFFFFF
##0C4C141.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440D
Deuteranopia (green-blind)
#463F19
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4c14;
/* rgb */ color: rgb(12, 76, 20);
/* oklch */ color: oklch(36.5% 0.107 144.6);
Tailwind
colors: {
  custom: {
    50: '#587f54',
    500: '#0c4c14',
    950: '#000000',
  },
}
SCSS
$custom: #0c4c14;
$custom-light: #587f54;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4c14",
  "rgb": {
    "r": 12,
    "g": 76,
    "b": 20
  },
  "hsl": {
    "h": 127.5,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36494,
    "c": 0.10683,
    "h": 144.6
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#0C4C14
secondary
#882C7C
accent
#38D9EF
background
#F5F7F5
surface
#E9EEE8
border
#C5C9C4
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4C14

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

Preview Lab → · Contrast checker → · Palette generator →

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