#0C2C19#0C2C19

#0C2C19 is a dark, muted green. Relative luminance 0.019; OKLCH L 26.3% C 0.052 H 154.4°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#0C2C19
RGBrgb(12, 44, 25)
HSLhsl(144, 57%, 11%)
HSVhsv(144, 73%, 17%)
CMYKcmyk(72.7%, 0%, 43.2%, 82.7%)
CIE-LABlab(15.22, -17.26, 8.94)
CIE-LCHlch(15.22, 19.43, 152.61°)
OKLaboklab(26.32% -0.0468 0.0225)
OKLCHoklch(26.32% 0.052 154.4)
XYZxyz(1.2277, 1.9496, 1.2311)
Luminance0.0195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C19 #2C0C1F
analogous
#0F2C0C #0C2C19 #0C2C29
triadic
#0C2C19 #190C2C #2C190C
tetradic
#0C2C19 #0C0F2C #2C0C1F #2C290C
square
#0C2C19 #0C0F2C #2C0C1F #2C290C
split-complementary
#0C2C19 #290C2C #2C0C0F
monochromatic
#07180E #07180E #0C2C19 #195C34 #268C50

Accessibility & contrast

On white

15.11
#0C2C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0C2C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C19
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C19#FFFFFF#000000##FFFFFF
##0C2C191.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2818
Deuteranopia (green-blind)
#28251A
Tritanopia (blue-blind)
#032B27
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2c19;
/* rgb */ color: rgb(12, 44, 25);
/* oklch */ color: oklch(26.3% 0.052 154.4);
Tailwind
colors: {
  custom: {
    50: '#4f6555',
    500: '#0c2c19',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c19;
$custom-light: #4f6555;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c19",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 25
  },
  "hsl": {
    "h": 144.375,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26318,
    "c": 0.05194,
    "h": 154.4
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#0C2C19
secondary
#672C4F
accent
#47A2E0
background
#F4F6F4
surface
#E7EBE8
border
#C3C6C4
text
#020503
muted
#787A78

Preview Lab

Preview with #0C2C19

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

Preview Lab → · Contrast checker → · Palette generator →

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