#0C1908#0C1908

#0C1908 is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.6% C 0.037 H 138.5°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#0C1908
RGBrgb(12, 25, 8)
HSLhsl(106, 52%, 6%)
HSVhsv(106, 68%, 10%)
CMYKcmyk(52%, 0%, 68%, 90.2%)
CIE-LABlab(7.14, -8.55, 7.26)
CIE-LCHlch(7.14, 11.21, 139.66°)
OKLaboklab(19.57% -0.028 0.0248)
OKLCHoklch(19.57% 0.037 138.5)
XYZxyz(0.5431, 0.7909, 0.3537)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1908 #150819
analogous
#151908 #0C1908 #08190D
triadic
#0C1908 #080C19 #19080C
tetradic
#0C1908 #081519 #150819 #190D08
square
#0C1908 #081519 #150819 #190D08
split-complementary
#0C1908 #0D0819 #190815
monochromatic
#0B1707 #0B1707 #0C1908 #224717 #397626

Accessibility & contrast

On white

18.13
#0C1908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0C1908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1908
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1908#FFFFFF#000000##FFFFFF
##0C19081.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1707
Deuteranopia (green-blind)
#181509
Tritanopia (blue-blind)
#0B1815
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0c1908;
/* rgb */ color: rgb(12, 25, 8);
/* oklch */ color: oklch(19.6% 0.037 138.5);
Tailwind
colors: {
  custom: {
    50: '#4c554a',
    500: '#0c1908',
    950: '#000000',
  },
}
SCSS
$custom: #0c1908;
$custom-light: #4c554a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1908",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 8
  },
  "hsl": {
    "h": 105.882,
    "s": 51.515,
    "l": 6.471
  },
  "oklch": {
    "l": 0.19572,
    "c": 0.03742,
    "h": 138.5
  },
  "luminance": 0.00791
}

Semantic roles & 50–950 ramp

primary
#0C1908
secondary
#4A2855
accent
#4DDBBA
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010301
muted
#777877

Preview Lab

Preview with #0C1908

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

Preview Lab → · Contrast checker → · Palette generator →

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