#0C2D16#0C2D16

#0C2D16 is a dark, muted green. Relative luminance 0.020; OKLCH L 26.6% C 0.057 H 150.5°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#0C2D16
RGBrgb(12, 45, 22)
HSLhsl(138, 58%, 11%)
HSVhsv(138, 73%, 18%)
CMYKcmyk(73.3%, 0%, 51.1%, 82.4%)
CIE-LABlab(15.55, -18.47, 11.40)
CIE-LCHlch(15.55, 21.70, 148.31°)
OKLaboklab(26.57% -0.0499 0.0282)
OKLCHoklch(26.57% 0.057 150.5)
XYZxyz(1.2347, 2.0127, 1.0823)
Luminance0.0201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D16 #2D0C23
analogous
#122D0C #0C2D16 #0C2D26
triadic
#0C2D16 #160C2D #2D160C
tetradic
#0C2D16 #0C122D #2D0C23 #2D260C
square
#0C2D16 #0C122D #2D0C23 #2D260C
split-complementary
#0C2D16 #260C2D #2D0C12
monochromatic
#06180C #06180C #0C2D16 #195D2E #268E45

Accessibility & contrast

On white

14.97
#0C2D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0C2D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D16
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D16#FFFFFF#000000##FFFFFF
##0C2D161.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2914
Deuteranopia (green-blind)
#292618
Tritanopia (blue-blind)
#042C27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2d16;
/* rgb */ color: rgb(12, 45, 22);
/* oklch */ color: oklch(26.6% 0.057 150.5);
Tailwind
colors: {
  custom: {
    50: '#4f6653',
    500: '#0c2d16',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d16;
$custom-light: #4f6653;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d16",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 22
  },
  "hsl": {
    "h": 138.182,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2657,
    "c": 0.05735,
    "h": 150.5
  },
  "luminance": 0.02013
}

Semantic roles & 50–950 ramp

primary
#0C2D16
secondary
#692C56
accent
#47B2E1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0C2D16

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

Preview Lab → · Contrast checker → · Palette generator →

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