#0C1903#0C1903

#0C1903 is a very dark, muted yellow-green. Relative luminance 0.008; OKLCH L 19.4% C 0.046 H 133.2°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#0C1903
RGBrgb(12, 25, 3)
HSLhsl(95, 79%, 5%)
HSVhsv(95, 88%, 10%)
CMYKcmyk(52%, 0%, 88%, 90.2%)
CIE-LABlab(7.05, -9.24, 9.15)
CIE-LCHlch(7.05, 13.01, 135.29°)
OKLaboklab(19.45% -0.0317 0.0337)
OKLCHoklch(19.45% 0.046 133.2)
XYZxyz(0.5157, 0.7800, 0.2095)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1903 #100319
analogous
#171903 #0C1903 #031905
triadic
#0C1903 #030C19 #19030C
tetradic
#0C1903 #031719 #100319 #190503
square
#0C1903 #031719 #100319 #190503
split-complementary
#0C1903 #050319 #190317
monochromatic
#0D1B03 #0D1B03 #0D1B03 #26500A #408610

Accessibility & contrast

On white

18.17
#0C1903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C1903
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1903#FFFFFF#000000##FFFFFF
##0C19031.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1602
Deuteranopia (green-blind)
#191504
Tritanopia (blue-blind)
#0C1814
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0c1903;
/* rgb */ color: rgb(12, 25, 3);
/* oklch */ color: oklch(19.4% 0.046 133.2);
Tailwind
colors: {
  custom: {
    50: '#4c5548',
    500: '#0c1903',
    950: '#000000',
  },
}
SCSS
$custom: #0c1903;
$custom-light: #4c5548;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1903",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 3
  },
  "hsl": {
    "h": 95.455,
    "s": 78.571,
    "l": 5.49
  },
  "oklch": {
    "l": 0.1945,
    "c": 0.04625,
    "h": 133.2
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#0C1903
secondary
#421B5D
accent
#33F5A6
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#010300
muted
#777877

Preview Lab

Preview with #0C1903

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

Preview Lab → · Contrast checker → · Palette generator →

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