#0C3014#0C3014

#0C3014 is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.5% C 0.065 H 147.9°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#0C3014
RGBrgb(12, 48, 20)
HSLhsl(133, 60%, 12%)
HSVhsv(133, 75%, 19%)
CMYKcmyk(75%, 0%, 58.3%, 81.2%)
CIE-LABlab(16.71, -20.37, 14.18)
CIE-LCHlch(16.71, 24.82, 145.15°)
OKLaboklab(27.51% -0.055 0.0345)
OKLCHoklch(27.51% 0.065 147.9)
XYZxyz(1.3347, 2.2424, 1.0242)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3014 #300C28
analogous
#16300C #0C3014 #0C3026
triadic
#0C3014 #140C30 #30140C
tetradic
#0C3014 #0C1630 #300C28 #30260C
square
#0C3014 #0C1630 #300C28 #30260C
split-complementary
#0C3014 #260C30 #300C16
monochromatic
#06180A #06180A #0C3014 #186128 #24923D

Accessibility & contrast

On white

14.50
#0C3014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0C3014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3014
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3014#FFFFFF#000000##FFFFFF
##0C30141.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B12
Deuteranopia (green-blind)
#2C2816
Tritanopia (blue-blind)
#042F29
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c3014;
/* rgb */ color: rgb(12, 48, 20);
/* oklch */ color: oklch(27.5% 0.065 147.9);
Tailwind
colors: {
  custom: {
    50: '#506952',
    500: '#0c3014',
    950: '#000000',
  },
}
SCSS
$custom: #0c3014;
$custom-light: #506952;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3014",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 20
  },
  "hsl": {
    "h": 133.333,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2751,
    "c": 0.06493,
    "h": 147.9
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

primary
#0C3014
secondary
#6C2C5E
accent
#45C0E3
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0C3014

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

Preview Lab → · Contrast checker → · Palette generator →

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