#0C2F16#0C2F16

#0C2F16 is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.2% C 0.061 H 149.8°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#0C2F16
RGBrgb(12, 47, 22)
HSLhsl(137, 59%, 12%)
HSVhsv(137, 74%, 18%)
CMYKcmyk(74.5%, 0%, 53.2%, 81.6%)
CIE-LABlab(16.35, -19.47, 12.43)
CIE-LCHlch(16.35, 23.10, 147.45°)
OKLaboklab(27.23% -0.0526 0.0306)
OKLCHoklch(27.23% 0.061 149.8)
XYZxyz(1.3129, 2.1690, 1.1084)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F16 #2F0C25
analogous
#142F0C #0C2F16 #0C2F28
triadic
#0C2F16 #160C2F #2F160C
tetradic
#0C2F16 #0C142F #2F0C25 #2F280C
square
#0C2F16 #0C142F #2F0C25 #2F280C
split-complementary
#0C2F16 #280C2F #2F0C14
monochromatic
#06180B #06180B #0C2F16 #18602D #259144

Accessibility & contrast

On white

14.65
#0C2F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F16
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F16#FFFFFF#000000##FFFFFF
##0C2F161.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A14
Deuteranopia (green-blind)
#2B2718
Tritanopia (blue-blind)
#032E29
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2f16;
/* rgb */ color: rgb(12, 47, 22);
/* oklch */ color: oklch(27.2% 0.061 149.8);
Tailwind
colors: {
  custom: {
    50: '#4f6853',
    500: '#0c2f16',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f16;
$custom-light: #4f6853;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f16",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 22
  },
  "hsl": {
    "h": 137.143,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27225,
    "c": 0.06086,
    "h": 149.8
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#0C2F16
secondary
#6B2C59
accent
#45B6E3
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0C2F16

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

Preview Lab → · Contrast checker → · Palette generator →

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