#0C2D18#0C2D18

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

Color values

HEX#0C2D18
RGBrgb(12, 45, 24)
HSLhsl(142, 58%, 11%)
HSVhsv(142, 73%, 18%)
CMYKcmyk(73.3%, 0%, 46.7%, 82.4%)
CIE-LABlab(15.60, -18.02, 10.12)
CIE-LCHlch(15.60, 20.66, 150.68°)
OKLaboklab(26.62% -0.0488 0.0253)
OKLCHoklch(26.62% 0.055 152.6)
XYZxyz(1.2548, 2.0208, 1.1879)
Luminance0.0202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D18 #2D0C21
analogous
#102D0C #0C2D18 #0C2D28
triadic
#0C2D18 #180C2D #2D180C
tetradic
#0C2D18 #0C102D #2D0C21 #2D280C
square
#0C2D18 #0C102D #2D0C21 #2D280C
split-complementary
#0C2D18 #280C2D #2D0C10
monochromatic
#06180D #06180D #0C2D18 #195D32 #268E4C

Accessibility & contrast

On white

14.96
#0C2D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2D18
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D18#FFFFFF#000000##FFFFFF
##0C2D181.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2917
Deuteranopia (green-blind)
#292619
Tritanopia (blue-blind)
#032C28
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2d18;
/* rgb */ color: rgb(12, 45, 24);
/* oklch */ color: oklch(26.6% 0.055 152.6);
Tailwind
colors: {
  custom: {
    50: '#4f6655',
    500: '#0c2d18',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d18;
$custom-light: #4f6655;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d18",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 24
  },
  "hsl": {
    "h": 141.818,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.26618,
    "c": 0.05494,
    "h": 152.6
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#0C2D18
secondary
#692C53
accent
#47A9E1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020603
muted
#787A78

Preview Lab

Preview with #0C2D18

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

Preview Lab → · Contrast checker → · Palette generator →

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