#0C1905#0C1905

#0C1905 is a very dark, muted yellow-green. Relative luminance 0.008; OKLCH L 19.5% C 0.042 H 135.1°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#0C1905
RGBrgb(12, 25, 5)
HSLhsl(99, 67%, 6%)
HSVhsv(99, 80%, 10%)
CMYKcmyk(52%, 0%, 80%, 90.2%)
CIE-LABlab(7.09, -8.97, 8.39)
CIE-LCHlch(7.09, 12.28, 136.90°)
OKLaboklab(19.5% -0.0301 0.03)
OKLCHoklch(19.5% 0.042 135.1)
XYZxyz(0.5266, 0.7844, 0.2672)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1905 #120519
analogous
#161905 #0C1905 #051908
triadic
#0C1905 #050C19 #19050C
tetradic
#0C1905 #051619 #120519 #190805
square
#0C1905 #051619 #120519 #190805
split-complementary
#0C1905 #080519 #190516
monochromatic
#0C1A05 #0C1A05 #0C1A05 #244C0F #3D7F19

Accessibility & contrast

On white

18.15
#0C1905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C1905
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1905#FFFFFF#000000##FFFFFF
##0C19051.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c1905;
/* rgb */ color: rgb(12, 25, 5);
/* oklch */ color: oklch(19.5% 0.042 135.1);
Tailwind
colors: {
  custom: {
    50: '#4c5549',
    500: '#0c1905',
    950: '#000000',
  },
}
SCSS
$custom: #0c1905;
$custom-light: #4c5549;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1905",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 5
  },
  "hsl": {
    "h": 99,
    "s": 66.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.19499,
    "c": 0.04248,
    "h": 135.1
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#0C1905
secondary
#452059
accent
#3EEAAE
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#010300
muted
#777877

Preview Lab

Preview with #0C1905

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

Preview Lab → · Contrast checker → · Palette generator →

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