#0C2E18#0C2E18

#0C2E18 is a dark, muted green. Relative luminance 0.021; OKLCH L 26.9% C 0.057 H 152.2°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#0C2E18
RGBrgb(12, 46, 24)
HSLhsl(141, 59%, 11%)
HSVhsv(141, 74%, 18%)
CMYKcmyk(73.9%, 0%, 47.8%, 82%)
CIE-LABlab(15.99, -18.53, 10.64)
CIE-LCHlch(15.99, 21.37, 150.13°)
OKLaboklab(26.95% -0.0501 0.0265)
OKLCHoklch(26.95% 0.057 152.2)
XYZxyz(1.2934, 2.0980, 1.2008)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E18 #2E0C22
analogous
#112E0C #0C2E18 #0C2E29
triadic
#0C2E18 #180C2E #2E180C
tetradic
#0C2E18 #0C112E #2E0C22 #2E290C
square
#0C2E18 #0C112E #2E0C22 #2E290C
split-complementary
#0C2E18 #290C2E #2E0C11
monochromatic
#06180D #06180D #0C2E18 #195F31 #258F4B

Accessibility & contrast

On white

14.79
#0C2E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0C2E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E18
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E18#FFFFFF#000000##FFFFFF
##0C2E181.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2A16
Deuteranopia (green-blind)
#2A2719
Tritanopia (blue-blind)
#032D28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2e18;
/* rgb */ color: rgb(12, 46, 24);
/* oklch */ color: oklch(26.9% 0.057 152.2);
Tailwind
colors: {
  custom: {
    50: '#4f6755',
    500: '#0c2e18',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e18;
$custom-light: #4f6755;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e18",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 24
  },
  "hsl": {
    "h": 141.176,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.26945,
    "c": 0.05671,
    "h": 152.2
  },
  "luminance": 0.02098
}

Semantic roles & 50–950 ramp

primary
#0C2E18
secondary
#6A2C54
accent
#46ABE2
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020603
muted
#787A78

Preview Lab

Preview with #0C2E18

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

Preview Lab → · Contrast checker → · Palette generator →

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