#0C1907#0C1907

#0C1907 is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.5% C 0.039 H 137.3°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#0C1907
RGBrgb(12, 25, 7)
HSLhsl(103, 56%, 6%)
HSVhsv(103, 72%, 10%)
CMYKcmyk(52%, 0%, 72%, 90.2%)
CIE-LABlab(7.12, -8.69, 7.64)
CIE-LCHlch(7.12, 11.57, 138.68°)
OKLaboklab(19.55% -0.0287 0.0265)
OKLCHoklch(19.55% 0.039 137.3)
XYZxyz(0.5376, 0.7887, 0.3249)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1907 #140719
analogous
#151907 #0C1907 #07190B
triadic
#0C1907 #070C19 #19070C
tetradic
#0C1907 #071519 #140719 #190B07
square
#0C1907 #071519 #140719 #190B07
split-complementary
#0C1907 #0B0719 #190715
monochromatic
#0B1807 #0B1807 #0C1907 #234914 #3A7922

Accessibility & contrast

On white

18.14
#0C1907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C1907
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1907#FFFFFF#000000##FFFFFF
##0C19071.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c1907;
/* rgb */ color: rgb(12, 25, 7);
/* oklch */ color: oklch(19.5% 0.039 137.3);
Tailwind
colors: {
  custom: {
    50: '#4c554a',
    500: '#0c1907',
    950: '#000000',
  },
}
SCSS
$custom: #0c1907;
$custom-light: #4c554a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1907",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 7
  },
  "hsl": {
    "h": 103.333,
    "s": 56.25,
    "l": 6.275
  },
  "oklch": {
    "l": 0.19548,
    "c": 0.03903,
    "h": 137.3
  },
  "luminance": 0.00789
}

Semantic roles & 50–950 ramp

primary
#0C1907
secondary
#492656
accent
#48E0B6
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010301
muted
#777877

Preview Lab

Preview with #0C1907

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

Preview Lab → · Contrast checker → · Palette generator →

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