#0C1901#0C1901

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

Color values

HEX#0C1901
RGBrgb(12, 25, 1)
HSLhsl(93, 92%, 5%)
HSVhsv(93, 96%, 10%)
CMYKcmyk(52%, 0%, 96%, 90.2%)
CIE-LABlab(7.01, -9.52, 9.91)
CIE-LCHlch(7.01, 13.74, 133.87°)
OKLaboklab(19.4% -0.0334 0.0378)
OKLCHoklch(19.4% 0.05 131.4)
XYZxyz(0.5047, 0.7756, 0.1518)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1901 #0E0119
analogous
#181901 #0C1901 #011902
triadic
#0C1901 #010C19 #19010C
tetradic
#0C1901 #011819 #0E0119 #190201
square
#0C1901 #011819 #0E0119 #190201
split-complementary
#0C1901 #020119 #190118
monochromatic
#0E1D01 #0E1D01 #0E1D01 #285403 #448F06

Accessibility & contrast

On white

18.18
#0C1901 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C1901
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1901#FFFFFF#000000##FFFFFF
##0C19011.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1600
Deuteranopia (green-blind)
#191502
Tritanopia (blue-blind)
#0C1714
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0c1901;
/* rgb */ color: rgb(12, 25, 1);
/* oklch */ color: oklch(19.4% 0.050 131.4);
Tailwind
colors: {
  custom: {
    50: '#4c5547',
    500: '#0c1901',
    950: '#000000',
  },
}
SCSS
$custom: #0c1901;
$custom-light: #4c5547;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1901",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 1
  },
  "hsl": {
    "h": 92.5,
    "s": 92.308,
    "l": 5.098
  },
  "oklch": {
    "l": 0.19401,
    "c": 0.05041,
    "h": 131.4
  },
  "luminance": 0.00776
}

Semantic roles & 50–950 ramp

primary
#0C1901
secondary
#3E1561
accent
#29FF9D
background
#F4F4F3
surface
#E7E7E5
border
#C3C3C1
text
#010300
muted
#777877

Preview Lab

Preview with #0C1901

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

Preview Lab → · Contrast checker → · Palette generator →

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