#0C2D12#0C2D12

#0C2D12 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.5% C 0.062 H 147.1°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#0C2D12
RGBrgb(12, 45, 18)
HSLhsl(131, 58%, 11%)
HSVhsv(131, 73%, 18%)
CMYKcmyk(73.3%, 0%, 60%, 82.4%)
CIE-LABlab(15.48, -19.29, 13.89)
CIE-LCHlch(15.48, 23.77, 144.24°)
OKLaboklab(26.48% -0.0522 0.0338)
OKLCHoklch(26.48% 0.062 147.1)
XYZxyz(1.1991, 1.9985, 0.8947)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D12 #2D0C27
analogous
#162D0C #0C2D12 #0C2D22
triadic
#0C2D12 #120C2D #2D120C
tetradic
#0C2D12 #0C162D #2D0C27 #2D220C
square
#0C2D12 #0C162D #2D0C27 #2D220C
split-complementary
#0C2D12 #220C2D #2D0C16
monochromatic
#06180A #06180A #0C2D12 #195D25 #268E39

Accessibility & contrast

On white

15.00
#0C2D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2D12
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D12#FFFFFF#000000##FFFFFF
##0C2D121.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2810
Deuteranopia (green-blind)
#292614
Tritanopia (blue-blind)
#052C27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2d12;
/* rgb */ color: rgb(12, 45, 18);
/* oklch */ color: oklch(26.5% 0.062 147.1);
Tailwind
colors: {
  custom: {
    50: '#4f6650',
    500: '#0c2d12',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d12;
$custom-light: #4f6650;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d12",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 130.909,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.26485,
    "c": 0.06214,
    "h": 147.1
  },
  "luminance": 0.01999
}

Semantic roles & 50–950 ramp

primary
#0C2D12
secondary
#692C5E
accent
#47C5E1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0C2D12

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

Preview Lab → · Contrast checker → · Palette generator →

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